Repository: dotansimha/graphql-code-generator
Branch: master
Commit: 2f2eb7cf1dc2
Files: 971
Total size: 5.5 MB
Directory structure:
gitextract_j3vhyrn3/
├── .changeset/
│ ├── README.md
│ └── config.json
├── .eslintrc.cjs
├── .gitattributes
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yml
│ │ ├── config.yml
│ │ └── feature_request.yml
│ ├── PULL_REQUEST_TEMPLATE.md
│ ├── labels.yml
│ └── workflows/
│ ├── main.yml
│ ├── pr.yml
│ ├── release.yml
│ ├── rust.yml
│ ├── website-integrity.yml
│ └── website.yml
├── .gitignore
├── .husky/
│ └── pre-commit
├── .nvmrc
├── .prettierignore
├── .vscode/
│ ├── extensions.json
│ ├── launch.json
│ └── settings.json
├── .yarnrc
├── LICENSE
├── README.md
├── babel.config.js
├── dev-test/
│ ├── alt-codegen.yml
│ ├── apollo-android/
│ │ ├── codegen.yml
│ │ └── schema.json
│ ├── codegen.ts
│ ├── gatsby/
│ │ ├── fragments.ts
│ │ └── schema.graphql
│ ├── githunt/
│ │ ├── comment-added.subscription.graphql
│ │ ├── comment.query.graphql
│ │ ├── comments-page-comment.fragment.graphql
│ │ ├── current-user.query.graphql
│ │ ├── feed-entry.fragment.graphql
│ │ ├── feed.query.graphql
│ │ ├── graphql-declared-modules.d.ts
│ │ ├── new-entry.mutation.graphql
│ │ ├── repo-info.fragment.graphql
│ │ ├── schema.json
│ │ ├── submit-comment.mutation.graphql
│ │ ├── typed-document-nodes.ts
│ │ ├── types.avoidOptionals.ts
│ │ ├── types.d.ts
│ │ ├── types.enumsAsTypes.ts
│ │ ├── types.flatten.preResolveTypes.ts
│ │ ├── types.immutableTypes.ts
│ │ ├── types.onlyEnums.ts
│ │ ├── types.preResolveTypes.onlyOperationTypes.ts
│ │ ├── types.preResolveTypes.ts
│ │ ├── types.ts
│ │ ├── vote-buttons.fragment.graphql
│ │ └── vote.mutation.graphql
│ ├── githunt-invalid/
│ │ └── invalid.graphql
│ ├── gql-tag-operations/
│ │ ├── gql/
│ │ │ ├── fragment-masking.ts
│ │ │ ├── gql.ts
│ │ │ ├── graphql.ts
│ │ │ └── index.ts
│ │ ├── graphql/
│ │ │ ├── fragment-masking.ts
│ │ │ ├── gql.ts
│ │ │ ├── graphql.ts
│ │ │ └── index.ts
│ │ ├── schema.graphql
│ │ └── src/
│ │ └── index.ts
│ ├── gql-tag-operations-masking/
│ │ ├── gql/
│ │ │ ├── fragment-masking.ts
│ │ │ ├── gql.ts
│ │ │ ├── graphql.ts
│ │ │ └── index.ts
│ │ ├── schema.graphql
│ │ └── src/
│ │ └── index.tsx
│ ├── gql-tag-operations-urql/
│ │ ├── gql/
│ │ │ ├── fragment-masking.ts
│ │ │ ├── gql.d.ts
│ │ │ ├── gql.ts
│ │ │ ├── graphql.ts
│ │ │ └── index.ts
│ │ ├── schema.graphql
│ │ └── src/
│ │ └── index.ts
│ ├── modules/
│ │ ├── blog/
│ │ │ ├── generated.ts
│ │ │ └── types/
│ │ │ └── blog.graphql
│ │ ├── common/
│ │ │ ├── generated.ts
│ │ │ └── types/
│ │ │ └── common.graphql
│ │ ├── dotanions/
│ │ │ ├── generated.ts
│ │ │ └── types/
│ │ │ └── donations.graphql
│ │ ├── types.ts
│ │ └── users/
│ │ ├── generated.ts
│ │ └── types/
│ │ └── users.graphql
│ ├── setup.js
│ ├── star-wars/
│ │ ├── CreateReviewForEpisode.graphql
│ │ ├── ExcludeQueryAlpha.graphql
│ │ ├── ExcludeQueryBeta.graphql
│ │ ├── HeroAndFriendsNames.graphql
│ │ ├── HeroAppearsIn.graphql
│ │ ├── HeroDetails.graphql
│ │ ├── HeroDetailsFragment.graphql
│ │ ├── HeroDetailsWithFragment.graphql
│ │ ├── HeroName.graphql
│ │ ├── HeroNameConditional.graphql
│ │ ├── HeroParentTypeDependentField.graphql
│ │ ├── HeroTypeDependentAliasedField.graphql
│ │ ├── HumanFields.graphql
│ │ ├── HumanWithNullWeight.graphql
│ │ ├── TwoHeroes.graphql
│ │ ├── schema.json
│ │ ├── types.OnlyEnums.ts
│ │ ├── types.avoidOptionals.ts
│ │ ├── types.d.ts
│ │ ├── types.excludeQueryAlpha.ts
│ │ ├── types.excludeQueryBeta.ts
│ │ ├── types.globallyAvailable.d.ts
│ │ ├── types.immutableTypes.ts
│ │ ├── types.preResolveTypes.onlyOperationTypes.ts
│ │ ├── types.preResolveTypes.ts
│ │ ├── types.skipSchema.ts
│ │ └── types.ts
│ ├── subpath-import/
│ │ ├── result.d.ts
│ │ └── schema.graphql
│ ├── test-federation/
│ │ ├── generated/
│ │ │ └── types.ts
│ │ └── schema.gql
│ ├── test-message/
│ │ └── schema.graphql
│ ├── test-mongodb/
│ │ └── schema.graphql
│ ├── test-null-value/
│ │ ├── query.ts
│ │ ├── result.d.ts
│ │ └── schema.graphql
│ ├── test-schema/
│ │ ├── env.types.ts
│ │ ├── flow-types.flow.js
│ │ ├── local/
│ │ │ ├── schema-ast.js
│ │ │ ├── schema-formats.js
│ │ │ ├── schema-object.js
│ │ │ ├── schema-text.js
│ │ │ └── schema.graphql
│ │ ├── resolvers-federation.ts
│ │ ├── resolvers-root.ts
│ │ ├── resolvers-stitching.ts
│ │ ├── resolvers-types.ts
│ │ ├── schema-ast.js
│ │ ├── schema-federation.graphql
│ │ ├── schema-formats.js
│ │ ├── schema-json.js
│ │ ├── schema-object.js
│ │ ├── schema-text.js
│ │ ├── schema-with-imports.graphql
│ │ ├── schema-with-root.graphql
│ │ ├── schema.graphql
│ │ ├── schema.json
│ │ ├── types.onlyEnums.ts
│ │ ├── types.preResolveTypes.onlyOperationTypes.ts
│ │ ├── types.preResolveTypes.ts
│ │ ├── typings.avoidOptionals.ts
│ │ ├── typings.enum.ts
│ │ ├── typings.immutableTypes.ts
│ │ ├── typings.ts
│ │ └── typings.wrapped.ts
│ └── tsconfig.json
├── dev-test-outer-dir/
│ └── githunt/
│ ├── current-user.query.graphql
│ └── nothing-should-use-this-query.graphql
├── examples/
│ ├── persisted-documents/
│ │ ├── README.md
│ │ ├── babel.config.js
│ │ ├── codegen.ts
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── gql/
│ │ │ │ ├── fragment-masking.ts
│ │ │ │ ├── gql.ts
│ │ │ │ ├── graphql.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── persisted-documents.json
│ │ │ ├── main.ts
│ │ │ ├── yoga.spec.ts
│ │ │ └── yoga.ts
│ │ ├── tsconfig.json
│ │ └── vitest.config.ts
│ ├── persisted-documents-string-mode/
│ │ ├── README.md
│ │ ├── babel.config.js
│ │ ├── codegen.ts
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── gql/
│ │ │ │ ├── fragment-masking.ts
│ │ │ │ ├── gql.ts
│ │ │ │ ├── graphql.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── persisted-documents.json
│ │ │ ├── main.ts
│ │ │ ├── yoga.spec.ts
│ │ │ └── yoga.ts
│ │ ├── tsconfig.json
│ │ └── vitest.config.ts
│ ├── programmatic-typescript/
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── gql.generated.ts
│ │ │ ├── graphql/
│ │ │ │ └── hello.gql
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ └── tsup.config.ts
│ ├── react/
│ │ ├── apollo-client/
│ │ │ ├── .gitignore
│ │ │ ├── README.md
│ │ │ ├── codegen.ts
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── App.css
│ │ │ │ ├── App.tsx
│ │ │ │ ├── Film.tsx
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── main.css
│ │ │ │ └── main.tsx
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ ├── apollo-client-defer/
│ │ │ ├── .gitignore
│ │ │ ├── README.md
│ │ │ ├── codegen.ts
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── App.tsx
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── main.tsx
│ │ │ │ └── yoga.mjs
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ ├── apollo-client-swc-plugin/
│ │ │ ├── .gitignore
│ │ │ ├── README.md
│ │ │ ├── codegen.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── App.css
│ │ │ │ ├── App.tsx
│ │ │ │ ├── Film.tsx
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── main.css
│ │ │ │ └── main.tsx
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.mts
│ │ ├── http-executor/
│ │ │ ├── .gitignore
│ │ │ ├── README.md
│ │ │ ├── codegen.ts
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── App.css
│ │ │ │ ├── App.tsx
│ │ │ │ ├── Film.tsx
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── main.css
│ │ │ │ └── main.tsx
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ ├── nextjs-swr/
│ │ │ ├── .gitignore
│ │ │ ├── README.md
│ │ │ ├── codegen.ts
│ │ │ ├── components/
│ │ │ │ └── Film.tsx
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── gql/
│ │ │ │ ├── fragment-masking.ts
│ │ │ │ ├── gql.ts
│ │ │ │ ├── graphql.ts
│ │ │ │ └── index.ts
│ │ │ ├── hooks/
│ │ │ │ └── use-query.ts
│ │ │ ├── next.config.js
│ │ │ ├── package.json
│ │ │ ├── pages/
│ │ │ │ ├── _app.tsx
│ │ │ │ ├── api/
│ │ │ │ │ └── hello.ts
│ │ │ │ └── index.tsx
│ │ │ ├── styles/
│ │ │ │ ├── Home.module.css
│ │ │ │ └── globals.css
│ │ │ └── tsconfig.json
│ │ ├── tanstack-react-query/
│ │ │ ├── .gitignore
│ │ │ ├── README.md
│ │ │ ├── codegen.ts
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── App.css
│ │ │ │ ├── App.tsx
│ │ │ │ ├── Film.tsx
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── main.css
│ │ │ │ ├── main.tsx
│ │ │ │ └── use-graphql.ts
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ └── urql/
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── codegen.ts
│ │ ├── cypress/
│ │ │ ├── e2e/
│ │ │ │ └── end2end.cy.ts
│ │ │ └── support/
│ │ │ ├── commands.ts
│ │ │ └── e2e.ts
│ │ ├── cypress.config.ts
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── App.css
│ │ │ ├── App.tsx
│ │ │ ├── Film.tsx
│ │ │ ├── gql/
│ │ │ │ ├── fragment-masking.ts
│ │ │ │ ├── gql.ts
│ │ │ │ ├── graphql.ts
│ │ │ │ └── index.ts
│ │ │ ├── main.css
│ │ │ ├── main.tsx
│ │ │ └── vite-env.d.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── typescript-esm/
│ │ ├── README.md
│ │ ├── codegen.cjs
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── executeOperation.ts
│ │ │ ├── gql/
│ │ │ │ ├── fragment-masking.ts
│ │ │ │ ├── gql.ts
│ │ │ │ ├── graphql.ts
│ │ │ │ └── index.ts
│ │ │ └── main.ts
│ │ └── tsconfig.json
│ ├── typescript-graphql-request/
│ │ ├── README.md
│ │ ├── babel.config.js
│ │ ├── codegen.ts
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── gql/
│ │ │ │ ├── fragment-masking.ts
│ │ │ │ ├── gql.ts
│ │ │ │ ├── graphql.ts
│ │ │ │ └── index.ts
│ │ │ ├── main.spec.ts
│ │ │ └── main.ts
│ │ ├── tsconfig.json
│ │ └── vitest.config.ts
│ ├── typescript-resolvers/
│ │ ├── README.md
│ │ ├── codegen.ts
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── main.ts
│ │ │ └── type-defs.d.ts
│ │ └── tsconfig.json
│ ├── vite/
│ │ ├── vite-react-cts/
│ │ │ ├── .gitignore
│ │ │ ├── codegen.cts
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── Film.tsx
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── main.tsx
│ │ │ │ └── vite-env.d.ts
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ ├── vite-react-mts/
│ │ │ ├── .gitignore
│ │ │ ├── codegen.mts
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── Film.tsx
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── main.tsx
│ │ │ │ └── vite-env.d.ts
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ └── vite-react-ts/
│ │ ├── .gitignore
│ │ ├── codegen.ts
│ │ ├── cypress/
│ │ │ ├── e2e/
│ │ │ │ └── end2end.cy.ts
│ │ │ └── support/
│ │ │ ├── commands.ts
│ │ │ └── e2e.ts
│ │ ├── cypress.config.ts
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── Film.tsx
│ │ │ ├── gql/
│ │ │ │ ├── fragment-masking.ts
│ │ │ │ ├── gql.ts
│ │ │ │ ├── graphql.ts
│ │ │ │ └── index.ts
│ │ │ ├── main.tsx
│ │ │ └── vite-env.d.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── vue/
│ │ ├── apollo-composable/
│ │ │ ├── .gitignore
│ │ │ ├── .vscode/
│ │ │ │ └── extensions.json
│ │ │ ├── README.md
│ │ │ ├── codegen.ts
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── env.d.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── App.vue
│ │ │ │ ├── assets/
│ │ │ │ │ ├── base.css
│ │ │ │ │ └── main.css
│ │ │ │ ├── components/
│ │ │ │ │ └── FilmItem.vue
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ └── main.ts
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ ├── urql/
│ │ │ ├── .gitignore
│ │ │ ├── README.md
│ │ │ ├── codegen.ts
│ │ │ ├── cypress/
│ │ │ │ ├── e2e/
│ │ │ │ │ └── end2end.cy.ts
│ │ │ │ └── support/
│ │ │ │ ├── commands.ts
│ │ │ │ └── e2e.ts
│ │ │ ├── cypress.config.ts
│ │ │ ├── env.d.ts
│ │ │ ├── index.html
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── App.vue
│ │ │ │ ├── assets/
│ │ │ │ │ ├── base.css
│ │ │ │ │ └── main.css
│ │ │ │ ├── components/
│ │ │ │ │ └── FilmItem.vue
│ │ │ │ ├── gql/
│ │ │ │ │ ├── fragment-masking.ts
│ │ │ │ │ ├── gql.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ └── index.ts
│ │ │ │ └── main.ts
│ │ │ ├── tsconfig.json
│ │ │ ├── tsconfig.node.json
│ │ │ └── vite.config.ts
│ │ └── villus/
│ │ ├── .gitignore
│ │ ├── .vscode/
│ │ │ └── extensions.json
│ │ ├── README.md
│ │ ├── codegen.ts
│ │ ├── cypress/
│ │ │ ├── e2e/
│ │ │ │ └── end2end.cy.ts
│ │ │ └── support/
│ │ │ ├── commands.ts
│ │ │ └── e2e.ts
│ │ ├── cypress.config.ts
│ │ ├── env.d.ts
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── App.vue
│ │ │ ├── assets/
│ │ │ │ ├── base.css
│ │ │ │ └── main.css
│ │ │ ├── components/
│ │ │ │ └── FilmItem.vue
│ │ │ ├── gql/
│ │ │ │ ├── fragment-masking.ts
│ │ │ │ ├── gql.ts
│ │ │ │ ├── graphql.ts
│ │ │ │ └── index.ts
│ │ │ └── main.ts
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ └── yoga-tests/
│ ├── README.md
│ ├── babel.config.js
│ ├── codegen.ts
│ ├── package.json
│ ├── src/
│ │ ├── gql/
│ │ │ ├── fragment-masking.ts
│ │ │ ├── gql.ts
│ │ │ ├── graphql.ts
│ │ │ └── index.ts
│ │ ├── main.ts
│ │ ├── yoga.spec.ts
│ │ └── yoga.ts
│ ├── tsconfig.json
│ └── vitest.config.ts
├── package.json
├── packages/
│ ├── graphql-cli-codegen-plugin/
│ │ └── README.md
│ ├── graphql-codegen-cli/
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── bin.ts
│ │ │ ├── cli.ts
│ │ │ ├── codegen.ts
│ │ │ ├── config.ts
│ │ │ ├── declarations.d.ts
│ │ │ ├── documentTransforms.ts
│ │ │ ├── generate-and-save.ts
│ │ │ ├── graphql-config.ts
│ │ │ ├── hooks.ts
│ │ │ ├── index.ts
│ │ │ ├── init/
│ │ │ │ ├── helpers.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── plugins.ts
│ │ │ │ ├── questions.ts
│ │ │ │ ├── targets.ts
│ │ │ │ └── types.ts
│ │ │ ├── load.ts
│ │ │ ├── plugins.ts
│ │ │ ├── presets.ts
│ │ │ └── utils/
│ │ │ ├── abort-controller-polyfill.ts
│ │ │ ├── cli-error.ts
│ │ │ ├── debugging.ts
│ │ │ ├── file-system.ts
│ │ │ ├── get-latest-version.ts
│ │ │ ├── helpers.ts
│ │ │ ├── logger.ts
│ │ │ ├── patterns.ts
│ │ │ └── watcher.ts
│ │ ├── tests/
│ │ │ ├── __mocks__/
│ │ │ │ ├── fs.cjs
│ │ │ │ └── some-fetch.cjs
│ │ │ ├── __snapshots__/
│ │ │ │ └── init.spec.ts.snap
│ │ │ ├── cli-error.spec.ts
│ │ │ ├── cli-flags.spec.ts
│ │ │ ├── codegen.spec.ts
│ │ │ ├── config.spec.ts
│ │ │ ├── custom-document-transforms/
│ │ │ │ ├── document-transform.js
│ │ │ │ └── test-config.js
│ │ │ ├── custom-loaders/
│ │ │ │ ├── custom-documents-loader.cjs
│ │ │ │ ├── custom-schema-loader-with-context.cjs
│ │ │ │ ├── custom-schema-loader.cjs
│ │ │ │ ├── invalid-export.cjs
│ │ │ │ ├── invalid-return-value-documents-loader.cjs
│ │ │ │ └── invalid-return-value-schema-loader.cjs
│ │ │ ├── custom-plugins/
│ │ │ │ ├── basic.js
│ │ │ │ ├── checks-extended-schema.js
│ │ │ │ ├── context.js
│ │ │ │ ├── document-transform-context.js
│ │ │ │ ├── extends-schema-fn.js
│ │ │ │ ├── extends-schema.js
│ │ │ │ ├── invalid.js
│ │ │ │ └── validation.js
│ │ │ ├── dummy-require.js
│ │ │ ├── generate-and-save.spec.ts
│ │ │ ├── init.spec.ts
│ │ │ ├── test-documents/
│ │ │ │ ├── additional-schema.graphql
│ │ │ │ ├── gatsby-and-custom-parsers.ts
│ │ │ │ ├── invalid-directive.graphql
│ │ │ │ ├── invalid-fields.graphql
│ │ │ │ ├── invalid-schema.graphql
│ │ │ │ ├── js-my-fragment.js
│ │ │ │ ├── js-query-with-my-fragment.js
│ │ │ │ ├── my-fragment.ts
│ │ │ │ ├── query-with-commented-fragment.ts
│ │ │ │ ├── query-with-my-fragment.ts
│ │ │ │ ├── schema.graphql
│ │ │ │ ├── test-schema.graphql
│ │ │ │ ├── ts-features-with-query.ts
│ │ │ │ ├── unused-variable.graphql
│ │ │ │ └── valid.graphql
│ │ │ ├── test-files/
│ │ │ │ ├── 1.ts
│ │ │ │ ├── 10.tsx
│ │ │ │ ├── 11.ts
│ │ │ │ ├── 12.tsx
│ │ │ │ ├── 13.tsx
│ │ │ │ ├── 14.js
│ │ │ │ ├── 15.js
│ │ │ │ ├── 16.ts
│ │ │ │ ├── 2.ts
│ │ │ │ ├── 3.graphql
│ │ │ │ ├── 4.ts
│ │ │ │ ├── 5.tsx
│ │ │ │ ├── 6.ts
│ │ │ │ ├── 7.ts
│ │ │ │ ├── 8.ts
│ │ │ │ ├── 9.ts
│ │ │ │ ├── ByteOrderMask.json
│ │ │ │ ├── error-document.graphql
│ │ │ │ ├── graphql.config.js
│ │ │ │ ├── graphql.config.no-doc-ignored.js
│ │ │ │ ├── graphql.config.no-doc.js
│ │ │ │ └── schema-dir/
│ │ │ │ ├── error-schema.graphql
│ │ │ │ ├── gatsby-and-custom-parsers/
│ │ │ │ │ ├── apollo-server.ts
│ │ │ │ │ ├── custom.ts
│ │ │ │ │ ├── gatsby.ts
│ │ │ │ │ └── graphql-tag.ts
│ │ │ │ ├── query.graphql
│ │ │ │ ├── schema-object.cjs
│ │ │ │ ├── schema.ts
│ │ │ │ ├── user.graphql
│ │ │ │ └── with-extend.js
│ │ │ ├── utils.ts
│ │ │ ├── watcher-test-helpers/
│ │ │ │ ├── assert-watcher-build-triggers.ts
│ │ │ │ └── format-watcher-assertion-errors.ts
│ │ │ ├── watcher.patterns.spec.ts
│ │ │ └── watcher.run.spec.ts
│ │ ├── vitest.config.ts
│ │ └── vitest.setup.ts
│ ├── graphql-codegen-core/
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── codegen.ts
│ │ │ ├── execute-plugin.ts
│ │ │ ├── index.ts
│ │ │ ├── transform-document.ts
│ │ │ └── utils.ts
│ │ ├── tests/
│ │ │ └── prepend.spec.ts
│ │ └── vitest.config.ts
│ ├── plugins/
│ │ ├── other/
│ │ │ ├── add/
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── package.json
│ │ │ │ ├── src/
│ │ │ │ │ ├── config.ts
│ │ │ │ │ └── index.ts
│ │ │ │ └── vitest.config.ts
│ │ │ ├── fragment-matcher/
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── package.json
│ │ │ │ ├── src/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── tests/
│ │ │ │ │ └── plugin.spec.ts
│ │ │ │ └── vitest.config.ts
│ │ │ ├── introspection/
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── package.json
│ │ │ │ ├── src/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── tests/
│ │ │ │ │ └── introspection.spec.ts
│ │ │ │ └── vitest.config.ts
│ │ │ ├── schema-ast/
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── package.json
│ │ │ │ ├── src/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── tests/
│ │ │ │ │ └── schema-ast.spec.ts
│ │ │ │ └── vitest.config.ts
│ │ │ ├── time/
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── package.json
│ │ │ │ ├── src/
│ │ │ │ │ ├── config.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── tests/
│ │ │ │ │ └── time.spec.ts
│ │ │ │ └── vitest.config.ts
│ │ │ └── visitor-plugin-common/
│ │ │ ├── CHANGELOG.md
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── avoid-optionals.ts
│ │ │ │ ├── base-documents-visitor.ts
│ │ │ │ ├── base-resolvers-visitor.ts
│ │ │ │ ├── base-types-visitor.ts
│ │ │ │ ├── base-visitor.ts
│ │ │ │ ├── client-side-base-visitor.ts
│ │ │ │ ├── declaration-kinds.ts
│ │ │ │ ├── enum-values.ts
│ │ │ │ ├── imports.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── mappers.ts
│ │ │ │ ├── naming.ts
│ │ │ │ ├── optimize-operations.ts
│ │ │ │ ├── scalars.ts
│ │ │ │ ├── selection-set-processor/
│ │ │ │ │ ├── base.ts
│ │ │ │ │ └── pre-resolve-types.ts
│ │ │ │ ├── selection-set-to-object.ts
│ │ │ │ ├── types.ts
│ │ │ │ ├── utils.ts
│ │ │ │ └── variables-to-object.ts
│ │ │ ├── tests/
│ │ │ │ ├── client-side-base-visitor.spec.ts
│ │ │ │ ├── create-resolvers-fields.spec.ts
│ │ │ │ ├── enum-values.spec.ts
│ │ │ │ ├── parse-mapper.spec.ts
│ │ │ │ ├── plugins-common.spec.ts
│ │ │ │ └── utils.spec.ts
│ │ │ └── vitest.config.ts
│ │ └── typescript/
│ │ ├── document-nodes/
│ │ │ ├── CHANGELOG.md
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── index.ts
│ │ │ │ └── visitor.ts
│ │ │ ├── tests/
│ │ │ │ └── graphql-document-nodes.spec.ts
│ │ │ └── vitest.config.ts
│ │ ├── gql-tag-operations/
│ │ │ ├── CHANGELOG.md
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ └── index.ts
│ │ │ └── vitest.config.ts
│ │ ├── operations/
│ │ │ ├── CHANGELOG.md
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── config.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── ts-operation-variables-to-object.ts
│ │ │ │ ├── ts-selection-set-processor.ts
│ │ │ │ └── visitor.ts
│ │ │ ├── tests/
│ │ │ │ ├── __snapshots__/
│ │ │ │ │ └── ts-documents.spec.ts.snap
│ │ │ │ ├── extract-all-types.spec.ts
│ │ │ │ ├── shared/
│ │ │ │ │ └── schema.ts
│ │ │ │ ├── ts-documents.apolloUnmask.spec.ts
│ │ │ │ ├── ts-documents.nullability.spec.ts
│ │ │ │ └── ts-documents.spec.ts
│ │ │ └── vitest.config.ts
│ │ ├── resolvers/
│ │ │ ├── CHANGELOG.md
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── config.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── visitor.ts
│ │ │ ├── tests/
│ │ │ │ ├── __snapshots__/
│ │ │ │ │ └── ts-resolvers.spec.ts.snap
│ │ │ │ ├── ts-resolvers.config.avoidOptionals.spec.ts
│ │ │ │ ├── ts-resolvers.config.customDirectives.spec.ts
│ │ │ │ ├── ts-resolvers.config.resolversNonOptionalTypename.spec.ts
│ │ │ │ ├── ts-resolvers.federation.interface.spec.ts
│ │ │ │ ├── ts-resolvers.federation.mappers.spec.ts
│ │ │ │ ├── ts-resolvers.federation.spec.ts
│ │ │ │ ├── ts-resolvers.interface.spec.ts
│ │ │ │ ├── ts-resolvers.mapping.spec.ts
│ │ │ │ ├── ts-resolvers.meta.spec.ts
│ │ │ │ ├── ts-resolvers.spec.ts
│ │ │ │ ├── ts-resolvers.union.spec.ts
│ │ │ │ └── utils.ts
│ │ │ └── vitest.config.ts
│ │ ├── typed-document-node/
│ │ │ ├── CHANGELOG.md
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── config.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── visitor.ts
│ │ │ ├── tests/
│ │ │ │ └── typed-document-node.spec.ts
│ │ │ └── vitest.config.ts
│ │ └── typescript/
│ │ ├── CHANGELOG.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── config.ts
│ │ │ ├── index.ts
│ │ │ ├── introspection-visitor.ts
│ │ │ ├── typescript-variables-to-object.ts
│ │ │ └── visitor.ts
│ │ ├── tests/
│ │ │ ├── __snapshots__/
│ │ │ │ └── typescript.spec.ts.snap
│ │ │ └── typescript.spec.ts
│ │ └── vitest.config.ts
│ ├── presets/
│ │ ├── client/
│ │ │ ├── CHANGELOG.md
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── add-typename-selection-document-transform.ts
│ │ │ │ ├── babel.ts
│ │ │ │ ├── fragment-masking-plugin.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── persisted-documents.spec.ts
│ │ │ │ ├── persisted-documents.ts
│ │ │ │ └── process-sources.ts
│ │ │ ├── tests/
│ │ │ │ ├── babel.spec.ts
│ │ │ │ ├── client-preset.nullability.spec.ts
│ │ │ │ ├── client-preset.spec.ts
│ │ │ │ └── fixtures/
│ │ │ │ ├── crlf-operation.ts
│ │ │ │ ├── duplicate-operation.ts
│ │ │ │ ├── enum.ts
│ │ │ │ ├── reused-fragment.ts
│ │ │ │ ├── simple-lowercase-operation-name.ts
│ │ │ │ ├── simple-uppercase-operation-name.ts
│ │ │ │ ├── subscription-root-node.ts
│ │ │ │ ├── union-fragment.ts
│ │ │ │ ├── with-deferred-fragment.ts
│ │ │ │ ├── with-enum-values.ts
│ │ │ │ ├── with-fragment.ts
│ │ │ │ └── with-nested-fragment.ts
│ │ │ └── vitest.config.ts
│ │ ├── graphql-modules/
│ │ │ ├── CHANGELOG.md
│ │ │ ├── package.json
│ │ │ ├── src/
│ │ │ │ ├── builder.ts
│ │ │ │ ├── config.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── utils.ts
│ │ │ ├── tests/
│ │ │ │ ├── __snapshots__/
│ │ │ │ │ ├── builder.spec.ts.snap
│ │ │ │ │ └── integration.spec.ts.snap
│ │ │ │ ├── builder.spec.ts
│ │ │ │ ├── integration.spec.ts
│ │ │ │ └── test-files/
│ │ │ │ └── modules/
│ │ │ │ ├── blog/
│ │ │ │ │ └── types/
│ │ │ │ │ └── blog.graphql
│ │ │ │ ├── common/
│ │ │ │ │ └── types/
│ │ │ │ │ └── common.graphql
│ │ │ │ ├── dotanions/
│ │ │ │ │ └── types/
│ │ │ │ │ └── donations.graphql
│ │ │ │ └── users/
│ │ │ │ └── types/
│ │ │ │ ├── ext_user.graphql
│ │ │ │ └── users.graphql
│ │ │ ├── vitest.config.ts
│ │ │ └── vitest.setup.ts
│ │ └── swc-plugin/
│ │ ├── .gitignore
│ │ ├── Cargo.toml
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── lib.rs
│ │ │ └── tests.rs
│ │ └── tests/
│ │ └── fixtures/
│ │ ├── simple-uppercase-operation-name.js
│ │ ├── simple-uppercase-operation-name.other-dir.js
│ │ └── simple-uppercase-operation-name.ts
│ └── utils/
│ ├── graphql-codegen-testing/
│ │ ├── CHANGELOG.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── mock-graphql-server.ts
│ │ │ ├── resolvers-common.ts
│ │ │ └── typescript.ts
│ │ └── vitest.config.ts
│ └── plugins-helpers/
│ ├── CHANGELOG.md
│ ├── package.json
│ ├── src/
│ │ ├── federation.ts
│ │ ├── getCachedDocumentNodeFromSchema.ts
│ │ ├── helpers.ts
│ │ ├── index.ts
│ │ ├── oldVisit.ts
│ │ ├── profiler.ts
│ │ ├── resolve-external-module-and-fn.ts
│ │ ├── types.ts
│ │ ├── typings.d.ts
│ │ └── utils.ts
│ ├── tests/
│ │ ├── fixtures/
│ │ │ └── externalModuleFn.js
│ │ ├── is-using-types.spec.ts
│ │ └── resolve-external-module-and-fn.spec.ts
│ └── vitest.config.ts
├── patches/
│ └── typescript-json-schema+0.56.0.patch
├── prettier.config.cjs
├── renovate.json
├── scripts/
│ ├── fix-bin.js
│ ├── match-graphql.js
│ └── print-example-ci-command.js
├── tsconfig.json
├── tsconfig.spec.json
├── vitest.config.ts
└── website/
├── .gitignore
├── README.md
├── next-env.d.ts
├── next-sitemap.config.js
├── next.config.js
├── package.json
├── postcss.config.mjs
├── public/
│ └── config.schema.json
├── route-lockfile.txt
├── scripts/
│ ├── generate-config-json-schema.ts
│ ├── generate-packages-info.ts
│ └── sitemap-ci.mjs
├── src/
│ ├── category-to-packages.mjs
│ ├── components/
│ │ ├── dev-ex-cards.tsx
│ │ ├── hero/
│ │ │ └── index.tsx
│ │ ├── index-page.tsx
│ │ ├── java-installation.mdx
│ │ ├── live-demo/
│ │ │ ├── Editor.tsx
│ │ │ ├── LiveDemo.tsx
│ │ │ ├── LiveDemoEditors.tsx
│ │ │ ├── examples.ts
│ │ │ ├── formatter.ts
│ │ │ ├── generate.ts
│ │ │ ├── plugins.ts
│ │ │ └── utils.ts
│ │ ├── page.tsx
│ │ ├── plugin.tsx
│ │ └── plugins-marketplace-search.tsx
│ ├── lib/
│ │ ├── docs-generator.ts
│ │ ├── plugin-get-static-props.ts
│ │ ├── plugins/
│ │ │ ├── index.ts
│ │ │ └── packages.ts
│ │ ├── plugins-docs.ts
│ │ └── transform.ts
│ ├── pages/
│ │ ├── _app.tsx
│ │ ├── _meta.ts
│ │ ├── docs/
│ │ │ ├── _meta.ts
│ │ │ ├── advanced/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── document-transform.mdx
│ │ │ │ ├── generated-files-colocation.mdx
│ │ │ │ ├── how-does-it-work.mdx
│ │ │ │ ├── profiler.mdx
│ │ │ │ └── programmatic-usage.mdx
│ │ │ ├── config-reference/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── codegen-config.mdx
│ │ │ │ ├── config-field.mdx
│ │ │ │ ├── documents-field.mdx
│ │ │ │ ├── lifecycle-hooks.mdx
│ │ │ │ ├── multiproject-config.mdx
│ │ │ │ ├── naming-convention.mdx
│ │ │ │ ├── require-field.mdx
│ │ │ │ └── schema-field.mdx
│ │ │ ├── custom-codegen/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── contributing.mdx
│ │ │ │ ├── extend-schema.mdx
│ │ │ │ ├── index.mdx
│ │ │ │ ├── plugin-structure.mdx
│ │ │ │ ├── using-visitor.mdx
│ │ │ │ └── validate-configuration.mdx
│ │ │ ├── getting-started/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── development-workflow.mdx
│ │ │ │ ├── esm-typescript-usage.mdx
│ │ │ │ ├── index.mdx
│ │ │ │ └── installation.mdx
│ │ │ ├── guides/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── angular.mdx
│ │ │ │ ├── api-testing.mdx
│ │ │ │ ├── flutter-freezed.mdx
│ │ │ │ ├── further-reading.mdx
│ │ │ │ ├── graphql-modules.mdx
│ │ │ │ ├── graphql-server-apollo-yoga-with-server-preset.mdx
│ │ │ │ ├── graphql-server-apollo-yoga.mdx
│ │ │ │ ├── react-query.mdx
│ │ │ │ ├── react-vue.mdx
│ │ │ │ ├── svelte.mdx
│ │ │ │ └── vanilla-typescript.mdx
│ │ │ ├── integrations/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── apollo-local-state.mdx
│ │ │ │ ├── create-react-app.mdx
│ │ │ │ ├── federation.mdx
│ │ │ │ ├── gatsby.mdx
│ │ │ │ ├── prettier.mdx
│ │ │ │ └── vscode.mdx
│ │ │ └── migration/
│ │ │ ├── _meta.ts
│ │ │ ├── apollo-tooling.mdx
│ │ │ ├── from-0-13.mdx
│ │ │ ├── from-0-18.mdx
│ │ │ ├── from-4-0.mdx
│ │ │ ├── graphql-cli.mdx
│ │ │ └── operations-and-client-preset-from-5-0.mdx
│ │ ├── index.mdx
│ │ ├── plugins/
│ │ │ ├── _meta.ts
│ │ │ ├── c-sharp/
│ │ │ │ ├── _meta.ts
│ │ │ │ └── c-sharp-operations.mdx
│ │ │ ├── dart/
│ │ │ │ └── flutter-freezed.mdx
│ │ │ ├── flow/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── flow-operations.mdx
│ │ │ │ └── flow-resolvers.mdx
│ │ │ ├── java/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── java-apollo-android.mdx
│ │ │ │ ├── java-resolvers.mdx
│ │ │ │ ├── java.mdx
│ │ │ │ └── kotlin.mdx
│ │ │ ├── other/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── add.mdx
│ │ │ │ ├── fragment-matcher.mdx
│ │ │ │ ├── hasura-allow-list.mdx
│ │ │ │ ├── introspection.mdx
│ │ │ │ ├── jsdoc.mdx
│ │ │ │ ├── reason-client.mdx
│ │ │ │ ├── schema-ast.mdx
│ │ │ │ ├── time.mdx
│ │ │ │ └── urql-introspection.mdx
│ │ │ ├── presets/
│ │ │ │ ├── _meta.ts
│ │ │ │ ├── graphql-modules-preset.mdx
│ │ │ │ ├── import-types-preset.mdx
│ │ │ │ ├── near-operation-file-preset.mdx
│ │ │ │ └── preset-client.mdx
│ │ │ └── typescript/
│ │ │ ├── _meta.ts
│ │ │ ├── named-operations-object.mdx
│ │ │ ├── relay-operation-optimizer.mdx
│ │ │ ├── typed-document-node.mdx
│ │ │ ├── typescript-apollo-angular.mdx
│ │ │ ├── typescript-apollo-client-helpers.mdx
│ │ │ ├── typescript-apollo-next.mdx
│ │ │ ├── typescript-document-nodes.mdx
│ │ │ ├── typescript-fabbrica.mdx
│ │ │ ├── typescript-generic-sdk.mdx
│ │ │ ├── typescript-graphql-files-modules.mdx
│ │ │ ├── typescript-graphql-request.mdx
│ │ │ ├── typescript-mock-data.mdx
│ │ │ ├── typescript-mongodb.mdx
│ │ │ ├── typescript-msw.mdx
│ │ │ ├── typescript-nhost.mdx
│ │ │ ├── typescript-oclif.mdx
│ │ │ ├── typescript-operations.mdx
│ │ │ ├── typescript-react-apollo.mdx
│ │ │ ├── typescript-react-query.mdx
│ │ │ ├── typescript-resolvers.mdx
│ │ │ ├── typescript-rtk-query.mdx
│ │ │ ├── typescript-stencil-apollo.mdx
│ │ │ ├── typescript-svelte-apollo.mdx
│ │ │ ├── typescript-type-graphql.mdx
│ │ │ ├── typescript-urql.mdx
│ │ │ ├── typescript-validation-schema.mdx
│ │ │ ├── typescript-vue-apollo-smart-ops.mdx
│ │ │ ├── typescript-vue-apollo.mdx
│ │ │ ├── typescript-vue-urql.mdx
│ │ │ └── typescript.mdx
│ │ └── plugins.mdx
│ └── selection-styles.css
├── tailwind.config.ts
├── theme.config.tsx
└── tsconfig.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .changeset/README.md
================================================
# Changesets
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)
================================================
FILE: .changeset/config.json
================================================
{
"$schema": "https://unpkg.com/@changesets/config@2.1.0/schema.json",
"commit": false,
"linked": [],
"access": "restricted",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": [
"website",
"example-*",
"@graphql-codegen/client-preset-swc-plugin",
"example-apollo-client-swc-plugin",
"example-react-nextjs-swr"
],
"changelog": [
"@changesets/changelog-github",
{
"repo": "dotansimha/graphql-code-generator"
}
],
"snapshot": {
"useCalculatedVersion": true,
"prereleaseTemplate": "{tag}-{datetime}-{commit}"
}
}
================================================
FILE: .eslintrc.cjs
================================================
module.exports = {
root: true,
extends: ['@theguild', 'plugin:tailwindcss/recommended'],
rules: {
'no-empty': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/ban-types': 'off',
'import/no-extraneous-dependencies': 'error',
// todo: enable
'unicorn/filename-case': 'off',
'import/extensions': 'off',
'import/no-default-export': 'off',
// todo: enable in v3
'unicorn/prefer-node-protocol': 'off',
'prefer-object-has-own': 'off',
},
env: {
node: true,
},
overrides: [
{
files: ['website/**'],
extends: '@theguild/eslint-config/react',
},
{
files: [
'*.spec.ts',
'**/tests/**/*.{js,ts,tsx,cjs}',
'**/graphql-codegen-testing/**/*.ts',
'**/vitest.config.ts',
'**/vitest.setup.ts',
'**/__mocks__/*',
],
rules: {
'import/no-extraneous-dependencies': 'off',
'@typescript-eslint/no-require-imports': 'off',
},
},
{
files: '**/tests/fixtures/*.{ts,js}',
rules: {
'@typescript-eslint/no-unused-vars': 'off',
},
},
{
files: ['packages/**/*.{,c,m}ts{,x}'],
parserOptions: {
project: ['./tsconfig.json'],
},
},
{
files: ['scripts/*.{ts,js}', 'prettier.config.cjs'],
rules: {
'@typescript-eslint/no-require-imports': 'off',
},
},
],
ignorePatterns: [
'dev-test',
'website',
'examples/**',
'**/tests/test-files/**',
'**/tests/test-documents/**',
'**/react-app-env.d.ts',
'packages/presets/swc-plugin/tests/fixtures/simple-uppercase-operation-name.js',
'packages/presets/swc-plugin/tests/fixtures/simple-uppercase-operation-name.other-dir.js',
'**/build/**/*',
'**/dist/**/*',
],
};
================================================
FILE: .gitattributes
================================================
# This fixture must contain CRLF as line breaks. See https://github.com/dotansimha/graphql-code-generator/issues/7362
packages/presets/gql-tag-operations/tests/fixtures/crlf-operation.ts eol=crlf
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.yml
================================================
name: '🐛 Bug report'
description: Create a report to help us improve
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue :pray:.
## Is it related to a community plugin?
All request linked to a "Community plugin" (as defined below) should [be addressed on the `dotansimha/graphql-code-generator-community` repository](https://github.com/dotansimha/graphql-code-generator-community/issues/new?assignees=&labels=&template=bug_report.yml).
Community plugins:
- `@graphql-codegen/typescript-react-apollo`
- `@graphql-codegen/typescript-graphql-request`
- `@graphql-codegen/typescript-apollo-angular`
- `@graphql-codegen/typescript-apollo-client-helpers`
- `@graphql-codegen/typescript-react-query`
- `@graphql-codegen/typescript-urql`
- `@graphql-codegen/named-operations-object`
- `@graphql-codegen/urql-introspection`
- `@graphql-codegen/flow-resolvers`
- `@graphql-codegen/typescript-vue-apollo`
- `@graphql-codegen/typescript-rtk-query`
- `@graphql-codegen/flow-operations`
- `@graphql-codegen/typescript-msw`
- `@graphql-codegen/typescript-mongodb`
- `@graphql-codegen/typescript-type-graphql`
- `@graphql-codegen/jsdoc`
- `@graphql-codegen/typescript-vue-urql`
- `@graphql-codegen/kotlin`
- `@graphql-codegen/typescript-vue-apollo-smart-ops`
- `@graphql-codegen/java`
- `@graphql-codegen/c-sharp-operations`
- `@graphql-codegen/hasura-allow-list`
- `@graphql-codegen/typescript-stencil-apollo`
- `@graphql-codegen/relay-operation-optimizer`
- `@graphql-codegen/typescript-oclif`
- `@graphql-codegen/java-resolvers`
- `@graphql-codegen/java-apollo-android`
---
- type: dropdown
id: packages
attributes:
label: Which packages are impacted by your issue?
multiple: true
options:
- '@graphql-codegen/cli'
- '@graphql-codegen/core'
- '@graphql-codegen/add'
- '@graphql-codegen/fragment-matcher'
- '@graphql-codegen/introspection'
- '@graphql-codegen/schema-ast'
- '@graphql-codegen/time'
- '@graphql-codegen/visitor-plugin-common'
- '@graphql-codegen/typescript-document-nodes'
- '@graphql-codegen/gql-tag-operations'
- '@graphql-codegen/typescript-operations'
- '@graphql-codegen/typescript-resolvers'
- '@graphql-codegen/typescript-rtk-query'
- '@graphql-codegen/typed-document-node'
- '@graphql-codegen/typescript'
- '@graphql-codegen/client-preset'
- '@graphql-codegen/graphql-modules-preset'
- '@graphql-codegen/testing'
- '@graphql-codegen/plugin-helpers'
validations:
required: false
- type: markdown
attributes:
value: |
The issues on this repo are being tracked and monitored according to our [Contributor Workflow](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md#a-typical-contributor-workflow), Before submitting a new bug/issue, please check the [Contributor Workflow](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md#a-typical-contributor-workflow)
After reading the [Contributor Workflow](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md#a-typical-contributor-workflow), Check out and update the current state of this issue:
- [ ] 1. The issue provides a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) available on [GitHub](https://github.com/dotansimha/graphql-code-generator-issue-sandbox-template), [Stackblitz](https://stackblitz.com/github/dotansimha/graphql-code-generator-issue-sandbox-template) or [CodeSandbox](https://codesandbox.io/s/github/dotansimha/graphql-code-generator-issue-sandbox-template).
- _Make sure to fork this template and run `yarn generate` in the terminal._
- _Please make sure the Codegen and plugins version under `package.json` matches yours._
- [ ] 2. A failing test has been provided
- [ ] 3. A local solution has been provided
- [ ] 4. A pull request is pending review
The more information you fill in, the better the community can help you.
- type: textarea
id: description
attributes:
label: Describe the bug
description: Provide a clear and concise description of the challenge you are running into.
validations:
required: true
- type: input
id: link
attributes:
label: Your Example Website or App
description: |
Which website or app were you using when the bug happened?
Note:
- Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the `@graphql-codegen/*` npm related packages / dependencies.
- To create a shareable code example you can use [GitHub](https://github.com/dotansimha/graphql-code-generator-issue-sandbox-template), [Stackblitz](https://stackblitz.com/github/dotansimha/graphql-code-generator-issue-sandbox-template) or [CodeSandbox](https://codesandbox.io/s/github/dotansimha/graphql-code-generator-issue-sandbox-template). Please no localhost URLs.
- Please read these tips for providing a minimal example: https://stackoverflow.com/help/minimal-reproducible-example.
placeholder: |
e.g. https://codesandbox.io/...... OR Github Repo
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce the Bug or Issue
description: Describe the steps we have to take to reproduce the behavior.
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
description: Provide a clear and concise description of what you expected to happen.
placeholder: |
As a user, I expected ___ behavior but i am seeing ___
validations:
required: true
- type: textarea
id: screenshots_or_videos
attributes:
label: Screenshots or Videos
description: |
If applicable, add screenshots or a video to help explain your problem.
For more information on the supported file image/file types and the file size limits, please refer
to the following link: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files
placeholder: |
You can drag your video or image files inside of this editor ↓
- type: textarea
id: platform
attributes:
label: Platform
value: |
- OS: [e.g. macOS, Windows, Linux]
- NodeJS: [e.g. 18.5.0]
- `graphql` version: [e.g. 16.3.0]
- `@graphql-codegen/*` version(s): [e.g. 2.6.2]
validations:
required: true
- type: textarea
id: config
attributes:
label: Codegen Config File
description: Your local Codegen config file (YAML/JSON...)
placeholder: |
schema: schema.graphql
documents: document.graphql
generates:
types.ts:
plugins:
- typescript
- typescript-operations
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
================================================
FILE: .github/ISSUE_TEMPLATE/config.yml
================================================
blank_issues_enabled: false
contact_links:
- name: Have a question?
url: https://github.com/dotansimha/graphql-code-generator/discussions/new
about: Not sure about something? need help from the community? have a question to our team? please ask and answer questions here.
================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.yml
================================================
name: '✨ Feature request'
description: Suggest an idea for the core of this project
body:
- type: markdown
attributes:
value: |
## Is it related to a community plugin?
All request linked to a "Community plugin" (as defined below) should [be addressed on the `dotansimha/graphql-code-generator-community` repository](https://github.com/dotansimha/graphql-code-generator-community/issues/new?assignees=&labels=&template=feature-request.md).
Community plugins:
- `@graphql-codegen/typescript-react-apollo`
- `@graphql-codegen/typescript-graphql-request`
- `@graphql-codegen/typescript-apollo-angular`
- `@graphql-codegen/typescript-apollo-client-helpers`
- `@graphql-codegen/typescript-react-query`
- `@graphql-codegen/typescript-urql`
- `@graphql-codegen/named-operations-object`
- `@graphql-codegen/urql-introspection`
- `@graphql-codegen/flow-resolvers`
- `@graphql-codegen/typescript-vue-apollo`
- `@graphql-codegen/typescript-rtk-query`
- `@graphql-codegen/flow-operations`
- `@graphql-codegen/typescript-msw`
- `@graphql-codegen/typescript-mongodb`
- `@graphql-codegen/typescript-type-graphql`
- `@graphql-codegen/jsdoc`
- `@graphql-codegen/typescript-vue-urql`
- `@graphql-codegen/kotlin`
- `@graphql-codegen/typescript-vue-apollo-smart-ops`
- `@graphql-codegen/java`
- `@graphql-codegen/c-sharp-operations`
- `@graphql-codegen/hasura-allow-list`
- `@graphql-codegen/typescript-stencil-apollo`
- `@graphql-codegen/relay-operation-optimizer`
- `@graphql-codegen/typescript-oclif`
- `@graphql-codegen/java-resolvers`
- `@graphql-codegen/java-apollo-android`
---
- type: textarea
id: description
attributes:
label: Is your feature request related to a problem? Please describe.
description: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]"
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: 'A clear and concise description of what you want to happen.'
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: "A clear and concise description of any alternative solutions or features you've considered."
validations:
required: false
- type: textarea
id: context
attributes:
label: Any additional important details?
description: 'Add context or screenshots about the feature request here.'
validations:
required: false
================================================
FILE: .github/PULL_REQUEST_TEMPLATE.md
================================================
🚨 **IMPORTANT: Please do not create a Pull Request without creating an issue first.**
_Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request._
## Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Related # (issue)
## Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
## Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take action on it as appropriate
## How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- [ ] Test A
- [ ] Test B
**Test Environment**:
- OS:
- `@graphql-codegen/...`:
- NodeJS:
## Checklist:
- [ ] I have followed the [CONTRIBUTING](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md) doc and the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
## Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
================================================
FILE: .github/labels.yml
================================================
# Please add the repo specific custom labels here
- name: 'core'
color: '0366d6'
description: 'Related to codegen core/cli'
- name: 'dependencies'
color: 'd4c5f9'
- name: 'new-preset'
color: '006b75'
description: 'Suggestion for a new preset'
- name: 'plugins'
color: 'c2e0c6'
- name: 'presets'
color: '0e8a16'
description: 'Related to Codegen presets'
================================================
FILE: .github/workflows/main.yml
================================================
name: Testing
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
NODE_OPTIONS: '--max_old_space_size=4096'
CARGO_TERM_COLOR: always
jobs:
lint:
name: Linting Check
uses: the-guild-org/shared-config/.github/workflows/lint.yml@main
with:
script: yarn ci:lint
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
prettier-check:
name: 🧹 Prettier Check
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup env
uses: the-guild-org/shared-config/setup@main
- name: Prettier Check
run: yarn prettier:check
dev-tests-old:
name: Validating dev-tests
runs-on: ubuntu-latest
strategy:
matrix:
method:
- 'cjs'
- 'esm'
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup env
uses: the-guild-org/shared-config/setup@main
- name: Build
run: yarn build
env:
CI: true
- name: Test dev-tests ${{matrix.method}}
run: |
yarn run generate:examples:${{matrix.method}}
git diff --exit-code -- dev-test/
dev-tests:
name: Examples - Normal
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup env
uses: the-guild-org/shared-config/setup@main
- name: Build
run: yarn build
env:
CI: true
- name: Generate and Diff Codegen Artifacts
run: |
EXAMPLE_TYPE=normal yarn examples:codegen
git diff --exit-code -- examples/
- name: Build Examples
run: |
EXAMPLE_TYPE=normal yarn examples:build
- name: End2End Test Examples
run: |
EXAMPLE_TYPE=normal yarn examples:test:end2end
# TODO: Remove all SWC test setup and references as that has been moved to https://github.com/swc-project/plugins/tree/main/contrib/graphql-codegen-client-preset
# dev-tests-swc:
# name: Examples - SWC
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# - name: Setup env
# uses: the-guild-org/shared-config/setup@main
# - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
# with:
# toolchain: 1.65.0
# target: wasm32-wasi
# override: true
# - name: Build SWC plugin
# working-directory: ./packages/presets/swc-plugin
# run: |
# npm run build-wasm
# - name: Build
# run: yarn build
# env:
# CI: true
# - name: Generate and Diff Codegen Artifacts
# run: |
# EXAMPLE_TYPE=swc yarn examples:codegen
# git diff --exit-code -- examples/
# - name: Build Examples
# run: |
# EXAMPLE_TYPE=swc yarn examples:build
# - name: End2End Test Examples
# run: |
# EXAMPLE_TYPE=swc yarn examples:test:end2end
esm:
name: Testing exports integrity
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup env
uses: the-guild-org/shared-config/setup@main
- name: Build
run: yarn build
env:
CI: true
- name: Test ESM & CJS integrity
run: yarn bob check
test:
name: Unit Test on Node ${{matrix.node_version}} (${{matrix.os}}) and GraphQL v${{matrix.graphql_version}}
runs-on: ubuntu-latest
needs:
- lint
- prettier-check
- esm
strategy:
matrix:
os: [ubuntu-latest] # remove windows to speed up the tests
node_version: [20, 22, 24]
graphql_version: [15, 16]
include:
- node-version: 20
os: windows-latest
graphql_version: 16
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: ${{matrix.node_version}}
- name: Use GraphQL v${{matrix.graphql_version}}
run: node ./scripts/match-graphql.js ${{matrix.graphql_version}}
- name: Install Dependencies
run: yarn
- name: Build
run: yarn build
- name: Test
# FIXME: Do not test `watcher.run.spec.ts` here because it is currently not working for Node22+ in Ubuntu
run: yarn test --exclude="**/tests/watcher.run.spec.ts"
env:
CI: true
test-watcher:
name: Watcher Unit Test on Node ${{matrix.node_version}} (${{matrix.os}}) and GraphQL v${{matrix.graphql_version}}
runs-on: ubuntu-latest
needs:
- lint
- prettier-check
- esm
strategy:
matrix:
os: [ubuntu-latest] # remove windows to speed up the tests
node_version: [20]
graphql_version: [15, 16]
include:
- node-version: 20
os: windows-latest
graphql_version: 16
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: ${{matrix.node_version}}
- name: Use GraphQL v${{matrix.graphql_version}}
run: node ./scripts/match-graphql.js ${{matrix.graphql_version}}
- name: Install Dependencies
run: yarn
- name: Build
run: yarn build
- name: Test
# FIXME: Merge `watcher.run.spec.ts` test to the above when it works for Node22+ in Ubuntu
run: yarn test packages/graphql-codegen-cli/tests/watcher.run.spec.ts
env:
CI: true
# TODO: Remove all SWC test setup and references as that has been moved to https://github.com/swc-project/plugins/tree/main/contrib/graphql-codegen-client-preset
# test-rust-swc-plugin:
# name: Build and Unit Test SWC Plugin
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
# with:
# toolchain: 1.65.0
# target: wasm32-wasi
# override: true
# - uses: marcopolo/cargo@a527bf4d534717ff4424a84446c5d710f8833139
# with:
# working-directory: ./packages/presets/swc-plugin
# command: build
# args: --target wasm32-wasi
# - uses: marcopolo/cargo@a527bf4d534717ff4424a84446c5d710f8833139
# with:
# working-directory: ./packages/presets/swc-plugin
# command: test
================================================
FILE: .github/workflows/pr.yml
================================================
name: pr
on:
pull_request:
branches:
- master
permissions:
contents: write
id-token: write
pull-requests: write
jobs:
dependencies:
uses: the-guild-org/shared-config/.github/workflows/changesets-dependencies.yaml@main
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
alpha:
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
with:
npmTag: alpha
buildScript: build
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
release-candidate:
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
if: ${{ github.event.pull_request.title == 'Upcoming Release Changes' }}
with:
npmTag: rc
restoreDeletedChangesets: true
buildScript: build
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
================================================
FILE: .github/workflows/release.yml
================================================
name: release
on:
push:
branches:
- master
jobs:
stable:
uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main
with:
releaseScript: release
secrets:
# githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
================================================
FILE: .github/workflows/rust.yml
================================================
name: Rust plugin
on:
workflow_dispatch:
jobs:
publish-rust-swc-plugin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
with:
toolchain: 1.65.0
target: wasm32-wasi
override: true
- name: Build SWC plugin
working-directory: ./packages/presets/swc-plugin
run: |
npm run build-wasm
- name: Publish SWC plugin
working-directory: ./packages/presets/swc-plugin
run: |
npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
================================================
FILE: .github/workflows/website-integrity.yml
================================================
name: Website Integrity
on:
pull_request:
paths:
- 'website/**'
jobs:
website-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Fetch
run: git fetch origin master
- name: Setup env
uses: the-guild-org/shared-config/setup@main
- name: Build Packages
run: yarn build
- name: Build Website
run: yarn workspace website run build
- name: Compare
run: git diff origin/${{ github.base_ref }}.. -- website/route-lockfile.txt
- name: Diff to file
if: always()
id: diff_result
run: |
OUTPUT=$(git diff origin/${{ github.base_ref }}.. -- website/route-lockfile.txt)
OUTPUT="${OUTPUT//'%'/'%25'}"
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
echo "::set-output name=result::$OUTPUT"
- name: Publish a message
if: always() && contains(steps.diff_result.outputs.result, 'diff')
uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2
with:
message: |
```diff
${{ steps.diff_result.outputs.result }}
```
================================================
FILE: .github/workflows/website.yml
================================================
name: website
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
deployment:
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push'
steps:
- name: checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0
- uses: the-guild-org/shared-config/setup@main
name: setup env
- uses: the-guild-org/shared-config/website-cf@main
name: build and deploy website
env:
NEXT_BASE_PATH: ${{ github.ref == 'refs/heads/master' && '/graphql/codegen' || '' }}
SITE_URL: ${{ github.ref == 'refs/heads/master' && 'https://the-guild.dev/graphql/codegen' || '' }}
with:
cloudflareApiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
cloudflareAccountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: graphql-code-generator
prId: ${{ github.event.pull_request.number }}
websiteDirectory: ./
buildScript: yarn build && cd website && yarn build
artifactDir: website/out
================================================
FILE: .gitignore
================================================
.idea/
.npmrc
.yarnclean
.DS_Store
coverage
*.log
node_modules/
temp/
junit.xml
dist/
.bob/
out.txt
.cache
tsconfig.tsbuildinfo
.yarn/
recompile.sh
.next/
out/
website/public/sitemap.xml
website/public/_redirects
.eslintcache
**/cypress/screenshots
**/cypress/videos
================================================
FILE: .husky/pre-commit
================================================
yarn lint-staged
================================================
FILE: .nvmrc
================================================
22
================================================
FILE: .prettierignore
================================================
dev-test/githunt-invalid/invalid.graphql
packages/graphql-codegen-cli/tests/test-documents/invalid-schema.graphql
packages/presets/gql-tag-operations/tests/fixtures/crlf-operation.ts
dist/
build/
.next/
.bob
CHANGELOG.md
.husky/_/
.changeset/*.md
# temporarily ignore follow files because prettier-ignore comments don't work in mdx2
# see https://github.com/prettier/prettier/pull/12208
website/src/pages/docs/advanced/generated-files-colocation.mdx
website/src/pages/docs/advanced/how-does-it-work.mdx
website/src/pages/docs/config-reference/schema-field.mdx
website/src/pages/docs/getting-started/index.mdx
website/src/pages/docs/guides/graphql-server-apollo-yoga.mdx
website/src/pages/docs/guides/react.mdx
website/src/pages/plugins/index.mdx
website/src/pages/plugins/presets/near-operation-file-preset.mdx
temp/
website/out
website/.next
# added because it blocks CI and when I try to format it locally nothing happens :)
website/src/components/live-demo/LiveDemo.tsx
# This should be added bc our rust test setup for the SWC plugin does a string diff, and it fails
# bc it compares imports with double quotes against the formatted perttier single quotes
packages/presets/swc-plugin/tests/fixtures
# Ignore intentional error files
packages/graphql-codegen-cli/tests/test-files/schema-dir/error-schema.graphql
packages/graphql-codegen-cli/tests/test-files/error-document.graphql
================================================
FILE: .vscode/extensions.json
================================================
{
"recommendations": ["rust-lang.rust-analyzer", "tamasfe.even-better-toml"]
}
================================================
FILE: .vscode/launch.json
================================================
{
"version": "0.2.0",
"configurations": [
{
"name": "Run open test file",
"type": "node",
"request": "launch",
"runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/.bin/vitest", "--runInBand", "${relativeFile}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
================================================
FILE: .vscode/settings.json
================================================
{
"yaml.schemas": {
"./website/static/config.schema.json": "*codegen.*"
},
"eslint.useFlatConfig": false,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.rulers": [80],
"editor.wordWrapColumn": 110,
"prettier.semi": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"prettier.singleQuote": true,
"prettier.printWidth": 110,
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"node_modules": false,
"test-lib": true,
"lib": true,
"coverage": true,
"npm": true
},
"typescript.tsdk": "node_modules/typescript/lib",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true
}
}
================================================
FILE: .yarnrc
================================================
--ignore-engines true
--network-timeout 1000000000
================================================
FILE: LICENSE
================================================
The MIT License (MIT)
Copyright (c) 2016 Dotan Simha
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
[](https://badge.fury.io/js/%40graphql-codegen%2Fcli)
[https://the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)
GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you can utilize GraphQL Code Generator to generate output from your GraphQL Schema and GraphQL Documents (query/mutation/subscription/fragment).
By analyzing the schema and documents and parsing it, GraphQL Code Generator can output code at a wide variety of formats, based on pre-defined templates or based on custom user-defined ones. Regardless of the language that you're using, GraphQL Code Generator has you covered.
GraphQL Code Generator lets you choose the output that you need, based on _plugins_, which are very flexible and customizable. You can also write your _plugins_ to generate custom outputs that match your needs.
You can try this tool live on your browser and see some useful examples. Check out [GraphQL Code Generator Live Examples](https://the-guild.dev/graphql/codegen/#live-demo).
We currently support and maintain [these plugins](https://the-guild.dev/graphql/codegen/plugins) (TypeScript, Flow, React, Angular, MongoDB, Stencil, Reason, and some more), and there is an active community that writes and maintains custom plugins.
## Quick Start
> You can find the complete instructions in [GraphQL Code Generator website](https://the-guild.dev/graphql/codegen/docs/getting-started/installation).
Start by installing the basic deps of GraphQL Codegen:
```bash
yarn add graphql
yarn add -D @graphql-codegen/cli
```
GraphQL Code Generator lets you setup everything by simply running the following command:
```bash
yarn graphql-codegen init
```
Question by question, it will guide you through the whole process of setting up a schema, selecting plugins, picking a destination of a generated file, and a lot more.
If you wish to [manually setup codegen, follow these instructions](https://the-guild.dev/graphql/codegen/docs/getting-started/installation).
## Links
Besides our [docs page](https://the-guild.dev/graphql/codegen/docs/getting-started), feel free to go through our published Medium articles to get a better grasp of what GraphQL Code Generator is all about:
- [All available plugins & presets](https://the-guild.dev/graphql/codegen/plugins)
## Contributing
If this is your first time contributing to this project, please do read our [Contributor Workflow Guide](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md) before you get started off.
Feel free to open issues and pull requests. We're always welcome support from the community.
For a contribution guide specific to this project, please refer to: http://the-guild.dev/graphql/codegen/docs/custom-codegen/contributing.
## Code of Conduct
Help us keep GraphQL Code Generator open and inclusive. Please read and follow our [Code of Conduct](https://github.com/the-guild-org/Stack/blob/master/CODE_OF_CONDUCT.md) as adopted from [Contributor Covenant](https://contributor-covenant.org)
## License
[](https://raw.githubusercontent.com/apollostack/apollo-ios/master/LICENSE)
MIT
================================================
FILE: babel.config.js
================================================
module.exports = {
presets: [
['@babel/preset-env', { targets: { node: process.versions.node.split('.')[0] } }],
['@babel/preset-typescript', { allowDeclareFields: true }],
],
};
================================================
FILE: dev-test/alt-codegen.yml
================================================
overwrite: true
schema: 'test-schema/schema.graphql'
documents:
- 'src/**/*.graphql'
generates:
test-schema/schema.ts:
- typescript:
declarationKind: interface
- typescript-operations:
declarationKind: interface
defaultScalarType: unknown
================================================
FILE: dev-test/apollo-android/codegen.yml
================================================
schema:
- https://jpmbfqfpxvcujfn4d4e3lu2pga.appsync-api.us-east-1.amazonaws.com/graphql:
headers:
'x-api-key': da2-t2u7vtm33fattisq6vrrde56ui
documents:
- /Users/dotansimha/Dev/test-app/app/src/main/graphql/com/amazonaws/amplify/generated/graphql/*.graphql
generates:
generatedJava/:
preset: java-apollo-android
config:
package: com.app.generated.graphql
scalars:
AWSDate: Long
plugins:
- java-apollo-android
================================================
FILE: dev-test/apollo-android/schema.json
================================================
{
"data": {
"__schema": {
"queryType": {
"name": "Query"
},
"mutationType": {
"name": "Mutation"
},
"subscriptionType": {
"name": "Subscription"
},
"types": [
{
"kind": "OBJECT",
"name": "Query",
"description": null,
"fields": [
{
"name": "getTodo",
"description": null,
"args": [
{
"name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Todo",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "listTodos",
"description": null,
"args": [
{
"name": "filter",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ModelTodoFilterInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "limit",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "nextToken",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "ModelTodoConnection",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Todo",
"description": null,
"fields": [
{
"name": "id",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "ID",
"description": "Built-in ID",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "String",
"description": "Built-in String",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "ModelTodoConnection",
"description": null,
"fields": [
{
"name": "items",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Todo",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "nextToken",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "ModelTodoFilterInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "id",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ModelIDFilterInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "name",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ModelStringFilterInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "description",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ModelStringFilterInput",
"ofType": null
},
"defaultValue": null
},
{
"name": "and",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "ModelTodoFilterInput",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "or",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "ModelTodoFilterInput",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "not",
"description": null,
"type": {
"kind": "INPUT_OBJECT",
"name": "ModelTodoFilterInput",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "ModelIDFilterInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "ne",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "eq",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "le",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "lt",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "ge",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "gt",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "contains",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "notContains",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "between",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "beginsWith",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "ModelStringFilterInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "ne",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "eq",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "le",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "lt",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "ge",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "gt",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "contains",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "notContains",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "between",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "beginsWith",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Int",
"description": "Built-in Int",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Mutation",
"description": null,
"fields": [
{
"name": "createTodo",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "CreateTodoInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Todo",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "updateTodo",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "UpdateTodoInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Todo",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "deleteTodo",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "DeleteTodoInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Todo",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "CreateTodoInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "id",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
},
{
"name": "name",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "description",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "UpdateTodoInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "name",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "description",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "DeleteTodoInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "id",
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Subscription",
"description": null,
"fields": [
{
"name": "onCreateTodo",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Todo",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "onUpdateTodo",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Todo",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "onDeleteTodo",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "Todo",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "ModelFloatFilterInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "ne",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": null
},
{
"name": "eq",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": null
},
{
"name": "le",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": null
},
{
"name": "lt",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": null
},
{
"name": "ge",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": null
},
{
"name": "gt",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": null
},
{
"name": "contains",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": null
},
{
"name": "notContains",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
},
"defaultValue": null
},
{
"name": "between",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Float",
"description": "Built-in Float",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "ModelBooleanFilterInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "ne",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
"name": "eq",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Boolean",
"description": "Built-in Boolean",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "ModelIntFilterInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "ne",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "eq",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "le",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "lt",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "ge",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "gt",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "contains",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "notContains",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "between",
"description": null,
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ModelSortDirection",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "ASC",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "DESC",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Schema",
"description": "A GraphQL Introspection defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, the entry points for query, mutation, and subscription operations.",
"fields": [
{
"name": "types",
"description": "A list of all types supported by this server.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "queryType",
"description": "The type that query operations will be rooted at.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mutationType",
"description": "If this server supports mutation, the type that mutation operations will be rooted at.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "directives",
"description": "'A list of all directives supported by this server.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Directive",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "subscriptionType",
"description": "'If this server support subscription, the type that subscription operations will be rooted at.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Type",
"description": null,
"fields": [
{
"name": "kind",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "__TypeKind",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fields",
"description": null,
"args": [
{
"name": "includeDeprecated",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Field",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "interfaces",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "possibleTypes",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "enumValues",
"description": null,
"args": [
{
"name": "includeDeprecated",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__EnumValue",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "inputFields",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ofType",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "__TypeKind",
"description": "An enum describing what kind of type a given __Type is",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "SCALAR",
"description": "Indicates this type is a scalar.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "OBJECT",
"description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INTERFACE",
"description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "UNION",
"description": "Indicates this type is a union. `possibleTypes` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM",
"description": "Indicates this type is an enum. `enumValues` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_OBJECT",
"description": "Indicates this type is an input object. `inputFields` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "LIST",
"description": "Indicates this type is a list. `ofType` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "NON_NULL",
"description": "Indicates this type is a non-null. `ofType` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Field",
"description": null,
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "args",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "type",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isDeprecated",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "deprecationReason",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__InputValue",
"description": null,
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "type",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "defaultValue",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__EnumValue",
"description": null,
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isDeprecated",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "deprecationReason",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Directive",
"description": null,
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "locations",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "__DirectiveLocation",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "args",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "onOperation",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": true,
"deprecationReason": "Use `locations`."
},
{
"name": "onFragment",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": true,
"deprecationReason": "Use `locations`."
},
{
"name": "onField",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": true,
"deprecationReason": "Use `locations`."
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "__DirectiveLocation",
"description": "An enum describing valid locations where a directive can be placed",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "QUERY",
"description": "Indicates the directive is valid on queries.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "MUTATION",
"description": "Indicates the directive is valid on mutations.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FIELD",
"description": "Indicates the directive is valid on fields.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FRAGMENT_DEFINITION",
"description": "Indicates the directive is valid on fragment definitions.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FRAGMENT_SPREAD",
"description": "Indicates the directive is valid on fragment spreads.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INLINE_FRAGMENT",
"description": "Indicates the directive is valid on inline fragments.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "SCHEMA",
"description": "Indicates the directive is valid on a schema SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "SCALAR",
"description": "Indicates the directive is valid on a scalar SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "OBJECT",
"description": "Indicates the directive is valid on an object SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FIELD_DEFINITION",
"description": "Indicates the directive is valid on a field SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ARGUMENT_DEFINITION",
"description": "Indicates the directive is valid on a field argument SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INTERFACE",
"description": "Indicates the directive is valid on an interface SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "UNION",
"description": "Indicates the directive is valid on an union SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM",
"description": "Indicates the directive is valid on an enum SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM_VALUE",
"description": "Indicates the directive is valid on an enum value SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_OBJECT",
"description": "Indicates the directive is valid on an input object SDL definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_FIELD_DEFINITION",
"description": "Indicates the directive is valid on an input object field SDL definition.",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
}
],
"directives": [
{
"name": "include",
"description": "Directs the executor to include this field or fragment only when the `if` argument is true",
"locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"],
"args": [
{
"name": "if",
"description": "Included when true.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"defaultValue": null
}
],
"onOperation": false,
"onFragment": true,
"onField": true
},
{
"name": "skip",
"description": "Directs the executor to skip this field or fragment when the `if`'argument is true.",
"locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"],
"args": [
{
"name": "if",
"description": "Skipped when true.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"defaultValue": null
}
],
"onOperation": false,
"onFragment": true,
"onField": true
},
{
"name": "defer",
"description": "This directive allows results to be deferred during execution",
"locations": ["FIELD"],
"args": [],
"onOperation": false,
"onFragment": false,
"onField": true
},
{
"name": "aws_auth",
"description": "Directs the schema to enforce authorization on a field",
"locations": ["FIELD_DEFINITION"],
"args": [
{
"name": "cognito_groups",
"description": "List of cognito user pool groups which have access on this field",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"onOperation": false,
"onFragment": false,
"onField": false
},
{
"name": "aws_publish",
"description": "Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws_susbscribe directive instead.",
"locations": ["FIELD_DEFINITION"],
"args": [
{
"name": "subscriptions",
"description": "List of subscriptions which will be published to when this mutation is called.",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"onOperation": false,
"onFragment": false,
"onField": false
},
{
"name": "aws_cognito_user_pools",
"description": "Tells the service this field/object has access authorized by a Cognito User Pools token.",
"locations": ["OBJECT", "FIELD_DEFINITION"],
"args": [
{
"name": "cognito_groups",
"description": "List of cognito user pool groups which have access on this field",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"onOperation": false,
"onFragment": false,
"onField": false
},
{
"name": "aws_subscribe",
"description": "Tells the service which mutation triggers this subscription.",
"locations": ["FIELD_DEFINITION"],
"args": [
{
"name": "mutations",
"description": "List of mutations which will trigger this subscription when they are called.",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"onOperation": false,
"onFragment": false,
"onField": false
},
{
"name": "aws_oidc",
"description": "Tells the service this field/object has access authorized by an OIDC token.",
"locations": ["OBJECT", "FIELD_DEFINITION"],
"args": [],
"onOperation": false,
"onFragment": false,
"onField": false
},
{
"name": "deprecated",
"description": null,
"locations": ["FIELD_DEFINITION", "ENUM_VALUE"],
"args": [
{
"name": "reason",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": "\"No longer supported\""
}
],
"onOperation": false,
"onFragment": false,
"onField": false
},
{
"name": "aws_api_key",
"description": "Tells the service this field/object has access authorized by an API key.",
"locations": ["OBJECT", "FIELD_DEFINITION"],
"args": [],
"onOperation": false,
"onFragment": false,
"onField": false
},
{
"name": "aws_iam",
"description": "Tells the service this field/object has access authorized by sigv4 signing.",
"locations": ["OBJECT", "FIELD_DEFINITION"],
"args": [],
"onOperation": false,
"onFragment": false,
"onField": false
}
]
}
}
}
================================================
FILE: dev-test/codegen.ts
================================================
import type { CodegenConfig } from '@graphql-codegen/cli';
const config: CodegenConfig = {
hooks: { afterAllFileWrite: ['prettier --write'] },
emitLegacyCommonJSImports: false,
generates: {
'./dev-test/test-schema/resolvers-types.ts': {
schema: './dev-test/test-schema/schema-text.js',
plugins: ['typescript', 'typescript-resolvers'],
},
'./dev-test/test-schema/flow-types.flow.js': {
schema: './dev-test/test-schema/schema.json',
plugins: ['flow', 'flow-resolvers'],
},
'./dev-test/test-schema/resolvers-root.ts': {
schema: './dev-test/test-schema/schema-with-root.graphql',
plugins: ['typescript', 'typescript-resolvers'],
},
'./dev-test/test-schema/resolvers-federation.ts': {
schema: './dev-test/test-schema/schema-federation.graphql',
config: { federation: true },
plugins: ['typescript', 'typescript-resolvers'],
},
'./dev-test/test-schema/resolvers-stitching.ts': {
schema: './dev-test/test-schema/schema-text.js',
plugins: ['typescript', { 'typescript-resolvers': { noSchemaStitching: false } }],
},
'./dev-test/test-schema/typings.ts': {
schema: './dev-test/test-schema/schema.json',
plugins: ['typescript', 'typescript-resolvers'],
},
'./dev-test/test-schema/typings.avoidOptionals.ts': {
schema: './dev-test/test-schema/schema.json',
config: { avoidOptionals: true },
plugins: ['typescript'],
},
'./dev-test/test-schema/typings.wrapped.ts': {
schema: './dev-test/test-schema/schema.json',
plugins: [
{ add: { content: 'declare namespace GraphQL {' } },
{ add: { placement: 'append', content: '}' } },
'typescript',
'typescript-operations',
],
},
'./dev-test/test-schema/env.types.ts': { schema: process.env.SCHEMA_PATH, plugins: ['typescript'] },
'./dev-test/test-schema/typings.immutableTypes.ts': {
schema: './dev-test/test-schema/schema.json',
config: { imutableTypes: true },
plugins: ['typescript'],
},
'./dev-test/test-schema/typings.enum.ts': {
schema: './dev-test/test-schema/schema-object.js',
plugins: ['typescript'],
},
'./dev-test/githunt/graphql-declared-modules.d.ts': {
schema: './dev-test/githunt/schema.json',
documents: [
'./dev-test/githunt/**/*.graphql',
'./dev-test-outer-dir/githunt/**/*.graphql',
'!**/nothing-should-use-this-query.graphql',
],
plugins: ['typescript-graphql-files-modules'],
},
'./dev-test/githunt/typed-document-nodes.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
plugins: ['typescript', 'typescript-operations', 'typed-document-node'],
},
'./dev-test/githunt/types.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/githunt/types.preResolveTypes.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
config: { preResolveTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/githunt/types.onlyEnums.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
config: { onlyEnums: true },
plugins: ['typescript'],
},
'./dev-test/githunt/types.preResolveTypes.onlyOperationTypes.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
config: { preResolveTypes: true, onlyOperationTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/githunt/types.flatten.preResolveTypes.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
config: { preResolveTypes: true, flattenGeneratedTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/githunt/types.enumsAsTypes.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
config: { enumsAsTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/githunt/types.d.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
config: { enumsAsTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/githunt/types.avoidOptionals.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
config: { avoidOptionals: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/githunt/types.immutableTypes.ts': {
schema: './dev-test/githunt/schema.json',
documents: './dev-test/githunt/**/*.graphql',
config: { immutableTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.ts': {
schema: './dev-test/star-wars/schema.json',
documents: './dev-test/star-wars/**/*.graphql',
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.excludeQueryAlpha.ts': {
schema: './dev-test/star-wars/schema.json',
documents: ['./dev-test/star-wars/**/*.graphql', '!./dev-test/star-wars/**/ExcludeQueryAlpha.graphql'],
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.excludeQueryBeta.ts': {
schema: './dev-test/star-wars/schema.json',
documents: ['./dev-test/star-wars/**/*.graphql', '!./dev-test/star-wars/**/ExcludeQueryBeta.graphql'],
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.preResolveTypes.ts': {
schema: './dev-test/star-wars/schema.json',
documents: './dev-test/star-wars/**/*.graphql',
config: { preResolveTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.OnlyEnums.ts': {
schema: './dev-test/star-wars/schema.json',
documents: './dev-test/star-wars/**/*.graphql',
config: { onlyEnums: true },
plugins: ['typescript'],
},
'./dev-test/star-wars/types.preResolveTypes.onlyOperationTypes.ts': {
schema: './dev-test/star-wars/schema.json',
documents: './dev-test/star-wars/**/*.graphql',
config: { preResolveTypes: true, onlyOperationTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/test-schema/types.preResolveTypes.ts': {
schema: './dev-test/test-schema/schema.graphql',
documents: ['query test { testArr1 testArr2 testArr3 }'],
config: { preResolveTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/test-schema/types.preResolveTypes.onlyOperationTypes.ts': {
schema: './dev-test/test-schema/schema.graphql',
documents: ['query test { testArr1 testArr2 testArr3 }'],
config: { preResolveTypes: true, onlyOperationTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.d.ts': {
schema: './dev-test/star-wars/schema.json',
config: { enumsAsTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/modules/': {
schema: './dev-test/modules/*/types/*.graphql',
preset: 'graphql-modules',
presetConfig: { baseTypesPath: 'types.ts', filename: 'generated.ts' },
plugins: ['typescript', 'typescript-resolvers'],
},
'./dev-test/star-wars/types.globallyAvailable.d.ts': {
schema: './dev-test/star-wars/schema.json',
documents: './dev-test/star-wars/**/*.graphql',
config: { enumsAsTypes: true, noExport: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.avoidOptionals.ts': {
schema: './dev-test/star-wars/schema.json',
documents: './dev-test/star-wars/**/*.graphql',
config: { avoidOptionals: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.immutableTypes.ts': {
schema: './dev-test/star-wars/schema.json',
documents: './dev-test/star-wars/**/*.graphql',
config: { immutableTypes: true },
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/star-wars/types.skipSchema.ts': {
schema: './dev-test/star-wars/schema.json',
documents: './dev-test/star-wars/**/*.graphql',
plugins: ['typescript', 'typescript-operations'],
},
'./dev-test/gql-tag-operations/gql/': {
schema: './dev-test/gql-tag-operations/schema.graphql',
documents: './dev-test/gql-tag-operations/src/**/*.ts',
preset: 'client',
},
'./dev-test/gql-tag-operations/graphql/': {
schema: './dev-test/gql-tag-operations/schema.graphql',
documents: './dev-test/gql-tag-operations/src/**/*.ts',
preset: 'client',
},
'./dev-test/gql-tag-operations-urql/gql/': {
schema: './dev-test/gql-tag-operations-urql/schema.graphql',
documents: './dev-test/gql-tag-operations-urql/src/**/*.ts',
preset: 'client',
presetConfig: { augmentedModuleName: '@urql/core' },
},
'./dev-test/gql-tag-operations-masking/gql/': {
schema: './dev-test/gql-tag-operations-masking/schema.graphql',
documents: './dev-test/gql-tag-operations-masking/src/**/*.tsx',
preset: 'client',
presetConfig: { fragmentMasking: true },
},
'./dev-test/test-null-value/result.d.ts': {
schema: './dev-test/test-null-value/schema.graphql',
documents: ['./dev-test/test-null-value/query.ts'],
plugins: ['typescript', 'typescript-operations'],
config: {
// The combination of these two flags caused the following issue:
// https://github.com/dotansimha/graphql-code-generator/pull/9709
skipTypename: true,
mergeFragmentTypes: true,
},
},
'./dev-test/subpath-import/result.d.ts': {
schema: './dev-test/subpath-import/schema.graphql',
plugins: ['typescript', 'typescript-resolvers'],
config: {
contextType: '\\#test-null-value/context#TestContext',
fieldContextTypes: ['mutation.createUser#\\#test/root#FiedContextType'],
enumValues: {
RoleStatus: '\\#changeName/server/drizzle/schema#RoleStatus',
},
},
},
'./dev-test/test-federation/generated/types.ts': {
schema: './dev-test/test-federation/schema.gql',
plugins: ['typescript', 'typescript-resolvers'],
config: {
mapperTypeSuffix: 'Mapper',
enumsAsTypes: true,
useIndexSignature: true,
maybeValue: 'T | null | undefined',
scalars: {
CarKey: 'string',
},
},
},
},
};
export default config;
================================================
FILE: dev-test/gatsby/fragments.ts
================================================
import gql from 'graphql-tag';
export const WPColumns = gql`
fragment WPColumns on WpCoreColumnsBlock {
__typename
attributes {
... on WpCoreColumnsBlockAttributes {
align
verticalAlignment
}
}
innerBlocks {
...WpColumnFields
...WpCoreImageBlockFragment
...WpCoreGalleryBlockFragment
innerBlocks {
__typename
...WpCoreImageBlockForGalleryFragment
...WpCoreGalleryBlockFragment
saveContent
dynamicContent
isDynamic
#
... on WpCoreGalleryBlock {
__typename
...WpCoreGalleryBlockFragment
innerBlocks {
__typename
...WpCoreImageBlockForGalleryFragment
}
}
... on WpCoreColumnsBlock {
innerBlocks {
...WpColumnFields
innerBlocks {
...WpCoreImageBlockFragment
...WpCoreGalleryBlockFragment
... on WpCoreColumnsBlock {
innerBlocks {
...WpColumnFields
innerBlocks {
...WpCoreImageBlockForGalleryFragment
...WpCoreGalleryBlockFragment
}
}
}
}
}
}
}
}
}
`;
export const wpColumnFields = gql`
fragment WpColumnFields on WpCoreColumnBlock {
__typename
saveContent
dynamicContent
isDynamic
attributes {
__typename
}
}
`;
export const WpCoreImageBlockFragment = gql`
fragment WpCoreImageBlockFragment on WpCoreImageBlock {
__typename
saveContent
originalContent
attributes {
__typename
... on WpCoreImageBlockAttributes {
id
alt
caption
width
title
height
linkTarget
url
imageFluid {
childImageSharp {
gatsbyImageData(quality: 100, layout: FULL_WIDTH)
}
}
}
}
}
`;
export const WpCoreImageBlockForGalleryFragment = gql`
fragment WpCoreImageBlockForGalleryFragment on WpCoreImageBlock {
__typename
saveContent
attributes {
__typename
... on WpCoreImageBlockAttributes {
id
alt
caption
width
title
height
linkTarget
url
imageFluid {
childImageSharp {
full: gatsbyImageData(quality: 100, layout: FULL_WIDTH)
thumbnail: gatsbyImageData(layout: CONSTRAINED)
}
}
}
}
}
`;
export const WpCoreParagraphBlockFragment = gql`
fragment WpCoreParagraphBlockFragment on WpCoreParagraphBlock {
__typename
saveContent
isDynamic
dynamicContent
}
`;
export const WpCoreGalleryBlockFragment = gql`
fragment WpCoreGalleryBlockFragment on WpCoreGalleryBlock {
dynamicContent
attributes {
... on WpCoreGalleryBlockAttributes {
align
anchor
ids
caption
images {
id
url
link
alt
caption
}
className
}
}
}
`;
================================================
FILE: dev-test/gatsby/schema.graphql
================================================
"""
Define parent-child relations between types. This is used to add `child*` and `children*` convenience fields like `childImageSharp`.
"""
directive @childOf(
"""
A list of mime-types this type is a child of. Usually these are the mime-types handled by a transformer plugin.
"""
mimeTypes: [String!]! = []
"""
A list of types this type is a child of. Usually these are the types handled by a transformer plugin.
"""
types: [String!]! = []
) on OBJECT
"""
Add date formatting options.
"""
directive @dateformat(difference: String, formatString: String, fromNow: Boolean, locale: String) on FIELD_DEFINITION
"""
Do not infer field types from field values.
"""
directive @dontInfer on OBJECT
"""
Link to File node by relative path.
"""
directive @fileByRelativePath(from: String) on FIELD_DEFINITION
"""
Infer field types from field values.
"""
directive @infer on OBJECT
"""
Link to node by foreign-key relation.
"""
directive @link(by: String! = "id", from: String, on: String) on FIELD_DEFINITION
"""
Define the mime-types handled by this type.
"""
directive @mimeTypes(
"""
The mime-types handled by this type.
"""
types: [String!]! = []
) on OBJECT
"""
DEPRECATED: Use interface inheritance instead, i.e. "interface Foo implements Node".
Adds root query fields for an interface. All implementing types must also implement the Node interface.
"""
directive @nodeInterface on INTERFACE
"""
Proxy resolver from another field.
"""
directive @proxy(from: String!, fromNode: Boolean! = false) on FIELD_DEFINITION
input AVIFOptions {
lossless: Boolean
quality: Int
speed: Int
}
input BlurredOptions {
"""
Force the output format for the low-res preview. Default is to use the same format as the input. You should rarely need to change this
"""
toFormat: ImageFormat
"""
Width of the generated low-res preview. Default is 20px
"""
width: Int
}
input BooleanQueryOperatorInput {
eq: Boolean
in: [Boolean]
ne: Boolean
nin: [Boolean]
}
"""
A date string, such as 2007-12-03, compliant with the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
"""
scalar Date
input DateQueryOperatorInput {
eq: Date
gt: Date
gte: Date
in: [Date]
lt: Date
lte: Date
ne: Date
nin: [Date]
}
type Directory implements Node {
absolutePath: String!
accessTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
atime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
atimeMs: Float!
base: String!
birthTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
birthtime: Date @deprecated(reason: "Use `birthTime` instead")
birthtimeMs: Float @deprecated(reason: "Use `birthTime` instead")
changeTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
children: [Node!]!
ctime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
ctimeMs: Float!
dev: Int!
dir: String!
ext: String!
extension: String!
gid: Int!
id: ID!
ino: Float!
internal: Internal!
mode: Int!
modifiedTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
mtime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
mtimeMs: Float!
name: String!
nlink: Int!
parent: Node
prettySize: String!
rdev: Int!
relativeDirectory: String!
relativePath: String!
root: String!
size: Int!
sourceInstanceName: String!
uid: Int!
}
type DirectoryConnection {
distinct(field: DirectoryFieldsEnum!): [String!]!
edges: [DirectoryEdge!]!
group(field: DirectoryFieldsEnum!, limit: Int, skip: Int): [DirectoryGroupConnection!]!
max(field: DirectoryFieldsEnum!): Float
min(field: DirectoryFieldsEnum!): Float
nodes: [Directory!]!
pageInfo: PageInfo!
sum(field: DirectoryFieldsEnum!): Float
totalCount: Int!
}
type DirectoryEdge {
next: Directory
node: Directory!
previous: Directory
}
enum DirectoryFieldsEnum {
absolutePath
accessTime
atime
atimeMs
base
birthTime
birthtime
birthtimeMs
changeTime
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
ctime
ctimeMs
dev
dir
ext
extension
gid
id
ino
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
mode
modifiedTime
mtime
mtimeMs
name
nlink
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
prettySize
rdev
relativeDirectory
relativePath
root
size
sourceInstanceName
uid
}
input DirectoryFilterInput {
absolutePath: StringQueryOperatorInput
accessTime: DateQueryOperatorInput
atime: DateQueryOperatorInput
atimeMs: FloatQueryOperatorInput
base: StringQueryOperatorInput
birthTime: DateQueryOperatorInput
birthtime: DateQueryOperatorInput
birthtimeMs: FloatQueryOperatorInput
changeTime: DateQueryOperatorInput
children: NodeFilterListInput
ctime: DateQueryOperatorInput
ctimeMs: FloatQueryOperatorInput
dev: IntQueryOperatorInput
dir: StringQueryOperatorInput
ext: StringQueryOperatorInput
extension: StringQueryOperatorInput
gid: IntQueryOperatorInput
id: StringQueryOperatorInput
ino: FloatQueryOperatorInput
internal: InternalFilterInput
mode: IntQueryOperatorInput
modifiedTime: DateQueryOperatorInput
mtime: DateQueryOperatorInput
mtimeMs: FloatQueryOperatorInput
name: StringQueryOperatorInput
nlink: IntQueryOperatorInput
parent: NodeFilterInput
prettySize: StringQueryOperatorInput
rdev: IntQueryOperatorInput
relativeDirectory: StringQueryOperatorInput
relativePath: StringQueryOperatorInput
root: StringQueryOperatorInput
size: IntQueryOperatorInput
sourceInstanceName: StringQueryOperatorInput
uid: IntQueryOperatorInput
}
type DirectoryGroupConnection {
distinct(field: DirectoryFieldsEnum!): [String!]!
edges: [DirectoryEdge!]!
field: String!
fieldValue: String
group(field: DirectoryFieldsEnum!, limit: Int, skip: Int): [DirectoryGroupConnection!]!
max(field: DirectoryFieldsEnum!): Float
min(field: DirectoryFieldsEnum!): Float
nodes: [Directory!]!
pageInfo: PageInfo!
sum(field: DirectoryFieldsEnum!): Float
totalCount: Int!
}
input DirectorySortInput {
fields: [DirectoryFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
input DuotoneGradient {
highlight: String!
opacity: Int
shadow: String!
}
type File implements Node {
absolutePath: String!
accessTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
atime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
atimeMs: Float!
base: String!
birthTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
birthtime: Date @deprecated(reason: "Use `birthTime` instead")
birthtimeMs: Float @deprecated(reason: "Use `birthTime` instead")
blksize: Int
blocks: Int
changeTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
"""
Returns the first child node of type ImageSharp or null if there are no children of given type on this node
"""
childImageSharp: ImageSharp
children: [Node!]!
"""
Returns all children nodes filtered by type ImageSharp
"""
childrenImageSharp: [ImageSharp]
ctime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
ctimeMs: Float!
dev: Int!
dir: String!
ext: String!
extension: String!
gid: Int!
hash: String
id: ID!
ino: Float!
internal: Internal!
mode: Int!
modifiedTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
mtime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date!
mtimeMs: Float!
name: String!
nlink: Int!
parent: Node
prettySize: String!
"""
Copy file to static directory and return public url to it
"""
publicURL: String
rdev: Int!
relativeDirectory: String!
relativePath: String!
root: String!
size: Int!
sourceInstanceName: String!
uid: Int!
}
type FileConnection {
distinct(field: FileFieldsEnum!): [String!]!
edges: [FileEdge!]!
group(field: FileFieldsEnum!, limit: Int, skip: Int): [FileGroupConnection!]!
max(field: FileFieldsEnum!): Float
min(field: FileFieldsEnum!): Float
nodes: [File!]!
pageInfo: PageInfo!
sum(field: FileFieldsEnum!): Float
totalCount: Int!
}
type FileEdge {
next: File
node: File!
previous: File
}
enum FileFieldsEnum {
absolutePath
accessTime
atime
atimeMs
base
birthTime
birthtime
birthtimeMs
blksize
blocks
changeTime
childImageSharp___children
childImageSharp___children___children
childImageSharp___children___children___children
childImageSharp___children___children___id
childImageSharp___children___id
childImageSharp___children___internal___content
childImageSharp___children___internal___contentDigest
childImageSharp___children___internal___description
childImageSharp___children___internal___fieldOwners
childImageSharp___children___internal___ignoreType
childImageSharp___children___internal___mediaType
childImageSharp___children___internal___owner
childImageSharp___children___internal___type
childImageSharp___children___parent___children
childImageSharp___children___parent___id
childImageSharp___fixed___aspectRatio
childImageSharp___fixed___base64
childImageSharp___fixed___height
childImageSharp___fixed___originalName
childImageSharp___fixed___src
childImageSharp___fixed___srcSet
childImageSharp___fixed___srcSetWebp
childImageSharp___fixed___srcWebp
childImageSharp___fixed___tracedSVG
childImageSharp___fixed___width
childImageSharp___fluid___aspectRatio
childImageSharp___fluid___base64
childImageSharp___fluid___originalImg
childImageSharp___fluid___originalName
childImageSharp___fluid___presentationHeight
childImageSharp___fluid___presentationWidth
childImageSharp___fluid___sizes
childImageSharp___fluid___src
childImageSharp___fluid___srcSet
childImageSharp___fluid___srcSetWebp
childImageSharp___fluid___srcWebp
childImageSharp___fluid___tracedSVG
childImageSharp___gatsbyImageData
childImageSharp___id
childImageSharp___internal___content
childImageSharp___internal___contentDigest
childImageSharp___internal___description
childImageSharp___internal___fieldOwners
childImageSharp___internal___ignoreType
childImageSharp___internal___mediaType
childImageSharp___internal___owner
childImageSharp___internal___type
childImageSharp___original___height
childImageSharp___original___src
childImageSharp___original___width
childImageSharp___parent___children
childImageSharp___parent___children___children
childImageSharp___parent___children___id
childImageSharp___parent___id
childImageSharp___parent___internal___content
childImageSharp___parent___internal___contentDigest
childImageSharp___parent___internal___description
childImageSharp___parent___internal___fieldOwners
childImageSharp___parent___internal___ignoreType
childImageSharp___parent___internal___mediaType
childImageSharp___parent___internal___owner
childImageSharp___parent___internal___type
childImageSharp___parent___parent___children
childImageSharp___parent___parent___id
childImageSharp___resize___aspectRatio
childImageSharp___resize___height
childImageSharp___resize___originalName
childImageSharp___resize___src
childImageSharp___resize___tracedSVG
childImageSharp___resize___width
children
childrenImageSharp
childrenImageSharp___children
childrenImageSharp___children___children
childrenImageSharp___children___children___children
childrenImageSharp___children___children___id
childrenImageSharp___children___id
childrenImageSharp___children___internal___content
childrenImageSharp___children___internal___contentDigest
childrenImageSharp___children___internal___description
childrenImageSharp___children___internal___fieldOwners
childrenImageSharp___children___internal___ignoreType
childrenImageSharp___children___internal___mediaType
childrenImageSharp___children___internal___owner
childrenImageSharp___children___internal___type
childrenImageSharp___children___parent___children
childrenImageSharp___children___parent___id
childrenImageSharp___fixed___aspectRatio
childrenImageSharp___fixed___base64
childrenImageSharp___fixed___height
childrenImageSharp___fixed___originalName
childrenImageSharp___fixed___src
childrenImageSharp___fixed___srcSet
childrenImageSharp___fixed___srcSetWebp
childrenImageSharp___fixed___srcWebp
childrenImageSharp___fixed___tracedSVG
childrenImageSharp___fixed___width
childrenImageSharp___fluid___aspectRatio
childrenImageSharp___fluid___base64
childrenImageSharp___fluid___originalImg
childrenImageSharp___fluid___originalName
childrenImageSharp___fluid___presentationHeight
childrenImageSharp___fluid___presentationWidth
childrenImageSharp___fluid___sizes
childrenImageSharp___fluid___src
childrenImageSharp___fluid___srcSet
childrenImageSharp___fluid___srcSetWebp
childrenImageSharp___fluid___srcWebp
childrenImageSharp___fluid___tracedSVG
childrenImageSharp___gatsbyImageData
childrenImageSharp___id
childrenImageSharp___internal___content
childrenImageSharp___internal___contentDigest
childrenImageSharp___internal___description
childrenImageSharp___internal___fieldOwners
childrenImageSharp___internal___ignoreType
childrenImageSharp___internal___mediaType
childrenImageSharp___internal___owner
childrenImageSharp___internal___type
childrenImageSharp___original___height
childrenImageSharp___original___src
childrenImageSharp___original___width
childrenImageSharp___parent___children
childrenImageSharp___parent___children___children
childrenImageSharp___parent___children___id
childrenImageSharp___parent___id
childrenImageSharp___parent___internal___content
childrenImageSharp___parent___internal___contentDigest
childrenImageSharp___parent___internal___description
childrenImageSharp___parent___internal___fieldOwners
childrenImageSharp___parent___internal___ignoreType
childrenImageSharp___parent___internal___mediaType
childrenImageSharp___parent___internal___owner
childrenImageSharp___parent___internal___type
childrenImageSharp___parent___parent___children
childrenImageSharp___parent___parent___id
childrenImageSharp___resize___aspectRatio
childrenImageSharp___resize___height
childrenImageSharp___resize___originalName
childrenImageSharp___resize___src
childrenImageSharp___resize___tracedSVG
childrenImageSharp___resize___width
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
ctime
ctimeMs
dev
dir
ext
extension
gid
hash
id
ino
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
mode
modifiedTime
mtime
mtimeMs
name
nlink
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
prettySize
publicURL
rdev
relativeDirectory
relativePath
root
size
sourceInstanceName
uid
}
input FileFilterInput {
absolutePath: StringQueryOperatorInput
accessTime: DateQueryOperatorInput
atime: DateQueryOperatorInput
atimeMs: FloatQueryOperatorInput
base: StringQueryOperatorInput
birthTime: DateQueryOperatorInput
birthtime: DateQueryOperatorInput
birthtimeMs: FloatQueryOperatorInput
blksize: IntQueryOperatorInput
blocks: IntQueryOperatorInput
changeTime: DateQueryOperatorInput
childImageSharp: ImageSharpFilterInput
children: NodeFilterListInput
childrenImageSharp: ImageSharpFilterListInput
ctime: DateQueryOperatorInput
ctimeMs: FloatQueryOperatorInput
dev: IntQueryOperatorInput
dir: StringQueryOperatorInput
ext: StringQueryOperatorInput
extension: StringQueryOperatorInput
gid: IntQueryOperatorInput
hash: StringQueryOperatorInput
id: StringQueryOperatorInput
ino: FloatQueryOperatorInput
internal: InternalFilterInput
mode: IntQueryOperatorInput
modifiedTime: DateQueryOperatorInput
mtime: DateQueryOperatorInput
mtimeMs: FloatQueryOperatorInput
name: StringQueryOperatorInput
nlink: IntQueryOperatorInput
parent: NodeFilterInput
prettySize: StringQueryOperatorInput
publicURL: StringQueryOperatorInput
rdev: IntQueryOperatorInput
relativeDirectory: StringQueryOperatorInput
relativePath: StringQueryOperatorInput
root: StringQueryOperatorInput
size: IntQueryOperatorInput
sourceInstanceName: StringQueryOperatorInput
uid: IntQueryOperatorInput
}
type FileGroupConnection {
distinct(field: FileFieldsEnum!): [String!]!
edges: [FileEdge!]!
field: String!
fieldValue: String
group(field: FileFieldsEnum!, limit: Int, skip: Int): [FileGroupConnection!]!
max(field: FileFieldsEnum!): Float
min(field: FileFieldsEnum!): Float
nodes: [File!]!
pageInfo: PageInfo!
sum(field: FileFieldsEnum!): Float
totalCount: Int!
}
input FileSortInput {
fields: [FileFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
input FloatQueryOperatorInput {
eq: Float
gt: Float
gte: Float
in: [Float]
lt: Float
lte: Float
ne: Float
nin: [Float]
}
enum GatsbyImageFormat {
AUTO
AVIF
JPG
NO_CHANGE
PNG
WEBP
}
enum GatsbyImageLayout {
CONSTRAINED
FIXED
FULL_WIDTH
}
enum GatsbyImagePlaceholder {
BLURRED
DOMINANT_COLOR
NONE
TRACED_SVG
}
input IDQueryOperatorInput {
eq: ID
in: [ID]
ne: ID
nin: [ID]
}
enum ImageCropFocus {
ATTENTION
CENTER
EAST
ENTROPY
NORTH
NORTHEAST
NORTHWEST
SOUTH
SOUTHEAST
SOUTHWEST
WEST
}
enum ImageFit {
CONTAIN
COVER
FILL
INSIDE
OUTSIDE
}
enum ImageFormat {
AUTO
AVIF
JPG
NO_CHANGE
PNG
WEBP
}
enum ImageLayout {
CONSTRAINED
FIXED
FULL_WIDTH
}
enum ImagePlaceholder {
BLURRED
DOMINANT_COLOR
NONE
TRACED_SVG
}
type ImageSharp implements Node {
children: [Node!]!
fixed(
background: String = "rgba(0,0,0,1)"
base64Width: Int
cropFocus: ImageCropFocus = ATTENTION
duotone: DuotoneGradient
fit: ImageFit = COVER
grayscale: Boolean = false
height: Int
jpegProgressive: Boolean = true
jpegQuality: Int
pngCompressionSpeed: Int = 4
pngQuality: Int
quality: Int
rotate: Int = 0
toFormat: ImageFormat = AUTO
toFormatBase64: ImageFormat = AUTO
traceSVG: Potrace
trim: Float = 0
webpQuality: Int
width: Int
): ImageSharpFixed
fluid(
background: String = "rgba(0,0,0,1)"
base64Width: Int
cropFocus: ImageCropFocus = ATTENTION
duotone: DuotoneGradient
fit: ImageFit = COVER
grayscale: Boolean = false
jpegProgressive: Boolean = true
jpegQuality: Int
maxHeight: Int
maxWidth: Int
pngCompressionSpeed: Int = 4
pngQuality: Int
quality: Int
rotate: Int = 0
sizes: String = ""
"""
A list of image widths to be generated. Example: [ 200, 340, 520, 890 ]
"""
srcSetBreakpoints: [Int] = []
toFormat: ImageFormat = AUTO
toFormatBase64: ImageFormat = AUTO
traceSVG: Potrace
trim: Float = 0
webpQuality: Int
): ImageSharpFluid
gatsbyImageData(
"""
If set along with width or height, this will set the value of the other dimension to match the provided aspect ratio, cropping the image if needed.
If neither width or height is provided, height will be set based on the intrinsic width of the source image.
"""
aspectRatio: Float
"""
Options to pass to sharp when generating AVIF images.
"""
avifOptions: AVIFOptions
"""
Background color applied to the wrapper. Also passed to sharp to use as a background when "letterboxing" an image to another aspect ratio.
"""
backgroundColor: String
"""
Options for the low-resolution placeholder image. Set placeholder to "BLURRED" to use this
"""
blurredOptions: BlurredOptions
"""
Specifies the image widths to generate. For FIXED and CONSTRAINED images it is better to allow these to be determined automatically,
based on the image size. For FULL_WIDTH images this can be used to override the default, which is [750, 1080, 1366, 1920].
It will never generate any images larger than the source.
"""
breakpoints: [Int]
"""
The image formats to generate. Valid values are "AUTO" (meaning the same format as the source image), "JPG", "PNG", "WEBP" and "AVIF".
The default value is [AUTO, WEBP], and you should rarely need to change this. Take care if you specify JPG or PNG when you do
not know the formats of the source images, as this could lead to unwanted results such as converting JPEGs to PNGs. Specifying
both PNG and JPG is not supported and will be ignored.
"""
formats: [ImageFormat]
"""
The display height of the generated image for layout = FIXED, and the maximum display height of the largest image for layout = CONSTRAINED.
The image will be cropped if the aspect ratio does not match the source image. If omitted, it is calculated from the supplied width,
matching the aspect ratio of the source image.
"""
height: Int
"""
Options to pass to sharp when generating JPG images.
"""
jpgOptions: JPGOptions
"""
The layout for the image.
FIXED: A static image sized, that does not resize according to the screen width
FULL_WIDTH: The image resizes to fit its container. Pass a "sizes" option if it isn't going to be the full width of the screen.
CONSTRAINED: Resizes to fit its container, up to a maximum width, at which point it will remain fixed in size.
"""
layout: ImageLayout = CONSTRAINED
"""
A list of image pixel densities to generate. It will never generate images larger than the source, and will always include a 1x image.
Default is [ 1, 2 ] for FIXED images, meaning 1x and 2x and [0.25, 0.5, 1, 2] for CONSTRAINED. In this case, an image with a constrained layout
and width = 400 would generate images at 100, 200, 400 and 800px wide. Ignored for FULL_WIDTH images, which use breakpoints instead
"""
outputPixelDensities: [Float]
"""
Format of generated placeholder image, displayed while the main image loads.
BLURRED: a blurred, low resolution image, encoded as a base64 data URI (default)
DOMINANT_COLOR: a solid color, calculated from the dominant color of the image.
TRACED_SVG: a low-resolution traced SVG of the image.
NONE: no placeholder. Set "background" to use a fixed background color.
"""
placeholder: ImagePlaceholder
"""
Options to pass to sharp when generating PNG images.
"""
pngOptions: PNGOptions
"""
The default quality. This is overridden by any format-specific options
"""
quality: Int
"""
The "sizes" property, passed to the img tag. This describes the display size of the image.
This does not affect the generated images, but is used by the browser to decide which images to download.
You should usually leave this blank, and a suitable value will be calculated. The exception is if a FULL_WIDTH image
does not actually span the full width of the screen, in which case you should pass the correct size here.
"""
sizes: String
"""
Options for traced placeholder SVGs. You also should set placeholder to "TRACED_SVG".
"""
tracedSVGOptions: Potrace
"""
Options to pass to sharp to control cropping and other image manipulations.
"""
transformOptions: TransformOptions
"""
Options to pass to sharp when generating WebP images.
"""
webpOptions: WebPOptions
"""
The display width of the generated image for layout = FIXED, and the maximum display width of the largest image for layout = CONSTRAINED.
Ignored if layout = FLUID.
"""
width: Int
): JSON!
id: ID!
internal: Internal!
original: ImageSharpOriginal
parent: Node
resize(
background: String = "rgba(0,0,0,1)"
base64: Boolean = false
cropFocus: ImageCropFocus = ATTENTION
duotone: DuotoneGradient
fit: ImageFit = COVER
grayscale: Boolean = false
height: Int
jpegProgressive: Boolean = true
jpegQuality: Int
pngCompressionLevel: Int = 9
pngCompressionSpeed: Int = 4
pngQuality: Int
quality: Int
rotate: Int = 0
toFormat: ImageFormat = AUTO
traceSVG: Potrace
trim: Float = 0
webpQuality: Int
width: Int
): ImageSharpResize
}
type ImageSharpConnection {
distinct(field: ImageSharpFieldsEnum!): [String!]!
edges: [ImageSharpEdge!]!
group(field: ImageSharpFieldsEnum!, limit: Int, skip: Int): [ImageSharpGroupConnection!]!
max(field: ImageSharpFieldsEnum!): Float
min(field: ImageSharpFieldsEnum!): Float
nodes: [ImageSharp!]!
pageInfo: PageInfo!
sum(field: ImageSharpFieldsEnum!): Float
totalCount: Int!
}
type ImageSharpEdge {
next: ImageSharp
node: ImageSharp!
previous: ImageSharp
}
enum ImageSharpFieldsEnum {
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
fixed___aspectRatio
fixed___base64
fixed___height
fixed___originalName
fixed___src
fixed___srcSet
fixed___srcSetWebp
fixed___srcWebp
fixed___tracedSVG
fixed___width
fluid___aspectRatio
fluid___base64
fluid___originalImg
fluid___originalName
fluid___presentationHeight
fluid___presentationWidth
fluid___sizes
fluid___src
fluid___srcSet
fluid___srcSetWebp
fluid___srcWebp
fluid___tracedSVG
gatsbyImageData
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
original___height
original___src
original___width
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
resize___aspectRatio
resize___height
resize___originalName
resize___src
resize___tracedSVG
resize___width
}
input ImageSharpFilterInput {
children: NodeFilterListInput
fixed: ImageSharpFixedFilterInput
fluid: ImageSharpFluidFilterInput
gatsbyImageData: JSONQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
original: ImageSharpOriginalFilterInput
parent: NodeFilterInput
resize: ImageSharpResizeFilterInput
}
input ImageSharpFilterListInput {
elemMatch: ImageSharpFilterInput
}
type ImageSharpFixed {
aspectRatio: Float
base64: String
height: Float!
originalName: String
src: String!
srcSet: String!
srcSetWebp: String
srcWebp: String
tracedSVG: String
width: Float!
}
input ImageSharpFixedFilterInput {
aspectRatio: FloatQueryOperatorInput
base64: StringQueryOperatorInput
height: FloatQueryOperatorInput
originalName: StringQueryOperatorInput
src: StringQueryOperatorInput
srcSet: StringQueryOperatorInput
srcSetWebp: StringQueryOperatorInput
srcWebp: StringQueryOperatorInput
tracedSVG: StringQueryOperatorInput
width: FloatQueryOperatorInput
}
type ImageSharpFluid {
aspectRatio: Float!
base64: String
originalImg: String
originalName: String
presentationHeight: Int!
presentationWidth: Int!
sizes: String!
src: String!
srcSet: String!
srcSetWebp: String
srcWebp: String
tracedSVG: String
}
input ImageSharpFluidFilterInput {
aspectRatio: FloatQueryOperatorInput
base64: StringQueryOperatorInput
originalImg: StringQueryOperatorInput
originalName: StringQueryOperatorInput
presentationHeight: IntQueryOperatorInput
presentationWidth: IntQueryOperatorInput
sizes: StringQueryOperatorInput
src: StringQueryOperatorInput
srcSet: StringQueryOperatorInput
srcSetWebp: StringQueryOperatorInput
srcWebp: StringQueryOperatorInput
tracedSVG: StringQueryOperatorInput
}
type ImageSharpGroupConnection {
distinct(field: ImageSharpFieldsEnum!): [String!]!
edges: [ImageSharpEdge!]!
field: String!
fieldValue: String
group(field: ImageSharpFieldsEnum!, limit: Int, skip: Int): [ImageSharpGroupConnection!]!
max(field: ImageSharpFieldsEnum!): Float
min(field: ImageSharpFieldsEnum!): Float
nodes: [ImageSharp!]!
pageInfo: PageInfo!
sum(field: ImageSharpFieldsEnum!): Float
totalCount: Int!
}
type ImageSharpOriginal {
height: Float
src: String
width: Float
}
input ImageSharpOriginalFilterInput {
height: FloatQueryOperatorInput
src: StringQueryOperatorInput
width: FloatQueryOperatorInput
}
type ImageSharpResize {
aspectRatio: Float
height: Int
originalName: String
src: String
tracedSVG: String
width: Int
}
input ImageSharpResizeFilterInput {
aspectRatio: FloatQueryOperatorInput
height: IntQueryOperatorInput
originalName: StringQueryOperatorInput
src: StringQueryOperatorInput
tracedSVG: StringQueryOperatorInput
width: IntQueryOperatorInput
}
input ImageSharpSortInput {
fields: [ImageSharpFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
input IntQueryOperatorInput {
eq: Int
gt: Int
gte: Int
in: [Int]
lt: Int
lte: Int
ne: Int
nin: [Int]
}
type Internal {
content: String
contentDigest: String!
description: String
fieldOwners: [String]
ignoreType: Boolean
mediaType: String
owner: String!
type: String!
}
input InternalFilterInput {
content: StringQueryOperatorInput
contentDigest: StringQueryOperatorInput
description: StringQueryOperatorInput
fieldOwners: StringQueryOperatorInput
ignoreType: BooleanQueryOperatorInput
mediaType: StringQueryOperatorInput
owner: StringQueryOperatorInput
type: StringQueryOperatorInput
}
input JPGOptions {
progressive: Boolean = true
quality: Int
}
"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSON
input JSONQueryOperatorInput {
eq: JSON
glob: JSON
in: [JSON]
ne: JSON
nin: [JSON]
regex: JSON
}
"""
Node Interface
"""
interface Node {
children: [Node!]!
id: ID!
internal: Internal!
parent: Node
}
input NodeFilterInput {
children: NodeFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
parent: NodeFilterInput
}
input NodeFilterListInput {
elemMatch: NodeFilterInput
}
input PNGOptions {
compressionSpeed: Int = 4
quality: Int
}
type PageInfo {
currentPage: Int!
hasNextPage: Boolean!
hasPreviousPage: Boolean!
itemCount: Int!
pageCount: Int!
perPage: Int
totalCount: Int!
}
input Potrace {
alphaMax: Float
background: String
blackOnWhite: Boolean
color: String
optCurve: Boolean
optTolerance: Float
threshold: Int
turdSize: Float
turnPolicy: PotraceTurnPolicy
}
enum PotraceTurnPolicy {
TURNPOLICY_BLACK
TURNPOLICY_LEFT
TURNPOLICY_MAJORITY
TURNPOLICY_MINORITY
TURNPOLICY_RIGHT
TURNPOLICY_WHITE
}
type Query {
allDirectory(filter: DirectoryFilterInput, limit: Int, skip: Int, sort: DirectorySortInput): DirectoryConnection!
allFile(filter: FileFilterInput, limit: Int, skip: Int, sort: FileSortInput): FileConnection!
allImageSharp(filter: ImageSharpFilterInput, limit: Int, skip: Int, sort: ImageSharpSortInput): ImageSharpConnection!
allInternalEvents(
filter: internal__eventsFilterInput
limit: Int
skip: Int
sort: internal__eventsSortInput
): internal__eventsConnection!
allSite(filter: SiteFilterInput, limit: Int, skip: Int, sort: SiteSortInput): SiteConnection!
allSiteBuildMetadata(
filter: SiteBuildMetadataFilterInput
limit: Int
skip: Int
sort: SiteBuildMetadataSortInput
): SiteBuildMetadataConnection!
allSiteFunction(
filter: SiteFunctionFilterInput
limit: Int
skip: Int
sort: SiteFunctionSortInput
): SiteFunctionConnection!
allSitePage(filter: SitePageFilterInput, limit: Int, skip: Int, sort: SitePageSortInput): SitePageConnection!
allSitePlugin(filter: SitePluginFilterInput, limit: Int, skip: Int, sort: SitePluginSortInput): SitePluginConnection!
allWp(filter: WpFilterInput, limit: Int, skip: Int, sort: WpSortInput): WpConnection!
allWpBlockEditorContentNode(
filter: WpBlockEditorContentNodeFilterInput
limit: Int
skip: Int
sort: WpBlockEditorContentNodeSortInput
): WpBlockEditorContentNodeConnection!
allWpBlockEditorPreview(
filter: WpBlockEditorPreviewFilterInput
limit: Int
skip: Int
sort: WpBlockEditorPreviewSortInput
): WpBlockEditorPreviewConnection!
allWpCategory(filter: WpCategoryFilterInput, limit: Int, skip: Int, sort: WpCategorySortInput): WpCategoryConnection!
allWpComment(filter: WpCommentFilterInput, limit: Int, skip: Int, sort: WpCommentSortInput): WpCommentConnection!
allWpCommentAuthor(
filter: WpCommentAuthorFilterInput
limit: Int
skip: Int
sort: WpCommentAuthorSortInput
): WpCommentAuthorConnection!
allWpContentNode(
filter: WpContentNodeFilterInput
limit: Int
skip: Int
sort: WpContentNodeSortInput
): WpContentNodeConnection!
allWpContentType(
filter: WpContentTypeFilterInput
limit: Int
skip: Int
sort: WpContentTypeSortInput
): WpContentTypeConnection!
allWpMediaItem(
filter: WpMediaItemFilterInput
limit: Int
skip: Int
sort: WpMediaItemSortInput
): WpMediaItemConnection!
allWpMenu(filter: WpMenuFilterInput, limit: Int, skip: Int, sort: WpMenuSortInput): WpMenuConnection!
allWpMenuItem(filter: WpMenuItemFilterInput, limit: Int, skip: Int, sort: WpMenuItemSortInput): WpMenuItemConnection!
allWpPage(filter: WpPageFilterInput, limit: Int, skip: Int, sort: WpPageSortInput): WpPageConnection!
allWpPost(filter: WpPostFilterInput, limit: Int, skip: Int, sort: WpPostSortInput): WpPostConnection!
allWpPostFormat(
filter: WpPostFormatFilterInput
limit: Int
skip: Int
sort: WpPostFormatSortInput
): WpPostFormatConnection!
allWpReusableBlock(
filter: WpReusableBlockFilterInput
limit: Int
skip: Int
sort: WpReusableBlockSortInput
): WpReusableBlockConnection!
allWpTag(filter: WpTagFilterInput, limit: Int, skip: Int, sort: WpTagSortInput): WpTagConnection!
allWpTaxonomy(filter: WpTaxonomyFilterInput, limit: Int, skip: Int, sort: WpTaxonomySortInput): WpTaxonomyConnection!
allWpTermNode(filter: WpTermNodeFilterInput, limit: Int, skip: Int, sort: WpTermNodeSortInput): WpTermNodeConnection!
allWpUser(filter: WpUserFilterInput, limit: Int, skip: Int, sort: WpUserSortInput): WpUserConnection!
allWpUserRole(filter: WpUserRoleFilterInput, limit: Int, skip: Int, sort: WpUserRoleSortInput): WpUserRoleConnection!
directory(
absolutePath: StringQueryOperatorInput
accessTime: DateQueryOperatorInput
atime: DateQueryOperatorInput
atimeMs: FloatQueryOperatorInput
base: StringQueryOperatorInput
birthTime: DateQueryOperatorInput
birthtime: DateQueryOperatorInput
birthtimeMs: FloatQueryOperatorInput
changeTime: DateQueryOperatorInput
children: NodeFilterListInput
ctime: DateQueryOperatorInput
ctimeMs: FloatQueryOperatorInput
dev: IntQueryOperatorInput
dir: StringQueryOperatorInput
ext: StringQueryOperatorInput
extension: StringQueryOperatorInput
gid: IntQueryOperatorInput
id: StringQueryOperatorInput
ino: FloatQueryOperatorInput
internal: InternalFilterInput
mode: IntQueryOperatorInput
modifiedTime: DateQueryOperatorInput
mtime: DateQueryOperatorInput
mtimeMs: FloatQueryOperatorInput
name: StringQueryOperatorInput
nlink: IntQueryOperatorInput
parent: NodeFilterInput
prettySize: StringQueryOperatorInput
rdev: IntQueryOperatorInput
relativeDirectory: StringQueryOperatorInput
relativePath: StringQueryOperatorInput
root: StringQueryOperatorInput
size: IntQueryOperatorInput
sourceInstanceName: StringQueryOperatorInput
uid: IntQueryOperatorInput
): Directory
file(
absolutePath: StringQueryOperatorInput
accessTime: DateQueryOperatorInput
atime: DateQueryOperatorInput
atimeMs: FloatQueryOperatorInput
base: StringQueryOperatorInput
birthTime: DateQueryOperatorInput
birthtime: DateQueryOperatorInput
birthtimeMs: FloatQueryOperatorInput
blksize: IntQueryOperatorInput
blocks: IntQueryOperatorInput
changeTime: DateQueryOperatorInput
childImageSharp: ImageSharpFilterInput
children: NodeFilterListInput
childrenImageSharp: ImageSharpFilterListInput
ctime: DateQueryOperatorInput
ctimeMs: FloatQueryOperatorInput
dev: IntQueryOperatorInput
dir: StringQueryOperatorInput
ext: StringQueryOperatorInput
extension: StringQueryOperatorInput
gid: IntQueryOperatorInput
hash: StringQueryOperatorInput
id: StringQueryOperatorInput
ino: FloatQueryOperatorInput
internal: InternalFilterInput
mode: IntQueryOperatorInput
modifiedTime: DateQueryOperatorInput
mtime: DateQueryOperatorInput
mtimeMs: FloatQueryOperatorInput
name: StringQueryOperatorInput
nlink: IntQueryOperatorInput
parent: NodeFilterInput
prettySize: StringQueryOperatorInput
publicURL: StringQueryOperatorInput
rdev: IntQueryOperatorInput
relativeDirectory: StringQueryOperatorInput
relativePath: StringQueryOperatorInput
root: StringQueryOperatorInput
size: IntQueryOperatorInput
sourceInstanceName: StringQueryOperatorInput
uid: IntQueryOperatorInput
): File
imageSharp(
children: NodeFilterListInput
fixed: ImageSharpFixedFilterInput
fluid: ImageSharpFluidFilterInput
gatsbyImageData: JSONQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
original: ImageSharpOriginalFilterInput
parent: NodeFilterInput
resize: ImageSharpResizeFilterInput
): ImageSharp
internalEvents(
children: NodeFilterListInput
events: internal__eventsEventsFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
next_rest_url: StringQueryOperatorInput
parent: NodeFilterInput
previous_rest_url: StringQueryOperatorInput
rest_url: StringQueryOperatorInput
total: IntQueryOperatorInput
total_pages: IntQueryOperatorInput
): internal__events
site(
buildTime: DateQueryOperatorInput
children: NodeFilterListInput
host: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
jsxRuntime: StringQueryOperatorInput
parent: NodeFilterInput
pathPrefix: StringQueryOperatorInput
polyfill: BooleanQueryOperatorInput
port: IntQueryOperatorInput
siteMetadata: SiteSiteMetadataFilterInput
trailingSlash: StringQueryOperatorInput
): Site
siteBuildMetadata(
buildTime: DateQueryOperatorInput
children: NodeFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
parent: NodeFilterInput
): SiteBuildMetadata
siteFunction(
absoluteCompiledFilePath: StringQueryOperatorInput
children: NodeFilterListInput
functionRoute: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
matchPath: StringQueryOperatorInput
originalAbsoluteFilePath: StringQueryOperatorInput
originalRelativeFilePath: StringQueryOperatorInput
parent: NodeFilterInput
pluginName: StringQueryOperatorInput
relativeCompiledFilePath: StringQueryOperatorInput
): SiteFunction
sitePage(
children: NodeFilterListInput
component: StringQueryOperatorInput
componentChunkName: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
internalComponentName: StringQueryOperatorInput
matchPath: StringQueryOperatorInput
pageContext: JSONQueryOperatorInput
parent: NodeFilterInput
path: StringQueryOperatorInput
pluginCreator: SitePluginFilterInput
): SitePage
sitePlugin(
browserAPIs: StringQueryOperatorInput
children: NodeFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
name: StringQueryOperatorInput
nodeAPIs: StringQueryOperatorInput
packageJson: JSONQueryOperatorInput
parent: NodeFilterInput
pluginFilepath: StringQueryOperatorInput
pluginOptions: JSONQueryOperatorInput
resolve: StringQueryOperatorInput
ssrAPIs: StringQueryOperatorInput
version: StringQueryOperatorInput
): SitePlugin
wp(
allSettings: WpSettingsFilterInput
children: NodeFilterListInput
discussionSettings: WpDiscussionSettingsFilterInput
generalSettings: WpGeneralSettingsFilterInput
id: StringQueryOperatorInput
internal: InternalFilterInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
readingSettings: WpReadingSettingsFilterInput
wpGatsby: WpWPGatsbyFilterInput
writingSettings: WpWritingSettingsFilterInput
): Wp
wpBlockEditorContentNode(
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
children: NodeFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
previewBlocks: WpBlockFilterListInput
previewBlocksJSON: StringQueryOperatorInput
): WpBlockEditorContentNode
wpBlockEditorPreview(
author: WpNodeWithAuthorToUserConnectionEdgeFilterInput
authorDatabaseId: IntQueryOperatorInput
authorId: IDQueryOperatorInput
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
children: NodeFilterListInput
content: StringQueryOperatorInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
lastUpdateTime: StringQueryOperatorInput
link: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
previewed: WpBlockEditorContentNodeFilterInput
previewedDatabaseId: IntQueryOperatorInput
previewedParentDatabaseId: IntQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
title: StringQueryOperatorInput
uri: StringQueryOperatorInput
): WpBlockEditorPreview
wpCategory(
ancestors: WpCategoryToAncestorsCategoryConnectionFilterInput
children: NodeFilterListInput
contentNodes: WpCategoryToContentNodeConnectionFilterInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
link: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
posts: WpCategoryToPostConnectionFilterInput
slug: StringQueryOperatorInput
taxonomy: WpCategoryToTaxonomyConnectionEdgeFilterInput
taxonomyName: StringQueryOperatorInput
termGroupId: IntQueryOperatorInput
termTaxonomyId: IntQueryOperatorInput
uri: StringQueryOperatorInput
wpChildren: WpCategoryToCategoryConnectionFilterInput
wpParent: WpCategoryToParentCategoryConnectionEdgeFilterInput
): WpCategory
wpComment(
agent: StringQueryOperatorInput
approved: BooleanQueryOperatorInput
author: WpCommentToCommenterConnectionEdgeFilterInput
authorIp: StringQueryOperatorInput
children: NodeFilterListInput
commentedOn: WpCommentToContentNodeConnectionEdgeFilterInput
content: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
karma: IntQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
replies: WpCommentToCommentConnectionFilterInput
type: StringQueryOperatorInput
wpParent: WpCommentToParentCommentConnectionEdgeFilterInput
): WpComment
wpCommentAuthor(
avatar: WpAvatarFilterInput
children: NodeFilterListInput
databaseId: IntQueryOperatorInput
email: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
url: StringQueryOperatorInput
): WpCommentAuthor
wpContentNode(
children: NodeFilterListInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
uri: StringQueryOperatorInput
): WpContentNode
wpContentType(
archivePath: StringQueryOperatorInput
canExport: BooleanQueryOperatorInput
children: NodeFilterListInput
connectedTaxonomies: WpContentTypeToTaxonomyConnectionFilterInput
contentNodes: WpContentTypeToContentNodeConnectionFilterInput
deleteWithUser: BooleanQueryOperatorInput
description: StringQueryOperatorInput
excludeFromSearch: BooleanQueryOperatorInput
graphqlPluralName: StringQueryOperatorInput
graphqlSingleName: StringQueryOperatorInput
hasArchive: BooleanQueryOperatorInput
hierarchical: BooleanQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isFrontPage: BooleanQueryOperatorInput
isPostsPage: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
label: StringQueryOperatorInput
labels: WpPostTypeLabelDetailsFilterInput
menuIcon: StringQueryOperatorInput
menuPosition: IntQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
public: BooleanQueryOperatorInput
publiclyQueryable: BooleanQueryOperatorInput
restBase: StringQueryOperatorInput
restControllerClass: StringQueryOperatorInput
showInAdminBar: BooleanQueryOperatorInput
showInGraphql: BooleanQueryOperatorInput
showInMenu: BooleanQueryOperatorInput
showInNavMenus: BooleanQueryOperatorInput
showInRest: BooleanQueryOperatorInput
showUi: BooleanQueryOperatorInput
uri: StringQueryOperatorInput
): WpContentType
wpMediaItem(
altText: StringQueryOperatorInput
ancestors: WpHierarchicalContentNodeToContentNodeAncestorsConnectionFilterInput
author: WpNodeWithAuthorToUserConnectionEdgeFilterInput
authorDatabaseId: IntQueryOperatorInput
authorId: IDQueryOperatorInput
caption: StringQueryOperatorInput
children: NodeFilterListInput
commentCount: IntQueryOperatorInput
commentStatus: StringQueryOperatorInput
comments: WpMediaItemToCommentConnectionFilterInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
description: StringQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
fileSize: IntQueryOperatorInput
filename: StringQueryOperatorInput
filesize: IntQueryOperatorInput
gatsbyImage: JSONQueryOperatorInput
guid: StringQueryOperatorInput
height: IntQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
localFile: FileFilterInput
mediaDetails: WpMediaDetailsFilterInput
mediaItemUrl: StringQueryOperatorInput
mediaType: StringQueryOperatorInput
mimeType: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
publicUrl: StringQueryOperatorInput
remoteFile: FileFilterInput
resize: RemoteFileResizeFilterInput
sizes: StringQueryOperatorInput
slug: StringQueryOperatorInput
sourceUrl: StringQueryOperatorInput
srcSet: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
title: StringQueryOperatorInput
uri: StringQueryOperatorInput
width: IntQueryOperatorInput
wpChildren: WpHierarchicalContentNodeToContentNodeChildrenConnectionFilterInput
wpParent: WpHierarchicalContentNodeToParentContentNodeConnectionEdgeFilterInput
): WpMediaItem
wpMenu(
children: NodeFilterListInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
locations: WpMenuLocationEnumQueryOperatorInput
menuItems: WpMenuToMenuItemConnectionFilterInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
slug: StringQueryOperatorInput
): WpMenu
wpMenuItem(
childItems: WpMenuItemToMenuItemConnectionFilterInput
children: NodeFilterListInput
connectedNode: WpMenuItemToMenuItemLinkableConnectionEdgeFilterInput
cssClasses: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
label: StringQueryOperatorInput
linkRelationship: StringQueryOperatorInput
locations: WpMenuLocationEnumQueryOperatorInput
menu: WpMenuItemToMenuConnectionEdgeFilterInput
nodeType: StringQueryOperatorInput
order: IntQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
path: StringQueryOperatorInput
target: StringQueryOperatorInput
title: StringQueryOperatorInput
url: StringQueryOperatorInput
): WpMenuItem
wpPage(
ancestors: WpHierarchicalContentNodeToContentNodeAncestorsConnectionFilterInput
author: WpNodeWithAuthorToUserConnectionEdgeFilterInput
authorDatabaseId: IntQueryOperatorInput
authorId: IDQueryOperatorInput
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
children: NodeFilterListInput
commentCount: IntQueryOperatorInput
commentStatus: StringQueryOperatorInput
comments: WpPageToCommentConnectionFilterInput
content: StringQueryOperatorInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
featuredImage: WpNodeWithFeaturedImageToMediaItemConnectionEdgeFilterInput
featuredImageDatabaseId: IntQueryOperatorInput
featuredImageId: IDQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isFrontPage: BooleanQueryOperatorInput
isPostsPage: BooleanQueryOperatorInput
isPrivacyPage: BooleanQueryOperatorInput
isRevision: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
menuOrder: IntQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
previewBlocks: WpBlockFilterListInput
previewBlocksJSON: StringQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
title: StringQueryOperatorInput
uri: StringQueryOperatorInput
wpChildren: WpHierarchicalContentNodeToContentNodeChildrenConnectionFilterInput
wpParent: WpHierarchicalContentNodeToParentContentNodeConnectionEdgeFilterInput
): WpPage
wpPost(
author: WpNodeWithAuthorToUserConnectionEdgeFilterInput
authorDatabaseId: IntQueryOperatorInput
authorId: IDQueryOperatorInput
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
categories: WpPostToCategoryConnectionFilterInput
children: NodeFilterListInput
commentCount: IntQueryOperatorInput
commentStatus: StringQueryOperatorInput
comments: WpPostToCommentConnectionFilterInput
content: StringQueryOperatorInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
excerpt: StringQueryOperatorInput
featuredImage: WpNodeWithFeaturedImageToMediaItemConnectionEdgeFilterInput
featuredImageDatabaseId: IntQueryOperatorInput
featuredImageId: IDQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isRevision: BooleanQueryOperatorInput
isSticky: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
pingStatus: StringQueryOperatorInput
pinged: StringQueryOperatorInput
postFormats: WpPostToPostFormatConnectionFilterInput
previewBlocks: WpBlockFilterListInput
previewBlocksJSON: StringQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
tags: WpPostToTagConnectionFilterInput
template: WpContentTemplateFilterInput
terms: WpPostToTermNodeConnectionFilterInput
title: StringQueryOperatorInput
toPing: StringQueryOperatorInput
uri: StringQueryOperatorInput
): WpPost
wpPostFormat(
children: NodeFilterListInput
contentNodes: WpPostFormatToContentNodeConnectionFilterInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
link: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
posts: WpPostFormatToPostConnectionFilterInput
slug: StringQueryOperatorInput
taxonomy: WpPostFormatToTaxonomyConnectionEdgeFilterInput
taxonomyName: StringQueryOperatorInput
termGroupId: IntQueryOperatorInput
termTaxonomyId: IntQueryOperatorInput
uri: StringQueryOperatorInput
): WpPostFormat
wpReusableBlock(
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
children: NodeFilterListInput
content: StringQueryOperatorInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isRevision: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
previewBlocks: WpBlockFilterListInput
previewBlocksJSON: StringQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
title: StringQueryOperatorInput
uri: StringQueryOperatorInput
): WpReusableBlock
wpTag(
children: NodeFilterListInput
contentNodes: WpTagToContentNodeConnectionFilterInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
link: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
posts: WpTagToPostConnectionFilterInput
slug: StringQueryOperatorInput
taxonomy: WpTagToTaxonomyConnectionEdgeFilterInput
taxonomyName: StringQueryOperatorInput
termGroupId: IntQueryOperatorInput
termTaxonomyId: IntQueryOperatorInput
uri: StringQueryOperatorInput
): WpTag
wpTaxonomy(
archivePath: StringQueryOperatorInput
children: NodeFilterListInput
connectedContentTypes: WpTaxonomyToContentTypeConnectionFilterInput
description: StringQueryOperatorInput
graphqlPluralName: StringQueryOperatorInput
graphqlSingleName: StringQueryOperatorInput
hierarchical: BooleanQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
label: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
public: BooleanQueryOperatorInput
restBase: StringQueryOperatorInput
restControllerClass: StringQueryOperatorInput
showCloud: BooleanQueryOperatorInput
showInAdminColumn: BooleanQueryOperatorInput
showInGraphql: BooleanQueryOperatorInput
showInMenu: BooleanQueryOperatorInput
showInNavMenus: BooleanQueryOperatorInput
showInQuickEdit: BooleanQueryOperatorInput
showInRest: BooleanQueryOperatorInput
showUi: BooleanQueryOperatorInput
): WpTaxonomy
wpTermNode(
children: NodeFilterListInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
link: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
slug: StringQueryOperatorInput
taxonomyName: StringQueryOperatorInput
termGroupId: IntQueryOperatorInput
termTaxonomyId: IntQueryOperatorInput
uri: StringQueryOperatorInput
): WpTermNode
wpUser(
avatar: WpAvatarFilterInput
blockEditorPreviews: WpUserToBlockEditorPreviewConnectionFilterInput
capKey: StringQueryOperatorInput
capabilities: StringQueryOperatorInput
children: NodeFilterListInput
comments: WpUserToCommentConnectionFilterInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
email: StringQueryOperatorInput
extraCapabilities: StringQueryOperatorInput
firstName: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastName: StringQueryOperatorInput
locale: StringQueryOperatorInput
name: StringQueryOperatorInput
nicename: StringQueryOperatorInput
nickname: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
pages: WpUserToPageConnectionFilterInput
parent: NodeFilterInput
posts: WpUserToPostConnectionFilterInput
registeredDate: StringQueryOperatorInput
roles: WpUserToUserRoleConnectionFilterInput
slug: StringQueryOperatorInput
uri: StringQueryOperatorInput
url: StringQueryOperatorInput
username: StringQueryOperatorInput
): WpUser
wpUserRole(
capabilities: StringQueryOperatorInput
children: NodeFilterListInput
displayName: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
): WpUserRole
}
"""
Remote Interface
"""
interface RemoteFile {
filename: String!
filesize: Int
"""
Data used in the component. See https://gatsby.dev/img for more info.
"""
gatsbyImage(
"""
If set along with width or height, this will set the value of the other dimension to match the provided aspect ratio, cropping the image if needed.
If neither width or height is provided, height will be set based on the intrinsic width of the source image.
"""
aspectRatio: Float
"""
Background color applied to the wrapper, or when "letterboxing" an image to another aspect ratio.
"""
backgroundColor: String
"""
Specifies the image widths to generate. You should rarely need to change this. For FIXED and CONSTRAINED images it is better to allow these to be determined automatically,
based on the image size. For FULL_WIDTH images this can be used to override the default, which is [750, 1080, 1366, 1920].
It will never generate any images larger than the source.
"""
breakpoints: [Int] = [750, 1080, 1366, 1920]
cropFocus: [RemoteFileCropFocus]
fit: RemoteFileFit = COVER
"""
The image formats to generate. Valid values are AUTO (meaning the same format as the source image), JPG, PNG, WEBP and AVIF.
The default value is [AUTO, WEBP, AVIF], and you should rarely need to change this. Take care if you specify JPG or PNG when you do
not know the formats of the source images, as this could lead to unwanted results such as converting JPEGs to PNGs. Specifying
both PNG and JPG is not supported and will be ignored.
"""
formats: [RemoteFileFormat!] = [AUTO, WEBP, AVIF]
"""
If set, the height of the generated image. If omitted, it is calculated from the supplied width, matching the aspect ratio of the source image.
"""
height: Int
"""
The layout for the image.
FIXED: A static image sized, that does not resize according to the screen width
FULL_WIDTH: The image resizes to fit its container. Pass a "sizes" option if it isn't going to be the full width of the screen.
CONSTRAINED: Resizes to fit its container, up to a maximum width, at which point it will remain fixed in size.
"""
layout: RemoteFileLayout = CONSTRAINED
"""
A list of image pixel densities to generate for FIXED and CONSTRAINED images. You should rarely need to change this. It will never generate images larger than the source, and will always include a 1x image.
Default is [ 1, 2 ] for fixed images, meaning 1x, 2x, and [0.25, 0.5, 1, 2] for fluid. In this case, an image with a fluid layout and width = 400 would generate images at 100, 200, 400 and 800px wide.
"""
outputPixelDensities: [Float] = [0.25, 0.5, 1, 2]
"""
Format of generated placeholder image, displayed while the main image loads.
BLURRED: a blurred, low resolution image, encoded as a base64 data URI (default)
DOMINANT_COLOR: a solid color, calculated from the dominant color of the image.
TRACED_SVG: a low-resolution traced SVG of the image.
NONE: no placeholder. Set the argument "backgroundColor" to use a fixed background color.
"""
placeholder: RemoteFilePlaceholder = DOMINANT_COLOR
quality: Int = 75
"""
The "sizes" property, passed to the img tag. This describes the display size of the image.
This does not affect the generated images, but is used by the browser to decide which images to download. You can leave this blank for fixed images, or if the responsive image
container will be the full width of the screen. In these cases we will generate an appropriate value.
"""
sizes: String
"""
The display width of the generated image for layout = FIXED, and the display width of the largest image for layout = CONSTRAINED.
The actual largest image resolution will be this value multiplied by the largest value in outputPixelDensities
Ignored if layout = FLUID.
"""
width: Int
): JSON
height: Int
id: ID!
mimeType: String!
publicUrl: String!
resize(
cropFocus: [RemoteFileCropFocus]
fit: RemoteFileFit = COVER
"""
The image formats to generate. Valid values are AUTO (meaning the same format as the source image), JPG, PNG, WEBP and AVIF.
The default value is [AUTO, WEBP, AVIF], and you should rarely need to change this. Take care if you specify JPG or PNG when you do
not know the formats of the source images, as this could lead to unwanted results such as converting JPEGs to PNGs. Specifying
both PNG and JPG is not supported and will be ignored.
"""
format: RemoteFileFormat = AUTO
height: Int
quality: Int = 75
width: Int
): RemoteFileResize
width: Int
}
enum RemoteFileCropFocus {
BOTTOM
CENTER
EDGES
ENTROPY
FACES
LEFT
RIGHT
TOP
}
enum RemoteFileFit {
CONTAIN
COVER
FILL
OUTSIDE
}
enum RemoteFileFormat {
AUTO
AVIF
JPG
PNG
WEBP
}
enum RemoteFileLayout {
CONSTRAINED
FIXED
FULL_WIDTH
}
enum RemoteFilePlaceholder {
BLURRED
DOMINANT_COLOR
NONE
}
type RemoteFileResize {
height: Int
src: String
width: Int
}
input RemoteFileResizeFilterInput {
height: IntQueryOperatorInput
src: StringQueryOperatorInput
width: IntQueryOperatorInput
}
type Site implements Node {
buildTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
children: [Node!]!
host: String
id: ID!
internal: Internal!
jsxRuntime: String
parent: Node
pathPrefix: String
polyfill: Boolean
port: Int
siteMetadata: SiteSiteMetadata
trailingSlash: String
}
type SiteBuildMetadata implements Node {
buildTime(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
children: [Node!]!
id: ID!
internal: Internal!
parent: Node
}
type SiteBuildMetadataConnection {
distinct(field: SiteBuildMetadataFieldsEnum!): [String!]!
edges: [SiteBuildMetadataEdge!]!
group(field: SiteBuildMetadataFieldsEnum!, limit: Int, skip: Int): [SiteBuildMetadataGroupConnection!]!
max(field: SiteBuildMetadataFieldsEnum!): Float
min(field: SiteBuildMetadataFieldsEnum!): Float
nodes: [SiteBuildMetadata!]!
pageInfo: PageInfo!
sum(field: SiteBuildMetadataFieldsEnum!): Float
totalCount: Int!
}
type SiteBuildMetadataEdge {
next: SiteBuildMetadata
node: SiteBuildMetadata!
previous: SiteBuildMetadata
}
enum SiteBuildMetadataFieldsEnum {
buildTime
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
}
input SiteBuildMetadataFilterInput {
buildTime: DateQueryOperatorInput
children: NodeFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
parent: NodeFilterInput
}
type SiteBuildMetadataGroupConnection {
distinct(field: SiteBuildMetadataFieldsEnum!): [String!]!
edges: [SiteBuildMetadataEdge!]!
field: String!
fieldValue: String
group(field: SiteBuildMetadataFieldsEnum!, limit: Int, skip: Int): [SiteBuildMetadataGroupConnection!]!
max(field: SiteBuildMetadataFieldsEnum!): Float
min(field: SiteBuildMetadataFieldsEnum!): Float
nodes: [SiteBuildMetadata!]!
pageInfo: PageInfo!
sum(field: SiteBuildMetadataFieldsEnum!): Float
totalCount: Int!
}
input SiteBuildMetadataSortInput {
fields: [SiteBuildMetadataFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
type SiteConnection {
distinct(field: SiteFieldsEnum!): [String!]!
edges: [SiteEdge!]!
group(field: SiteFieldsEnum!, limit: Int, skip: Int): [SiteGroupConnection!]!
max(field: SiteFieldsEnum!): Float
min(field: SiteFieldsEnum!): Float
nodes: [Site!]!
pageInfo: PageInfo!
sum(field: SiteFieldsEnum!): Float
totalCount: Int!
}
type SiteEdge {
next: Site
node: Site!
previous: Site
}
enum SiteFieldsEnum {
buildTime
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
host
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
jsxRuntime
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
pathPrefix
polyfill
port
siteMetadata___description
siteMetadata___title
trailingSlash
}
input SiteFilterInput {
buildTime: DateQueryOperatorInput
children: NodeFilterListInput
host: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
jsxRuntime: StringQueryOperatorInput
parent: NodeFilterInput
pathPrefix: StringQueryOperatorInput
polyfill: BooleanQueryOperatorInput
port: IntQueryOperatorInput
siteMetadata: SiteSiteMetadataFilterInput
trailingSlash: StringQueryOperatorInput
}
type SiteFunction implements Node {
absoluteCompiledFilePath: String!
children: [Node!]!
functionRoute: String!
id: ID!
internal: Internal!
matchPath: String
originalAbsoluteFilePath: String!
originalRelativeFilePath: String!
parent: Node
pluginName: String!
relativeCompiledFilePath: String!
}
type SiteFunctionConnection {
distinct(field: SiteFunctionFieldsEnum!): [String!]!
edges: [SiteFunctionEdge!]!
group(field: SiteFunctionFieldsEnum!, limit: Int, skip: Int): [SiteFunctionGroupConnection!]!
max(field: SiteFunctionFieldsEnum!): Float
min(field: SiteFunctionFieldsEnum!): Float
nodes: [SiteFunction!]!
pageInfo: PageInfo!
sum(field: SiteFunctionFieldsEnum!): Float
totalCount: Int!
}
type SiteFunctionEdge {
next: SiteFunction
node: SiteFunction!
previous: SiteFunction
}
enum SiteFunctionFieldsEnum {
absoluteCompiledFilePath
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
functionRoute
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
matchPath
originalAbsoluteFilePath
originalRelativeFilePath
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
pluginName
relativeCompiledFilePath
}
input SiteFunctionFilterInput {
absoluteCompiledFilePath: StringQueryOperatorInput
children: NodeFilterListInput
functionRoute: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
matchPath: StringQueryOperatorInput
originalAbsoluteFilePath: StringQueryOperatorInput
originalRelativeFilePath: StringQueryOperatorInput
parent: NodeFilterInput
pluginName: StringQueryOperatorInput
relativeCompiledFilePath: StringQueryOperatorInput
}
type SiteFunctionGroupConnection {
distinct(field: SiteFunctionFieldsEnum!): [String!]!
edges: [SiteFunctionEdge!]!
field: String!
fieldValue: String
group(field: SiteFunctionFieldsEnum!, limit: Int, skip: Int): [SiteFunctionGroupConnection!]!
max(field: SiteFunctionFieldsEnum!): Float
min(field: SiteFunctionFieldsEnum!): Float
nodes: [SiteFunction!]!
pageInfo: PageInfo!
sum(field: SiteFunctionFieldsEnum!): Float
totalCount: Int!
}
input SiteFunctionSortInput {
fields: [SiteFunctionFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
type SiteGroupConnection {
distinct(field: SiteFieldsEnum!): [String!]!
edges: [SiteEdge!]!
field: String!
fieldValue: String
group(field: SiteFieldsEnum!, limit: Int, skip: Int): [SiteGroupConnection!]!
max(field: SiteFieldsEnum!): Float
min(field: SiteFieldsEnum!): Float
nodes: [Site!]!
pageInfo: PageInfo!
sum(field: SiteFieldsEnum!): Float
totalCount: Int!
}
type SitePage implements Node {
children: [Node!]!
component: String!
componentChunkName: String!
id: ID!
internal: Internal!
internalComponentName: String!
matchPath: String
pageContext: JSON
parent: Node
path: String!
pluginCreator: SitePlugin
}
type SitePageConnection {
distinct(field: SitePageFieldsEnum!): [String!]!
edges: [SitePageEdge!]!
group(field: SitePageFieldsEnum!, limit: Int, skip: Int): [SitePageGroupConnection!]!
max(field: SitePageFieldsEnum!): Float
min(field: SitePageFieldsEnum!): Float
nodes: [SitePage!]!
pageInfo: PageInfo!
sum(field: SitePageFieldsEnum!): Float
totalCount: Int!
}
type SitePageEdge {
next: SitePage
node: SitePage!
previous: SitePage
}
enum SitePageFieldsEnum {
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
component
componentChunkName
id
internalComponentName
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
matchPath
pageContext
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
path
pluginCreator___browserAPIs
pluginCreator___children
pluginCreator___children___children
pluginCreator___children___children___children
pluginCreator___children___children___id
pluginCreator___children___id
pluginCreator___children___internal___content
pluginCreator___children___internal___contentDigest
pluginCreator___children___internal___description
pluginCreator___children___internal___fieldOwners
pluginCreator___children___internal___ignoreType
pluginCreator___children___internal___mediaType
pluginCreator___children___internal___owner
pluginCreator___children___internal___type
pluginCreator___children___parent___children
pluginCreator___children___parent___id
pluginCreator___id
pluginCreator___internal___content
pluginCreator___internal___contentDigest
pluginCreator___internal___description
pluginCreator___internal___fieldOwners
pluginCreator___internal___ignoreType
pluginCreator___internal___mediaType
pluginCreator___internal___owner
pluginCreator___internal___type
pluginCreator___name
pluginCreator___nodeAPIs
pluginCreator___packageJson
pluginCreator___parent___children
pluginCreator___parent___children___children
pluginCreator___parent___children___id
pluginCreator___parent___id
pluginCreator___parent___internal___content
pluginCreator___parent___internal___contentDigest
pluginCreator___parent___internal___description
pluginCreator___parent___internal___fieldOwners
pluginCreator___parent___internal___ignoreType
pluginCreator___parent___internal___mediaType
pluginCreator___parent___internal___owner
pluginCreator___parent___internal___type
pluginCreator___parent___parent___children
pluginCreator___parent___parent___id
pluginCreator___pluginFilepath
pluginCreator___pluginOptions
pluginCreator___resolve
pluginCreator___ssrAPIs
pluginCreator___version
}
input SitePageFilterInput {
children: NodeFilterListInput
component: StringQueryOperatorInput
componentChunkName: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
internalComponentName: StringQueryOperatorInput
matchPath: StringQueryOperatorInput
pageContext: JSONQueryOperatorInput
parent: NodeFilterInput
path: StringQueryOperatorInput
pluginCreator: SitePluginFilterInput
}
type SitePageGroupConnection {
distinct(field: SitePageFieldsEnum!): [String!]!
edges: [SitePageEdge!]!
field: String!
fieldValue: String
group(field: SitePageFieldsEnum!, limit: Int, skip: Int): [SitePageGroupConnection!]!
max(field: SitePageFieldsEnum!): Float
min(field: SitePageFieldsEnum!): Float
nodes: [SitePage!]!
pageInfo: PageInfo!
sum(field: SitePageFieldsEnum!): Float
totalCount: Int!
}
input SitePageSortInput {
fields: [SitePageFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
type SitePlugin implements Node {
browserAPIs: [String]
children: [Node!]!
id: ID!
internal: Internal!
name: String
nodeAPIs: [String]
packageJson: JSON
parent: Node
pluginFilepath: String
pluginOptions: JSON
resolve: String
ssrAPIs: [String]
version: String
}
type SitePluginConnection {
distinct(field: SitePluginFieldsEnum!): [String!]!
edges: [SitePluginEdge!]!
group(field: SitePluginFieldsEnum!, limit: Int, skip: Int): [SitePluginGroupConnection!]!
max(field: SitePluginFieldsEnum!): Float
min(field: SitePluginFieldsEnum!): Float
nodes: [SitePlugin!]!
pageInfo: PageInfo!
sum(field: SitePluginFieldsEnum!): Float
totalCount: Int!
}
type SitePluginEdge {
next: SitePlugin
node: SitePlugin!
previous: SitePlugin
}
enum SitePluginFieldsEnum {
browserAPIs
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
name
nodeAPIs
packageJson
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
pluginFilepath
pluginOptions
resolve
ssrAPIs
version
}
input SitePluginFilterInput {
browserAPIs: StringQueryOperatorInput
children: NodeFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
name: StringQueryOperatorInput
nodeAPIs: StringQueryOperatorInput
packageJson: JSONQueryOperatorInput
parent: NodeFilterInput
pluginFilepath: StringQueryOperatorInput
pluginOptions: JSONQueryOperatorInput
resolve: StringQueryOperatorInput
ssrAPIs: StringQueryOperatorInput
version: StringQueryOperatorInput
}
type SitePluginGroupConnection {
distinct(field: SitePluginFieldsEnum!): [String!]!
edges: [SitePluginEdge!]!
field: String!
fieldValue: String
group(field: SitePluginFieldsEnum!, limit: Int, skip: Int): [SitePluginGroupConnection!]!
max(field: SitePluginFieldsEnum!): Float
min(field: SitePluginFieldsEnum!): Float
nodes: [SitePlugin!]!
pageInfo: PageInfo!
sum(field: SitePluginFieldsEnum!): Float
totalCount: Int!
}
input SitePluginSortInput {
fields: [SitePluginFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
type SiteSiteMetadata {
description: String
title: String
}
input SiteSiteMetadataFilterInput {
description: StringQueryOperatorInput
title: StringQueryOperatorInput
}
input SiteSortInput {
fields: [SiteFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
enum SortOrderEnum {
ASC
DESC
}
input StringQueryOperatorInput {
eq: String
glob: String
in: [String]
ne: String
nin: [String]
regex: String
}
input TransformOptions {
cropFocus: ImageCropFocus = ATTENTION
duotone: DuotoneGradient
fit: ImageFit = COVER
grayscale: Boolean = false
rotate: Int = 0
trim: Float = 0
}
input WebPOptions {
quality: Int
}
"""
Non-node WPGraphQL root fields.
"""
type Wp implements Node {
"""
Entry point to get all settings for the site
"""
allSettings: WpSettings
children: [Node!]!
"""
Fields of the 'DiscussionSettings' settings group
"""
discussionSettings: WpDiscussionSettings
"""
Fields of the 'GeneralSettings' settings group
"""
generalSettings: WpGeneralSettings
id: ID!
internal: Internal!
nodeType: String
parent: Node
"""
Fields of the 'ReadingSettings' settings group
"""
readingSettings: WpReadingSettings
"""
Information needed by gatsby-source-wordpress.
"""
wpGatsby: WpWPGatsby
"""
Fields of the 'WritingSettings' settings group
"""
writingSettings: WpWritingSettings
}
"""
Avatars are profile images for users. WordPress by default uses the Gravatar service to host and fetch avatars from.
"""
type WpAvatar {
"""
URL for the default image or a default type. Accepts '404' (return a 404 instead of a default image), 'retro' (8bit), 'monsterid' (monster), 'wavatar' (cartoon face), 'indenticon' (the 'quilt'), 'mystery', 'mm', or 'mysteryman' (The Oyster Man), 'blank' (transparent GIF), or 'gravatar_default' (the Gravatar logo).
"""
default: String
"""
HTML attributes to insert in the IMG element. Is not sanitized.
"""
extraAttr: String
"""
Whether to always show the default image, never the Gravatar.
"""
forceDefault: Boolean
"""
Whether the avatar was successfully found.
"""
foundAvatar: Boolean
"""
Height of the avatar image.
"""
height: Int
"""
What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order.
"""
rating: String
"""
Type of url scheme to use. Typically HTTP vs. HTTPS.
"""
scheme: String
"""
The size of the avatar in pixels. A value of 96 will match a 96px x 96px gravatar image.
"""
size: Int
"""
URL for the gravatar image source.
"""
url: String
"""
Width of the avatar image.
"""
width: Int
}
input WpAvatarFilterInput {
default: StringQueryOperatorInput
extraAttr: StringQueryOperatorInput
forceDefault: BooleanQueryOperatorInput
foundAvatar: BooleanQueryOperatorInput
height: IntQueryOperatorInput
rating: StringQueryOperatorInput
scheme: StringQueryOperatorInput
size: IntQueryOperatorInput
url: StringQueryOperatorInput
width: IntQueryOperatorInput
}
interface WpBlock {
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpBlockAttributesObject {
foobar: String
}
interface WpBlockEditorContentNode implements Node {
"""
Gutenberg blocks
"""
blocks: [WpBlock!]
"""
Gutenberg blocks as json string
"""
blocksJSON: String
children: [Node!]!
id: ID!
internal: Internal!
nodeType: String
parent: Node
"""
Previewed gutenberg blocks
"""
previewBlocks: [WpBlock!]
"""
Previewed Gutenberg blocks as json string
"""
previewBlocksJSON: String
}
type WpBlockEditorContentNodeConnection {
distinct(field: WpBlockEditorContentNodeFieldsEnum!): [String!]!
edges: [WpBlockEditorContentNodeEdge!]!
group(field: WpBlockEditorContentNodeFieldsEnum!, limit: Int, skip: Int): [WpBlockEditorContentNodeGroupConnection!]!
max(field: WpBlockEditorContentNodeFieldsEnum!): Float
min(field: WpBlockEditorContentNodeFieldsEnum!): Float
nodes: [WpBlockEditorContentNode!]!
pageInfo: PageInfo!
sum(field: WpBlockEditorContentNodeFieldsEnum!): Float
totalCount: Int!
}
type WpBlockEditorContentNodeEdge {
next: WpBlockEditorContentNode
node: WpBlockEditorContentNode!
previous: WpBlockEditorContentNode
}
enum WpBlockEditorContentNodeFieldsEnum {
blocks
blocksJSON
blocks___attributesJSON
blocks___dynamicContent
blocks___innerBlocks
blocks___innerBlocks___attributesJSON
blocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___attributesJSON
blocks___innerBlocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___isDynamic
blocks___innerBlocks___innerBlocks___name
blocks___innerBlocks___innerBlocks___order
blocks___innerBlocks___innerBlocks___originalContent
blocks___innerBlocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___innerBlocks___saveContent
blocks___innerBlocks___isDynamic
blocks___innerBlocks___name
blocks___innerBlocks___order
blocks___innerBlocks___originalContent
blocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___parentNode___id
blocks___innerBlocks___saveContent
blocks___isDynamic
blocks___name
blocks___order
blocks___originalContent
blocks___parentNodeDatabaseId
blocks___parentNode___id
blocks___saveContent
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
previewBlocks
previewBlocksJSON
previewBlocks___attributesJSON
previewBlocks___dynamicContent
previewBlocks___innerBlocks
previewBlocks___innerBlocks___attributesJSON
previewBlocks___innerBlocks___dynamicContent
previewBlocks___innerBlocks___innerBlocks
previewBlocks___innerBlocks___innerBlocks___attributesJSON
previewBlocks___innerBlocks___innerBlocks___dynamicContent
previewBlocks___innerBlocks___innerBlocks___innerBlocks
previewBlocks___innerBlocks___innerBlocks___isDynamic
previewBlocks___innerBlocks___innerBlocks___name
previewBlocks___innerBlocks___innerBlocks___order
previewBlocks___innerBlocks___innerBlocks___originalContent
previewBlocks___innerBlocks___innerBlocks___parentNodeDatabaseId
previewBlocks___innerBlocks___innerBlocks___saveContent
previewBlocks___innerBlocks___isDynamic
previewBlocks___innerBlocks___name
previewBlocks___innerBlocks___order
previewBlocks___innerBlocks___originalContent
previewBlocks___innerBlocks___parentNodeDatabaseId
previewBlocks___innerBlocks___parentNode___id
previewBlocks___innerBlocks___saveContent
previewBlocks___isDynamic
previewBlocks___name
previewBlocks___order
previewBlocks___originalContent
previewBlocks___parentNodeDatabaseId
previewBlocks___parentNode___id
previewBlocks___saveContent
}
input WpBlockEditorContentNodeFilterInput {
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
children: NodeFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
previewBlocks: WpBlockFilterListInput
previewBlocksJSON: StringQueryOperatorInput
}
type WpBlockEditorContentNodeGroupConnection {
distinct(field: WpBlockEditorContentNodeFieldsEnum!): [String!]!
edges: [WpBlockEditorContentNodeEdge!]!
field: String!
fieldValue: String
group(field: WpBlockEditorContentNodeFieldsEnum!, limit: Int, skip: Int): [WpBlockEditorContentNodeGroupConnection!]!
max(field: WpBlockEditorContentNodeFieldsEnum!): Float
min(field: WpBlockEditorContentNodeFieldsEnum!): Float
nodes: [WpBlockEditorContentNode!]!
pageInfo: PageInfo!
sum(field: WpBlockEditorContentNodeFieldsEnum!): Float
totalCount: Int!
}
input WpBlockEditorContentNodeSortInput {
fields: [WpBlockEditorContentNodeFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
The BlockEditorPreview type
"""
type WpBlockEditorPreview implements Node & WpContentNode & WpDatabaseIdentifier & WpNode & WpNodeWithAuthor & WpNodeWithContentEditor & WpNodeWithTemplate & WpNodeWithTitle & WpUniformResourceIdentifiable {
"""
Connection between the NodeWithAuthor type and the User type
"""
author: WpNodeWithAuthorToUserConnectionEdge
"""
The database identifier of the author of the node
"""
authorDatabaseId: Int
"""
The globally unique identifier of the author of the node
"""
authorId: ID
blocks: [WpBlock!]
blocksJSON: String
children: [Node!]!
"""
The content of the post.
"""
content: String
"""
Connection between the ContentNode type and the ContentType type
"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""
The name of the Content Type the node belongs to
"""
contentTypeName: String!
"""
The unique identifier stored in the database
"""
databaseId: Int!
"""
Post publishing date.
"""
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The publishing date set in GMT.
"""
dateGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The desired slug of the post
"""
desiredSlug: String
"""
The RSS enclosure for the object
"""
enclosure: String
"""
The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table.
"""
guid: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The user that most recently edited the node
"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
lastUpdateTime: String
"""
The permalink of the post
"""
link: String
"""
The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time.
"""
modified(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT.
"""
modifiedGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
nodeType: String
parent: Node
previewed: WpBlockEditorContentNode
previewedDatabaseId: Int
previewedParentDatabaseId: Int
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table.
"""
slug: String
"""
The current status of the object
"""
status: String
"""
The template assigned to the node
"""
template: WpContentTemplate
"""
The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made.
"""
title: String
"""
The unique resource identifier path
"""
uri: String
}
type WpBlockEditorPreviewConnection {
distinct(field: WpBlockEditorPreviewFieldsEnum!): [String!]!
edges: [WpBlockEditorPreviewEdge!]!
group(field: WpBlockEditorPreviewFieldsEnum!, limit: Int, skip: Int): [WpBlockEditorPreviewGroupConnection!]!
max(field: WpBlockEditorPreviewFieldsEnum!): Float
min(field: WpBlockEditorPreviewFieldsEnum!): Float
nodes: [WpBlockEditorPreview!]!
pageInfo: PageInfo!
sum(field: WpBlockEditorPreviewFieldsEnum!): Float
totalCount: Int!
}
type WpBlockEditorPreviewEdge {
next: WpBlockEditorPreview
node: WpBlockEditorPreview!
previous: WpBlockEditorPreview
}
enum WpBlockEditorPreviewFieldsEnum {
authorDatabaseId
authorId
author___node___avatar___default
author___node___avatar___extraAttr
author___node___avatar___forceDefault
author___node___avatar___foundAvatar
author___node___avatar___height
author___node___avatar___rating
author___node___avatar___scheme
author___node___avatar___size
author___node___avatar___url
author___node___avatar___width
author___node___blockEditorPreviews___nodes
author___node___capKey
author___node___capabilities
author___node___children
author___node___children___children
author___node___children___id
author___node___comments___nodes
author___node___databaseId
author___node___description
author___node___email
author___node___extraCapabilities
author___node___firstName
author___node___id
author___node___internal___content
author___node___internal___contentDigest
author___node___internal___description
author___node___internal___fieldOwners
author___node___internal___ignoreType
author___node___internal___mediaType
author___node___internal___owner
author___node___internal___type
author___node___isContentNode
author___node___isTermNode
author___node___lastName
author___node___locale
author___node___name
author___node___nicename
author___node___nickname
author___node___nodeType
author___node___pages___nodes
author___node___parent___children
author___node___parent___id
author___node___posts___nodes
author___node___registeredDate
author___node___roles___nodes
author___node___slug
author___node___uri
author___node___url
author___node___username
blocks
blocksJSON
blocks___attributesJSON
blocks___dynamicContent
blocks___innerBlocks
blocks___innerBlocks___attributesJSON
blocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___attributesJSON
blocks___innerBlocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___isDynamic
blocks___innerBlocks___innerBlocks___name
blocks___innerBlocks___innerBlocks___order
blocks___innerBlocks___innerBlocks___originalContent
blocks___innerBlocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___innerBlocks___saveContent
blocks___innerBlocks___isDynamic
blocks___innerBlocks___name
blocks___innerBlocks___order
blocks___innerBlocks___originalContent
blocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___parentNode___id
blocks___innerBlocks___saveContent
blocks___isDynamic
blocks___name
blocks___order
blocks___originalContent
blocks___parentNodeDatabaseId
blocks___parentNode___id
blocks___saveContent
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
content
contentTypeName
contentType___node___archivePath
contentType___node___canExport
contentType___node___children
contentType___node___children___children
contentType___node___children___id
contentType___node___connectedTaxonomies___nodes
contentType___node___contentNodes___nodes
contentType___node___deleteWithUser
contentType___node___description
contentType___node___excludeFromSearch
contentType___node___graphqlPluralName
contentType___node___graphqlSingleName
contentType___node___hasArchive
contentType___node___hierarchical
contentType___node___id
contentType___node___internal___content
contentType___node___internal___contentDigest
contentType___node___internal___description
contentType___node___internal___fieldOwners
contentType___node___internal___ignoreType
contentType___node___internal___mediaType
contentType___node___internal___owner
contentType___node___internal___type
contentType___node___isContentNode
contentType___node___isFrontPage
contentType___node___isPostsPage
contentType___node___isTermNode
contentType___node___label
contentType___node___labels___addNew
contentType___node___labels___addNewItem
contentType___node___labels___allItems
contentType___node___labels___archives
contentType___node___labels___attributes
contentType___node___labels___editItem
contentType___node___labels___featuredImage
contentType___node___labels___filterItemsList
contentType___node___labels___insertIntoItem
contentType___node___labels___itemsList
contentType___node___labels___itemsListNavigation
contentType___node___labels___menuName
contentType___node___labels___name
contentType___node___labels___newItem
contentType___node___labels___notFound
contentType___node___labels___notFoundInTrash
contentType___node___labels___parentItemColon
contentType___node___labels___removeFeaturedImage
contentType___node___labels___searchItems
contentType___node___labels___setFeaturedImage
contentType___node___labels___singularName
contentType___node___labels___uploadedToThisItem
contentType___node___labels___useFeaturedImage
contentType___node___labels___viewItem
contentType___node___labels___viewItems
contentType___node___menuIcon
contentType___node___menuPosition
contentType___node___name
contentType___node___nodeType
contentType___node___parent___children
contentType___node___parent___id
contentType___node___public
contentType___node___publiclyQueryable
contentType___node___restBase
contentType___node___restControllerClass
contentType___node___showInAdminBar
contentType___node___showInGraphql
contentType___node___showInMenu
contentType___node___showInNavMenus
contentType___node___showInRest
contentType___node___showUi
contentType___node___uri
databaseId
date
dateGmt
desiredSlug
enclosure
guid
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isTermNode
lastEditedBy___node___avatar___default
lastEditedBy___node___avatar___extraAttr
lastEditedBy___node___avatar___forceDefault
lastEditedBy___node___avatar___foundAvatar
lastEditedBy___node___avatar___height
lastEditedBy___node___avatar___rating
lastEditedBy___node___avatar___scheme
lastEditedBy___node___avatar___size
lastEditedBy___node___avatar___url
lastEditedBy___node___avatar___width
lastEditedBy___node___blockEditorPreviews___nodes
lastEditedBy___node___capKey
lastEditedBy___node___capabilities
lastEditedBy___node___children
lastEditedBy___node___children___children
lastEditedBy___node___children___id
lastEditedBy___node___comments___nodes
lastEditedBy___node___databaseId
lastEditedBy___node___description
lastEditedBy___node___email
lastEditedBy___node___extraCapabilities
lastEditedBy___node___firstName
lastEditedBy___node___id
lastEditedBy___node___internal___content
lastEditedBy___node___internal___contentDigest
lastEditedBy___node___internal___description
lastEditedBy___node___internal___fieldOwners
lastEditedBy___node___internal___ignoreType
lastEditedBy___node___internal___mediaType
lastEditedBy___node___internal___owner
lastEditedBy___node___internal___type
lastEditedBy___node___isContentNode
lastEditedBy___node___isTermNode
lastEditedBy___node___lastName
lastEditedBy___node___locale
lastEditedBy___node___name
lastEditedBy___node___nicename
lastEditedBy___node___nickname
lastEditedBy___node___nodeType
lastEditedBy___node___pages___nodes
lastEditedBy___node___parent___children
lastEditedBy___node___parent___id
lastEditedBy___node___posts___nodes
lastEditedBy___node___registeredDate
lastEditedBy___node___roles___nodes
lastEditedBy___node___slug
lastEditedBy___node___uri
lastEditedBy___node___url
lastEditedBy___node___username
lastUpdateTime
link
modified
modifiedGmt
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
previewedDatabaseId
previewedParentDatabaseId
previewed___blocks
previewed___blocksJSON
previewed___blocks___attributesJSON
previewed___blocks___dynamicContent
previewed___blocks___innerBlocks
previewed___blocks___innerBlocks___attributesJSON
previewed___blocks___innerBlocks___dynamicContent
previewed___blocks___innerBlocks___innerBlocks
previewed___blocks___innerBlocks___isDynamic
previewed___blocks___innerBlocks___name
previewed___blocks___innerBlocks___order
previewed___blocks___innerBlocks___originalContent
previewed___blocks___innerBlocks___parentNodeDatabaseId
previewed___blocks___innerBlocks___saveContent
previewed___blocks___isDynamic
previewed___blocks___name
previewed___blocks___order
previewed___blocks___originalContent
previewed___blocks___parentNodeDatabaseId
previewed___blocks___parentNode___id
previewed___blocks___saveContent
previewed___children
previewed___children___children
previewed___children___children___children
previewed___children___children___id
previewed___children___id
previewed___children___internal___content
previewed___children___internal___contentDigest
previewed___children___internal___description
previewed___children___internal___fieldOwners
previewed___children___internal___ignoreType
previewed___children___internal___mediaType
previewed___children___internal___owner
previewed___children___internal___type
previewed___children___parent___children
previewed___children___parent___id
previewed___id
previewed___internal___content
previewed___internal___contentDigest
previewed___internal___description
previewed___internal___fieldOwners
previewed___internal___ignoreType
previewed___internal___mediaType
previewed___internal___owner
previewed___internal___type
previewed___nodeType
previewed___parent___children
previewed___parent___children___children
previewed___parent___children___id
previewed___parent___id
previewed___parent___internal___content
previewed___parent___internal___contentDigest
previewed___parent___internal___description
previewed___parent___internal___fieldOwners
previewed___parent___internal___ignoreType
previewed___parent___internal___mediaType
previewed___parent___internal___owner
previewed___parent___internal___type
previewed___parent___parent___children
previewed___parent___parent___id
previewed___previewBlocks
previewed___previewBlocksJSON
previewed___previewBlocks___attributesJSON
previewed___previewBlocks___dynamicContent
previewed___previewBlocks___innerBlocks
previewed___previewBlocks___innerBlocks___attributesJSON
previewed___previewBlocks___innerBlocks___dynamicContent
previewed___previewBlocks___innerBlocks___innerBlocks
previewed___previewBlocks___innerBlocks___isDynamic
previewed___previewBlocks___innerBlocks___name
previewed___previewBlocks___innerBlocks___order
previewed___previewBlocks___innerBlocks___originalContent
previewed___previewBlocks___innerBlocks___parentNodeDatabaseId
previewed___previewBlocks___innerBlocks___saveContent
previewed___previewBlocks___isDynamic
previewed___previewBlocks___name
previewed___previewBlocks___order
previewed___previewBlocks___originalContent
previewed___previewBlocks___parentNodeDatabaseId
previewed___previewBlocks___parentNode___id
previewed___previewBlocks___saveContent
slug
status
template___templateName
title
uri
}
input WpBlockEditorPreviewFilterInput {
author: WpNodeWithAuthorToUserConnectionEdgeFilterInput
authorDatabaseId: IntQueryOperatorInput
authorId: IDQueryOperatorInput
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
children: NodeFilterListInput
content: StringQueryOperatorInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
lastUpdateTime: StringQueryOperatorInput
link: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
previewed: WpBlockEditorContentNodeFilterInput
previewedDatabaseId: IntQueryOperatorInput
previewedParentDatabaseId: IntQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
title: StringQueryOperatorInput
uri: StringQueryOperatorInput
}
input WpBlockEditorPreviewFilterListInput {
elemMatch: WpBlockEditorPreviewFilterInput
}
type WpBlockEditorPreviewGroupConnection {
distinct(field: WpBlockEditorPreviewFieldsEnum!): [String!]!
edges: [WpBlockEditorPreviewEdge!]!
field: String!
fieldValue: String
group(field: WpBlockEditorPreviewFieldsEnum!, limit: Int, skip: Int): [WpBlockEditorPreviewGroupConnection!]!
max(field: WpBlockEditorPreviewFieldsEnum!): Float
min(field: WpBlockEditorPreviewFieldsEnum!): Float
nodes: [WpBlockEditorPreview!]!
pageInfo: PageInfo!
sum(field: WpBlockEditorPreviewFieldsEnum!): Float
totalCount: Int!
}
input WpBlockEditorPreviewSortInput {
fields: [WpBlockEditorPreviewFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
input WpBlockFilterInput {
attributesJSON: StringQueryOperatorInput
dynamicContent: StringQueryOperatorInput
innerBlocks: WpBlockFilterListInput
isDynamic: BooleanQueryOperatorInput
name: StringQueryOperatorInput
order: IntQueryOperatorInput
originalContent: StringQueryOperatorInput
parentNode: WpNodeFilterInput
parentNodeDatabaseId: IntQueryOperatorInput
saveContent: StringQueryOperatorInput
}
input WpBlockFilterListInput {
elemMatch: WpBlockFilterInput
}
"""
The category type
"""
type WpCategory implements Node & WpDatabaseIdentifier & WpHierarchicalTermNode & WpMenuItemLinkable & WpNode & WpTermNode & WpUniformResourceIdentifiable {
"""
The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root).
"""
ancestors: WpCategoryToAncestorsCategoryConnection
children: [Node!]!
"""
Connection between the category type and the ContentNode type
"""
contentNodes: WpCategoryToContentNodeConnection
"""
The number of objects connected to the object
"""
count: Int
"""
The unique resource identifier path
"""
databaseId: Int!
"""
The description of the object
"""
description: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The link to the term
"""
link: String
"""
The human friendly name of the object.
"""
name: String
nodeType: String
parent: Node
"""
Database id of the parent node
"""
parentDatabaseId: Int
"""
The globally unique identifier of the parent node.
"""
parentId: ID
"""
Connection between the category type and the post type
"""
posts: WpCategoryToPostConnection
"""
An alphanumeric identifier for the object unique to its type.
"""
slug: String
"""
Connection between the category type and the Taxonomy type
"""
taxonomy: WpCategoryToTaxonomyConnectionEdge
"""
The name of the taxonomy that the object is associated with
"""
taxonomyName: String
"""
The ID of the term group that this term object belongs to
"""
termGroupId: Int
"""
The taxonomy ID that the object is associated with
"""
termTaxonomyId: Int
"""
The unique resource identifier path
"""
uri: String
"""
Connection between the category type and the category type
"""
wpChildren: WpCategoryToCategoryConnection
"""
Connection between the category type and the category type
"""
wpParent: WpCategoryToParentCategoryConnectionEdge
}
type WpCategoryConnection {
distinct(field: WpCategoryFieldsEnum!): [String!]!
edges: [WpCategoryEdge!]!
group(field: WpCategoryFieldsEnum!, limit: Int, skip: Int): [WpCategoryGroupConnection!]!
max(field: WpCategoryFieldsEnum!): Float
min(field: WpCategoryFieldsEnum!): Float
nodes: [WpCategory!]!
pageInfo: PageInfo!
sum(field: WpCategoryFieldsEnum!): Float
totalCount: Int!
}
type WpCategoryEdge {
next: WpCategory
node: WpCategory!
previous: WpCategory
}
enum WpCategoryFieldsEnum {
ancestors___nodes
ancestors___nodes___ancestors___nodes
ancestors___nodes___children
ancestors___nodes___children___children
ancestors___nodes___children___id
ancestors___nodes___contentNodes___nodes
ancestors___nodes___count
ancestors___nodes___databaseId
ancestors___nodes___description
ancestors___nodes___id
ancestors___nodes___internal___content
ancestors___nodes___internal___contentDigest
ancestors___nodes___internal___description
ancestors___nodes___internal___fieldOwners
ancestors___nodes___internal___ignoreType
ancestors___nodes___internal___mediaType
ancestors___nodes___internal___owner
ancestors___nodes___internal___type
ancestors___nodes___isContentNode
ancestors___nodes___isTermNode
ancestors___nodes___link
ancestors___nodes___name
ancestors___nodes___nodeType
ancestors___nodes___parentDatabaseId
ancestors___nodes___parentId
ancestors___nodes___parent___children
ancestors___nodes___parent___id
ancestors___nodes___posts___nodes
ancestors___nodes___slug
ancestors___nodes___taxonomyName
ancestors___nodes___termGroupId
ancestors___nodes___termTaxonomyId
ancestors___nodes___uri
ancestors___nodes___wpChildren___nodes
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
contentNodes___nodes
contentNodes___nodes___children
contentNodes___nodes___children___children
contentNodes___nodes___children___id
contentNodes___nodes___contentTypeName
contentNodes___nodes___databaseId
contentNodes___nodes___date
contentNodes___nodes___dateGmt
contentNodes___nodes___desiredSlug
contentNodes___nodes___enclosure
contentNodes___nodes___guid
contentNodes___nodes___id
contentNodes___nodes___internal___content
contentNodes___nodes___internal___contentDigest
contentNodes___nodes___internal___description
contentNodes___nodes___internal___fieldOwners
contentNodes___nodes___internal___ignoreType
contentNodes___nodes___internal___mediaType
contentNodes___nodes___internal___owner
contentNodes___nodes___internal___type
contentNodes___nodes___isContentNode
contentNodes___nodes___isTermNode
contentNodes___nodes___link
contentNodes___nodes___modified
contentNodes___nodes___modifiedGmt
contentNodes___nodes___nodeType
contentNodes___nodes___parent___children
contentNodes___nodes___parent___id
contentNodes___nodes___slug
contentNodes___nodes___status
contentNodes___nodes___template___templateName
contentNodes___nodes___uri
count
databaseId
description
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isTermNode
link
name
nodeType
parentDatabaseId
parentId
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
posts___nodes
posts___nodes___authorDatabaseId
posts___nodes___authorId
posts___nodes___blocks
posts___nodes___blocksJSON
posts___nodes___blocks___attributesJSON
posts___nodes___blocks___dynamicContent
posts___nodes___blocks___innerBlocks
posts___nodes___blocks___isDynamic
posts___nodes___blocks___name
posts___nodes___blocks___order
posts___nodes___blocks___originalContent
posts___nodes___blocks___parentNodeDatabaseId
posts___nodes___blocks___saveContent
posts___nodes___categories___nodes
posts___nodes___children
posts___nodes___children___children
posts___nodes___children___id
posts___nodes___commentCount
posts___nodes___commentStatus
posts___nodes___comments___nodes
posts___nodes___content
posts___nodes___contentTypeName
posts___nodes___databaseId
posts___nodes___date
posts___nodes___dateGmt
posts___nodes___desiredSlug
posts___nodes___enclosure
posts___nodes___excerpt
posts___nodes___featuredImageDatabaseId
posts___nodes___featuredImageId
posts___nodes___guid
posts___nodes___id
posts___nodes___internal___content
posts___nodes___internal___contentDigest
posts___nodes___internal___description
posts___nodes___internal___fieldOwners
posts___nodes___internal___ignoreType
posts___nodes___internal___mediaType
posts___nodes___internal___owner
posts___nodes___internal___type
posts___nodes___isContentNode
posts___nodes___isRevision
posts___nodes___isSticky
posts___nodes___isTermNode
posts___nodes___link
posts___nodes___modified
posts___nodes___modifiedGmt
posts___nodes___nodeType
posts___nodes___parent___children
posts___nodes___parent___id
posts___nodes___pingStatus
posts___nodes___pinged
posts___nodes___postFormats___nodes
posts___nodes___previewBlocks
posts___nodes___previewBlocksJSON
posts___nodes___previewBlocks___attributesJSON
posts___nodes___previewBlocks___dynamicContent
posts___nodes___previewBlocks___innerBlocks
posts___nodes___previewBlocks___isDynamic
posts___nodes___previewBlocks___name
posts___nodes___previewBlocks___order
posts___nodes___previewBlocks___originalContent
posts___nodes___previewBlocks___parentNodeDatabaseId
posts___nodes___previewBlocks___saveContent
posts___nodes___slug
posts___nodes___status
posts___nodes___tags___nodes
posts___nodes___template___templateName
posts___nodes___terms___nodes
posts___nodes___title
posts___nodes___toPing
posts___nodes___uri
slug
taxonomyName
taxonomy___node___archivePath
taxonomy___node___children
taxonomy___node___children___children
taxonomy___node___children___id
taxonomy___node___connectedContentTypes___nodes
taxonomy___node___description
taxonomy___node___graphqlPluralName
taxonomy___node___graphqlSingleName
taxonomy___node___hierarchical
taxonomy___node___id
taxonomy___node___internal___content
taxonomy___node___internal___contentDigest
taxonomy___node___internal___description
taxonomy___node___internal___fieldOwners
taxonomy___node___internal___ignoreType
taxonomy___node___internal___mediaType
taxonomy___node___internal___owner
taxonomy___node___internal___type
taxonomy___node___label
taxonomy___node___name
taxonomy___node___nodeType
taxonomy___node___parent___children
taxonomy___node___parent___id
taxonomy___node___public
taxonomy___node___restBase
taxonomy___node___restControllerClass
taxonomy___node___showCloud
taxonomy___node___showInAdminColumn
taxonomy___node___showInGraphql
taxonomy___node___showInMenu
taxonomy___node___showInNavMenus
taxonomy___node___showInQuickEdit
taxonomy___node___showInRest
taxonomy___node___showUi
termGroupId
termTaxonomyId
uri
wpChildren___nodes
wpChildren___nodes___ancestors___nodes
wpChildren___nodes___children
wpChildren___nodes___children___children
wpChildren___nodes___children___id
wpChildren___nodes___contentNodes___nodes
wpChildren___nodes___count
wpChildren___nodes___databaseId
wpChildren___nodes___description
wpChildren___nodes___id
wpChildren___nodes___internal___content
wpChildren___nodes___internal___contentDigest
wpChildren___nodes___internal___description
wpChildren___nodes___internal___fieldOwners
wpChildren___nodes___internal___ignoreType
wpChildren___nodes___internal___mediaType
wpChildren___nodes___internal___owner
wpChildren___nodes___internal___type
wpChildren___nodes___isContentNode
wpChildren___nodes___isTermNode
wpChildren___nodes___link
wpChildren___nodes___name
wpChildren___nodes___nodeType
wpChildren___nodes___parentDatabaseId
wpChildren___nodes___parentId
wpChildren___nodes___parent___children
wpChildren___nodes___parent___id
wpChildren___nodes___posts___nodes
wpChildren___nodes___slug
wpChildren___nodes___taxonomyName
wpChildren___nodes___termGroupId
wpChildren___nodes___termTaxonomyId
wpChildren___nodes___uri
wpChildren___nodes___wpChildren___nodes
wpParent___node___ancestors___nodes
wpParent___node___children
wpParent___node___children___children
wpParent___node___children___id
wpParent___node___contentNodes___nodes
wpParent___node___count
wpParent___node___databaseId
wpParent___node___description
wpParent___node___id
wpParent___node___internal___content
wpParent___node___internal___contentDigest
wpParent___node___internal___description
wpParent___node___internal___fieldOwners
wpParent___node___internal___ignoreType
wpParent___node___internal___mediaType
wpParent___node___internal___owner
wpParent___node___internal___type
wpParent___node___isContentNode
wpParent___node___isTermNode
wpParent___node___link
wpParent___node___name
wpParent___node___nodeType
wpParent___node___parentDatabaseId
wpParent___node___parentId
wpParent___node___parent___children
wpParent___node___parent___id
wpParent___node___posts___nodes
wpParent___node___slug
wpParent___node___taxonomyName
wpParent___node___termGroupId
wpParent___node___termTaxonomyId
wpParent___node___uri
wpParent___node___wpChildren___nodes
}
input WpCategoryFilterInput {
ancestors: WpCategoryToAncestorsCategoryConnectionFilterInput
children: NodeFilterListInput
contentNodes: WpCategoryToContentNodeConnectionFilterInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
link: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
posts: WpCategoryToPostConnectionFilterInput
slug: StringQueryOperatorInput
taxonomy: WpCategoryToTaxonomyConnectionEdgeFilterInput
taxonomyName: StringQueryOperatorInput
termGroupId: IntQueryOperatorInput
termTaxonomyId: IntQueryOperatorInput
uri: StringQueryOperatorInput
wpChildren: WpCategoryToCategoryConnectionFilterInput
wpParent: WpCategoryToParentCategoryConnectionEdgeFilterInput
}
input WpCategoryFilterListInput {
elemMatch: WpCategoryFilterInput
}
type WpCategoryGroupConnection {
distinct(field: WpCategoryFieldsEnum!): [String!]!
edges: [WpCategoryEdge!]!
field: String!
fieldValue: String
group(field: WpCategoryFieldsEnum!, limit: Int, skip: Int): [WpCategoryGroupConnection!]!
max(field: WpCategoryFieldsEnum!): Float
min(field: WpCategoryFieldsEnum!): Float
nodes: [WpCategory!]!
pageInfo: PageInfo!
sum(field: WpCategoryFieldsEnum!): Float
totalCount: Int!
}
input WpCategorySortInput {
fields: [WpCategoryFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the category type and the category type
"""
type WpCategoryToAncestorsCategoryConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpCategory]
}
input WpCategoryToAncestorsCategoryConnectionFilterInput {
nodes: WpCategoryFilterListInput
}
"""
Connection between the category type and the category type
"""
type WpCategoryToCategoryConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpCategory]
}
input WpCategoryToCategoryConnectionFilterInput {
nodes: WpCategoryFilterListInput
}
"""
Connection between the category type and the ContentNode type
"""
type WpCategoryToContentNodeConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpContentNode]
}
input WpCategoryToContentNodeConnectionFilterInput {
nodes: WpContentNodeFilterListInput
}
"""
Connection between the category type and the category type
"""
type WpCategoryToParentCategoryConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpCategory
}
input WpCategoryToParentCategoryConnectionEdgeFilterInput {
node: WpCategoryFilterInput
}
"""
Connection between the category type and the post type
"""
type WpCategoryToPostConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpPost]
}
input WpCategoryToPostConnectionFilterInput {
nodes: WpPostFilterListInput
}
"""
Connection between the category type and the Taxonomy type
"""
type WpCategoryToTaxonomyConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpTaxonomy
}
input WpCategoryToTaxonomyConnectionEdgeFilterInput {
node: WpTaxonomyFilterInput
}
"""
A Comment object
"""
type WpComment implements Node & WpDatabaseIdentifier & WpNode {
"""
User agent used to post the comment. This field is equivalent to WP_Comment->comment_agent and the value matching the "comment_agent" column in SQL.
"""
agent: String
"""
The approval status of the comment. This field is equivalent to WP_Comment->comment_approved and the value matching the "comment_approved" column in SQL.
"""
approved: Boolean
"""
The author of the comment
"""
author: WpCommentToCommenterConnectionEdge
"""
IP address for the author. This field is equivalent to WP_Comment->comment_author_IP and the value matching the "comment_author_IP" column in SQL.
"""
authorIp: String
children: [Node!]!
"""
Connection between the Comment type and the ContentNode type
"""
commentedOn: WpCommentToContentNodeConnectionEdge
"""
Content of the comment. This field is equivalent to WP_Comment->comment_content and the value matching the "comment_content" column in SQL.
"""
content: String
"""
The unique identifier stored in the database
"""
databaseId: Int!
"""
Date the comment was posted in local time. This field is equivalent to WP_Comment->date and the value matching the "date" column in SQL.
"""
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
Date the comment was posted in GMT. This field is equivalent to WP_Comment->date_gmt and the value matching the "date_gmt" column in SQL.
"""
dateGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
id: ID!
internal: Internal!
"""
Karma value for the comment. This field is equivalent to WP_Comment->comment_karma and the value matching the "comment_karma" column in SQL.
"""
karma: Int
nodeType: String
parent: Node
"""
The database id of the parent comment node or null if it is the root comment
"""
parentDatabaseId: Int
"""
The globally unique identifier of the parent comment node.
"""
parentId: ID
"""
Connection between the Comment type and the Comment type
"""
replies: WpCommentToCommentConnection
"""
Type of comment. This field is equivalent to WP_Comment->comment_type and the value matching the "comment_type" column in SQL.
"""
type: String
"""
Connection between the Comment type and the Comment type
"""
wpParent: WpCommentToParentCommentConnectionEdge
}
"""
A Comment Author object
"""
type WpCommentAuthor implements Node & WpCommenter & WpNode {
"""
Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument.
"""
avatar: WpAvatar
children: [Node!]!
"""
Identifies the primary key from the database.
"""
databaseId: Int!
"""
The email for the comment author
"""
email: String
id: ID!
internal: Internal!
"""
The name for the comment author.
"""
name: String
nodeType: String
parent: Node
"""
The url the comment author.
"""
url: String
}
type WpCommentAuthorConnection {
distinct(field: WpCommentAuthorFieldsEnum!): [String!]!
edges: [WpCommentAuthorEdge!]!
group(field: WpCommentAuthorFieldsEnum!, limit: Int, skip: Int): [WpCommentAuthorGroupConnection!]!
max(field: WpCommentAuthorFieldsEnum!): Float
min(field: WpCommentAuthorFieldsEnum!): Float
nodes: [WpCommentAuthor!]!
pageInfo: PageInfo!
sum(field: WpCommentAuthorFieldsEnum!): Float
totalCount: Int!
}
type WpCommentAuthorEdge {
next: WpCommentAuthor
node: WpCommentAuthor!
previous: WpCommentAuthor
}
enum WpCommentAuthorFieldsEnum {
avatar___default
avatar___extraAttr
avatar___forceDefault
avatar___foundAvatar
avatar___height
avatar___rating
avatar___scheme
avatar___size
avatar___url
avatar___width
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
databaseId
email
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
name
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
url
}
input WpCommentAuthorFilterInput {
avatar: WpAvatarFilterInput
children: NodeFilterListInput
databaseId: IntQueryOperatorInput
email: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
url: StringQueryOperatorInput
}
type WpCommentAuthorGroupConnection {
distinct(field: WpCommentAuthorFieldsEnum!): [String!]!
edges: [WpCommentAuthorEdge!]!
field: String!
fieldValue: String
group(field: WpCommentAuthorFieldsEnum!, limit: Int, skip: Int): [WpCommentAuthorGroupConnection!]!
max(field: WpCommentAuthorFieldsEnum!): Float
min(field: WpCommentAuthorFieldsEnum!): Float
nodes: [WpCommentAuthor!]!
pageInfo: PageInfo!
sum(field: WpCommentAuthorFieldsEnum!): Float
totalCount: Int!
}
input WpCommentAuthorSortInput {
fields: [WpCommentAuthorFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
type WpCommentConnection {
distinct(field: WpCommentFieldsEnum!): [String!]!
edges: [WpCommentEdge!]!
group(field: WpCommentFieldsEnum!, limit: Int, skip: Int): [WpCommentGroupConnection!]!
max(field: WpCommentFieldsEnum!): Float
min(field: WpCommentFieldsEnum!): Float
nodes: [WpComment!]!
pageInfo: PageInfo!
sum(field: WpCommentFieldsEnum!): Float
totalCount: Int!
}
type WpCommentEdge {
next: WpComment
node: WpComment!
previous: WpComment
}
enum WpCommentFieldsEnum {
agent
approved
authorIp
author___node___avatar___default
author___node___avatar___extraAttr
author___node___avatar___forceDefault
author___node___avatar___foundAvatar
author___node___avatar___height
author___node___avatar___rating
author___node___avatar___scheme
author___node___avatar___size
author___node___avatar___url
author___node___avatar___width
author___node___databaseId
author___node___email
author___node___id
author___node___name
author___node___url
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
commentedOn___node___children
commentedOn___node___children___children
commentedOn___node___children___id
commentedOn___node___contentTypeName
commentedOn___node___databaseId
commentedOn___node___date
commentedOn___node___dateGmt
commentedOn___node___desiredSlug
commentedOn___node___enclosure
commentedOn___node___guid
commentedOn___node___id
commentedOn___node___internal___content
commentedOn___node___internal___contentDigest
commentedOn___node___internal___description
commentedOn___node___internal___fieldOwners
commentedOn___node___internal___ignoreType
commentedOn___node___internal___mediaType
commentedOn___node___internal___owner
commentedOn___node___internal___type
commentedOn___node___isContentNode
commentedOn___node___isTermNode
commentedOn___node___link
commentedOn___node___modified
commentedOn___node___modifiedGmt
commentedOn___node___nodeType
commentedOn___node___parent___children
commentedOn___node___parent___id
commentedOn___node___slug
commentedOn___node___status
commentedOn___node___template___templateName
commentedOn___node___uri
content
databaseId
date
dateGmt
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
karma
nodeType
parentDatabaseId
parentId
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
replies___nodes
replies___nodes___agent
replies___nodes___approved
replies___nodes___authorIp
replies___nodes___children
replies___nodes___children___children
replies___nodes___children___id
replies___nodes___content
replies___nodes___databaseId
replies___nodes___date
replies___nodes___dateGmt
replies___nodes___id
replies___nodes___internal___content
replies___nodes___internal___contentDigest
replies___nodes___internal___description
replies___nodes___internal___fieldOwners
replies___nodes___internal___ignoreType
replies___nodes___internal___mediaType
replies___nodes___internal___owner
replies___nodes___internal___type
replies___nodes___karma
replies___nodes___nodeType
replies___nodes___parentDatabaseId
replies___nodes___parentId
replies___nodes___parent___children
replies___nodes___parent___id
replies___nodes___replies___nodes
replies___nodes___type
type
wpParent___node___agent
wpParent___node___approved
wpParent___node___authorIp
wpParent___node___children
wpParent___node___children___children
wpParent___node___children___id
wpParent___node___content
wpParent___node___databaseId
wpParent___node___date
wpParent___node___dateGmt
wpParent___node___id
wpParent___node___internal___content
wpParent___node___internal___contentDigest
wpParent___node___internal___description
wpParent___node___internal___fieldOwners
wpParent___node___internal___ignoreType
wpParent___node___internal___mediaType
wpParent___node___internal___owner
wpParent___node___internal___type
wpParent___node___karma
wpParent___node___nodeType
wpParent___node___parentDatabaseId
wpParent___node___parentId
wpParent___node___parent___children
wpParent___node___parent___id
wpParent___node___replies___nodes
wpParent___node___type
}
input WpCommentFilterInput {
agent: StringQueryOperatorInput
approved: BooleanQueryOperatorInput
author: WpCommentToCommenterConnectionEdgeFilterInput
authorIp: StringQueryOperatorInput
children: NodeFilterListInput
commentedOn: WpCommentToContentNodeConnectionEdgeFilterInput
content: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
karma: IntQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
replies: WpCommentToCommentConnectionFilterInput
type: StringQueryOperatorInput
wpParent: WpCommentToParentCommentConnectionEdgeFilterInput
}
input WpCommentFilterListInput {
elemMatch: WpCommentFilterInput
}
type WpCommentGroupConnection {
distinct(field: WpCommentFieldsEnum!): [String!]!
edges: [WpCommentEdge!]!
field: String!
fieldValue: String
group(field: WpCommentFieldsEnum!, limit: Int, skip: Int): [WpCommentGroupConnection!]!
max(field: WpCommentFieldsEnum!): Float
min(field: WpCommentFieldsEnum!): Float
nodes: [WpComment!]!
pageInfo: PageInfo!
sum(field: WpCommentFieldsEnum!): Float
totalCount: Int!
}
input WpCommentSortInput {
fields: [WpCommentFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the Comment type and the Comment type
"""
type WpCommentToCommentConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpComment]
}
input WpCommentToCommentConnectionFilterInput {
nodes: WpCommentFilterListInput
}
"""
Connection between the Comment type and the Commenter type
"""
type WpCommentToCommenterConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpCommenter
}
input WpCommentToCommenterConnectionEdgeFilterInput {
node: WpCommenterFilterInput
}
"""
Connection between the Comment type and the ContentNode type
"""
type WpCommentToContentNodeConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpContentNode
}
input WpCommentToContentNodeConnectionEdgeFilterInput {
node: WpContentNodeFilterInput
}
"""
Connection between the Comment type and the Comment type
"""
type WpCommentToParentCommentConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpComment
}
input WpCommentToParentCommentConnectionEdgeFilterInput {
node: WpCommentFilterInput
}
interface WpCommenter {
"""
Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument.
"""
avatar: WpAvatar
"""
Identifies the primary key from the database.
"""
databaseId: Int!
"""
The email address of the author of a comment.
"""
email: String
"""
The globally unique identifier for the comment author.
"""
id: ID!
"""
The name of the author of a comment.
"""
name: String
"""
The url of the author of a comment.
"""
url: String
}
input WpCommenterFilterInput {
avatar: WpAvatarFilterInput
databaseId: IntQueryOperatorInput
email: StringQueryOperatorInput
id: IDQueryOperatorInput
name: StringQueryOperatorInput
url: StringQueryOperatorInput
}
type WpConnection {
distinct(field: WpFieldsEnum!): [String!]!
edges: [WpEdge!]!
group(field: WpFieldsEnum!, limit: Int, skip: Int): [WpGroupConnection!]!
max(field: WpFieldsEnum!): Float
min(field: WpFieldsEnum!): Float
nodes: [Wp!]!
pageInfo: PageInfo!
sum(field: WpFieldsEnum!): Float
totalCount: Int!
}
interface WpContentNode implements Node {
children: [Node!]!
"""
Connection between the ContentNode type and the ContentType type
"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""
The name of the Content Type the node belongs to
"""
contentTypeName: String!
"""
The ID of the node in the database.
"""
databaseId: Int!
"""
Post publishing date.
"""
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The publishing date set in GMT.
"""
dateGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The desired slug of the post
"""
desiredSlug: String
"""
The RSS enclosure for the object
"""
enclosure: String
"""
The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table.
"""
guid: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The user that most recently edited the node
"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
"""
The permalink of the post
"""
link: String
"""
The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time.
"""
modified(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT.
"""
modifiedGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
nodeType: String
parent: Node
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table.
"""
slug: String
"""
The current status of the object
"""
status: String
"""
The template assigned to a node of content
"""
template: WpContentTemplate
"""
The unique resource identifier path
"""
uri: String
}
type WpContentNodeConnection {
distinct(field: WpContentNodeFieldsEnum!): [String!]!
edges: [WpContentNodeEdge!]!
group(field: WpContentNodeFieldsEnum!, limit: Int, skip: Int): [WpContentNodeGroupConnection!]!
max(field: WpContentNodeFieldsEnum!): Float
min(field: WpContentNodeFieldsEnum!): Float
nodes: [WpContentNode!]!
pageInfo: PageInfo!
sum(field: WpContentNodeFieldsEnum!): Float
totalCount: Int!
}
type WpContentNodeEdge {
next: WpContentNode
node: WpContentNode!
previous: WpContentNode
}
enum WpContentNodeFieldsEnum {
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
contentTypeName
contentType___node___archivePath
contentType___node___canExport
contentType___node___children
contentType___node___children___children
contentType___node___children___id
contentType___node___connectedTaxonomies___nodes
contentType___node___contentNodes___nodes
contentType___node___deleteWithUser
contentType___node___description
contentType___node___excludeFromSearch
contentType___node___graphqlPluralName
contentType___node___graphqlSingleName
contentType___node___hasArchive
contentType___node___hierarchical
contentType___node___id
contentType___node___internal___content
contentType___node___internal___contentDigest
contentType___node___internal___description
contentType___node___internal___fieldOwners
contentType___node___internal___ignoreType
contentType___node___internal___mediaType
contentType___node___internal___owner
contentType___node___internal___type
contentType___node___isContentNode
contentType___node___isFrontPage
contentType___node___isPostsPage
contentType___node___isTermNode
contentType___node___label
contentType___node___labels___addNew
contentType___node___labels___addNewItem
contentType___node___labels___allItems
contentType___node___labels___archives
contentType___node___labels___attributes
contentType___node___labels___editItem
contentType___node___labels___featuredImage
contentType___node___labels___filterItemsList
contentType___node___labels___insertIntoItem
contentType___node___labels___itemsList
contentType___node___labels___itemsListNavigation
contentType___node___labels___menuName
contentType___node___labels___name
contentType___node___labels___newItem
contentType___node___labels___notFound
contentType___node___labels___notFoundInTrash
contentType___node___labels___parentItemColon
contentType___node___labels___removeFeaturedImage
contentType___node___labels___searchItems
contentType___node___labels___setFeaturedImage
contentType___node___labels___singularName
contentType___node___labels___uploadedToThisItem
contentType___node___labels___useFeaturedImage
contentType___node___labels___viewItem
contentType___node___labels___viewItems
contentType___node___menuIcon
contentType___node___menuPosition
contentType___node___name
contentType___node___nodeType
contentType___node___parent___children
contentType___node___parent___id
contentType___node___public
contentType___node___publiclyQueryable
contentType___node___restBase
contentType___node___restControllerClass
contentType___node___showInAdminBar
contentType___node___showInGraphql
contentType___node___showInMenu
contentType___node___showInNavMenus
contentType___node___showInRest
contentType___node___showUi
contentType___node___uri
databaseId
date
dateGmt
desiredSlug
enclosure
guid
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isTermNode
lastEditedBy___node___avatar___default
lastEditedBy___node___avatar___extraAttr
lastEditedBy___node___avatar___forceDefault
lastEditedBy___node___avatar___foundAvatar
lastEditedBy___node___avatar___height
lastEditedBy___node___avatar___rating
lastEditedBy___node___avatar___scheme
lastEditedBy___node___avatar___size
lastEditedBy___node___avatar___url
lastEditedBy___node___avatar___width
lastEditedBy___node___blockEditorPreviews___nodes
lastEditedBy___node___capKey
lastEditedBy___node___capabilities
lastEditedBy___node___children
lastEditedBy___node___children___children
lastEditedBy___node___children___id
lastEditedBy___node___comments___nodes
lastEditedBy___node___databaseId
lastEditedBy___node___description
lastEditedBy___node___email
lastEditedBy___node___extraCapabilities
lastEditedBy___node___firstName
lastEditedBy___node___id
lastEditedBy___node___internal___content
lastEditedBy___node___internal___contentDigest
lastEditedBy___node___internal___description
lastEditedBy___node___internal___fieldOwners
lastEditedBy___node___internal___ignoreType
lastEditedBy___node___internal___mediaType
lastEditedBy___node___internal___owner
lastEditedBy___node___internal___type
lastEditedBy___node___isContentNode
lastEditedBy___node___isTermNode
lastEditedBy___node___lastName
lastEditedBy___node___locale
lastEditedBy___node___name
lastEditedBy___node___nicename
lastEditedBy___node___nickname
lastEditedBy___node___nodeType
lastEditedBy___node___pages___nodes
lastEditedBy___node___parent___children
lastEditedBy___node___parent___id
lastEditedBy___node___posts___nodes
lastEditedBy___node___registeredDate
lastEditedBy___node___roles___nodes
lastEditedBy___node___slug
lastEditedBy___node___uri
lastEditedBy___node___url
lastEditedBy___node___username
link
modified
modifiedGmt
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
slug
status
template___templateName
uri
}
input WpContentNodeFilterInput {
children: NodeFilterListInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
uri: StringQueryOperatorInput
}
input WpContentNodeFilterListInput {
elemMatch: WpContentNodeFilterInput
}
type WpContentNodeGroupConnection {
distinct(field: WpContentNodeFieldsEnum!): [String!]!
edges: [WpContentNodeEdge!]!
field: String!
fieldValue: String
group(field: WpContentNodeFieldsEnum!, limit: Int, skip: Int): [WpContentNodeGroupConnection!]!
max(field: WpContentNodeFieldsEnum!): Float
min(field: WpContentNodeFieldsEnum!): Float
nodes: [WpContentNode!]!
pageInfo: PageInfo!
sum(field: WpContentNodeFieldsEnum!): Float
totalCount: Int!
}
input WpContentNodeSortInput {
fields: [WpContentNodeFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the ContentNode type and the ContentType type
"""
type WpContentNodeToContentTypeConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpContentType
}
input WpContentNodeToContentTypeConnectionEdgeFilterInput {
node: WpContentTypeFilterInput
}
"""
Connection between the ContentNode type and the User type
"""
type WpContentNodeToEditLastConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpUser
}
input WpContentNodeToEditLastConnectionEdgeFilterInput {
node: WpUserFilterInput
}
"""
Connection between the ContentNode type and the User type
"""
type WpContentNodeToEditLockConnectionEdge {
"""
The timestamp for when the node was last edited
"""
lockTimestamp: String
"""
The node of the connection, without the edges
"""
node: WpUser
}
interface WpContentTemplate {
"""
The name of the template
"""
templateName: String
}
input WpContentTemplateFilterInput {
templateName: StringQueryOperatorInput
}
"""
An Post Type object
"""
type WpContentType implements Node & WpNode & WpUniformResourceIdentifiable {
"""
The url path of the first page of the archive page for this content type.
"""
archivePath: String
"""
Whether this content type should can be exported.
"""
canExport: Boolean
children: [Node!]!
"""
Connection between the ContentType type and the Taxonomy type
"""
connectedTaxonomies: WpContentTypeToTaxonomyConnection
"""
Connection between the ContentType type and the ContentNode type
"""
contentNodes: WpContentTypeToContentNodeConnection
"""
Whether content of this type should be deleted when the author of it is deleted from the system.
"""
deleteWithUser: Boolean
"""
Description of the content type.
"""
description: String
"""
Whether to exclude nodes of this content type from front end search results.
"""
excludeFromSearch: Boolean
"""
The plural name of the content type within the GraphQL Schema.
"""
graphqlPluralName: String
"""
The singular name of the content type within the GraphQL Schema.
"""
graphqlSingleName: String
"""
Whether this content type should have archives. Content archives are generated by type and by date.
"""
hasArchive: Boolean
"""
Whether the content type is hierarchical, for example pages.
"""
hierarchical: Boolean
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether this page is set to the static front page.
"""
isFrontPage: Boolean!
"""
Whether this page is set to the blog posts page.
"""
isPostsPage: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
Display name of the content type.
"""
label: String
"""
Details about the content type labels.
"""
labels: WpPostTypeLabelDetails
"""
The name of the icon file to display as a menu icon.
"""
menuIcon: String
"""
The position of this post type in the menu. Only applies if show_in_menu is true.
"""
menuPosition: Int
"""
The internal name of the post type. This should not be used for display purposes.
"""
name: String
nodeType: String
parent: Node
"""
Whether a content type is intended for use publicly either via the admin interface or by front-end users. While the default settings of exclude_from_search, publicly_queryable, show_ui, and show_in_nav_menus are inherited from public, each does not rely on this relationship and controls a very specific intention.
"""
public: Boolean
"""
Whether queries can be performed on the front end for the content type as part of parse_request().
"""
publiclyQueryable: Boolean
"""
Name of content type to display in REST API "wp/v2" namespace.
"""
restBase: String
"""
The REST Controller class assigned to handling this content type.
"""
restControllerClass: String
"""
Makes this content type available via the admin bar.
"""
showInAdminBar: Boolean
"""
Whether to add the content type to the GraphQL Schema.
"""
showInGraphql: Boolean
"""
Where to show the content type in the admin menu. To work, $show_ui must be true. If true, the post type is shown in its own top level menu. If false, no menu is shown. If a string of an existing top level menu (eg. "tools.php" or "edit.php?post_type=page"), the post type will be placed as a sub-menu of that.
"""
showInMenu: Boolean
"""
Makes this content type available for selection in navigation menus.
"""
showInNavMenus: Boolean
"""
Whether the content type is associated with a route under the the REST API "wp/v2" namespace.
"""
showInRest: Boolean
"""
Whether to generate and allow a UI for managing this content type in the admin.
"""
showUi: Boolean
"""
The unique resource identifier path
"""
uri: String
}
type WpContentTypeConnection {
distinct(field: WpContentTypeFieldsEnum!): [String!]!
edges: [WpContentTypeEdge!]!
group(field: WpContentTypeFieldsEnum!, limit: Int, skip: Int): [WpContentTypeGroupConnection!]!
max(field: WpContentTypeFieldsEnum!): Float
min(field: WpContentTypeFieldsEnum!): Float
nodes: [WpContentType!]!
pageInfo: PageInfo!
sum(field: WpContentTypeFieldsEnum!): Float
totalCount: Int!
}
type WpContentTypeEdge {
next: WpContentType
node: WpContentType!
previous: WpContentType
}
enum WpContentTypeFieldsEnum {
archivePath
canExport
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
connectedTaxonomies___nodes
connectedTaxonomies___nodes___archivePath
connectedTaxonomies___nodes___children
connectedTaxonomies___nodes___children___children
connectedTaxonomies___nodes___children___id
connectedTaxonomies___nodes___connectedContentTypes___nodes
connectedTaxonomies___nodes___description
connectedTaxonomies___nodes___graphqlPluralName
connectedTaxonomies___nodes___graphqlSingleName
connectedTaxonomies___nodes___hierarchical
connectedTaxonomies___nodes___id
connectedTaxonomies___nodes___internal___content
connectedTaxonomies___nodes___internal___contentDigest
connectedTaxonomies___nodes___internal___description
connectedTaxonomies___nodes___internal___fieldOwners
connectedTaxonomies___nodes___internal___ignoreType
connectedTaxonomies___nodes___internal___mediaType
connectedTaxonomies___nodes___internal___owner
connectedTaxonomies___nodes___internal___type
connectedTaxonomies___nodes___label
connectedTaxonomies___nodes___name
connectedTaxonomies___nodes___nodeType
connectedTaxonomies___nodes___parent___children
connectedTaxonomies___nodes___parent___id
connectedTaxonomies___nodes___public
connectedTaxonomies___nodes___restBase
connectedTaxonomies___nodes___restControllerClass
connectedTaxonomies___nodes___showCloud
connectedTaxonomies___nodes___showInAdminColumn
connectedTaxonomies___nodes___showInGraphql
connectedTaxonomies___nodes___showInMenu
connectedTaxonomies___nodes___showInNavMenus
connectedTaxonomies___nodes___showInQuickEdit
connectedTaxonomies___nodes___showInRest
connectedTaxonomies___nodes___showUi
contentNodes___nodes
contentNodes___nodes___children
contentNodes___nodes___children___children
contentNodes___nodes___children___id
contentNodes___nodes___contentTypeName
contentNodes___nodes___databaseId
contentNodes___nodes___date
contentNodes___nodes___dateGmt
contentNodes___nodes___desiredSlug
contentNodes___nodes___enclosure
contentNodes___nodes___guid
contentNodes___nodes___id
contentNodes___nodes___internal___content
contentNodes___nodes___internal___contentDigest
contentNodes___nodes___internal___description
contentNodes___nodes___internal___fieldOwners
contentNodes___nodes___internal___ignoreType
contentNodes___nodes___internal___mediaType
contentNodes___nodes___internal___owner
contentNodes___nodes___internal___type
contentNodes___nodes___isContentNode
contentNodes___nodes___isTermNode
contentNodes___nodes___link
contentNodes___nodes___modified
contentNodes___nodes___modifiedGmt
contentNodes___nodes___nodeType
contentNodes___nodes___parent___children
contentNodes___nodes___parent___id
contentNodes___nodes___slug
contentNodes___nodes___status
contentNodes___nodes___template___templateName
contentNodes___nodes___uri
deleteWithUser
description
excludeFromSearch
graphqlPluralName
graphqlSingleName
hasArchive
hierarchical
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isFrontPage
isPostsPage
isTermNode
label
labels___addNew
labels___addNewItem
labels___allItems
labels___archives
labels___attributes
labels___editItem
labels___featuredImage
labels___filterItemsList
labels___insertIntoItem
labels___itemsList
labels___itemsListNavigation
labels___menuName
labels___name
labels___newItem
labels___notFound
labels___notFoundInTrash
labels___parentItemColon
labels___removeFeaturedImage
labels___searchItems
labels___setFeaturedImage
labels___singularName
labels___uploadedToThisItem
labels___useFeaturedImage
labels___viewItem
labels___viewItems
menuIcon
menuPosition
name
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
public
publiclyQueryable
restBase
restControllerClass
showInAdminBar
showInGraphql
showInMenu
showInNavMenus
showInRest
showUi
uri
}
input WpContentTypeFilterInput {
archivePath: StringQueryOperatorInput
canExport: BooleanQueryOperatorInput
children: NodeFilterListInput
connectedTaxonomies: WpContentTypeToTaxonomyConnectionFilterInput
contentNodes: WpContentTypeToContentNodeConnectionFilterInput
deleteWithUser: BooleanQueryOperatorInput
description: StringQueryOperatorInput
excludeFromSearch: BooleanQueryOperatorInput
graphqlPluralName: StringQueryOperatorInput
graphqlSingleName: StringQueryOperatorInput
hasArchive: BooleanQueryOperatorInput
hierarchical: BooleanQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isFrontPage: BooleanQueryOperatorInput
isPostsPage: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
label: StringQueryOperatorInput
labels: WpPostTypeLabelDetailsFilterInput
menuIcon: StringQueryOperatorInput
menuPosition: IntQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
public: BooleanQueryOperatorInput
publiclyQueryable: BooleanQueryOperatorInput
restBase: StringQueryOperatorInput
restControllerClass: StringQueryOperatorInput
showInAdminBar: BooleanQueryOperatorInput
showInGraphql: BooleanQueryOperatorInput
showInMenu: BooleanQueryOperatorInput
showInNavMenus: BooleanQueryOperatorInput
showInRest: BooleanQueryOperatorInput
showUi: BooleanQueryOperatorInput
uri: StringQueryOperatorInput
}
input WpContentTypeFilterListInput {
elemMatch: WpContentTypeFilterInput
}
type WpContentTypeGroupConnection {
distinct(field: WpContentTypeFieldsEnum!): [String!]!
edges: [WpContentTypeEdge!]!
field: String!
fieldValue: String
group(field: WpContentTypeFieldsEnum!, limit: Int, skip: Int): [WpContentTypeGroupConnection!]!
max(field: WpContentTypeFieldsEnum!): Float
min(field: WpContentTypeFieldsEnum!): Float
nodes: [WpContentType!]!
pageInfo: PageInfo!
sum(field: WpContentTypeFieldsEnum!): Float
totalCount: Int!
}
input WpContentTypeSortInput {
fields: [WpContentTypeFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the ContentType type and the ContentNode type
"""
type WpContentTypeToContentNodeConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpContentNode]
}
input WpContentTypeToContentNodeConnectionFilterInput {
nodes: WpContentNodeFilterListInput
}
"""
Connection between the ContentType type and the Taxonomy type
"""
type WpContentTypeToTaxonomyConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpTaxonomy]
}
input WpContentTypeToTaxonomyConnectionFilterInput {
nodes: WpTaxonomyFilterListInput
}
"""
core/archives block
"""
type WpCoreArchivesBlock implements WpBlock {
attributes: WpCoreArchivesBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreArchivesBlockAttributes {
align: String
className: String
displayAsDropdown: Boolean!
lock: JSON
showPostCounts: Boolean!
}
"""
core/audio block
"""
type WpCoreAudioBlock implements WpBlock {
attributes: WpCoreAudioBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreAudioBlockAttributes {
align: String
anchor: String
autoplay: Boolean
caption: String
className: String
id: Float
lock: JSON
loop: Boolean
preload: String
src: String
}
union WpCoreAudioBlockAttributesUnion = WpCoreAudioBlockAttributes | WpCoreAudioBlockDeprecatedV1Attributes
type WpCoreAudioBlockDeprecatedV1Attributes {
align: String
anchor: String
autoplay: Boolean
caption: String
className: String
id: Float
lock: JSON
loop: Boolean
preload: String
src: String
}
"""
core/block block
"""
type WpCoreBlock implements WpBlock {
attributes: WpCoreBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
reusableBlock: WpNode!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreBlockAttributes {
lock: JSON
ref: Float
}
"""
core/button block
"""
type WpCoreButtonBlock implements WpBlock {
attributes: WpCoreButtonBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreButtonBlockAttributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
union WpCoreButtonBlockAttributesUnion =
WpCoreButtonBlockAttributes
| WpCoreButtonBlockDeprecatedV1Attributes
| WpCoreButtonBlockDeprecatedV2Attributes
| WpCoreButtonBlockDeprecatedV3Attributes
| WpCoreButtonBlockDeprecatedV4Attributes
| WpCoreButtonBlockDeprecatedV5Attributes
| WpCoreButtonBlockDeprecatedV6Attributes
| WpCoreButtonBlockDeprecatedV7Attributes
| WpCoreButtonBlockDeprecatedV8Attributes
| WpCoreButtonBlockDeprecatedV9Attributes
| WpCoreButtonBlockDeprecatedV10Attributes
type WpCoreButtonBlockDeprecatedV1Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV2Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV3Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV4Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV5Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV6Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV7Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV8Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV9Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
type WpCoreButtonBlockDeprecatedV10Attributes {
align: String
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
linkTarget: String
lock: JSON
placeholder: String
rel: String
style: JSON
text: String
textColor: String
title: String
url: String
width: Float
}
"""
core/buttons block
"""
type WpCoreButtonsBlock implements WpBlock {
attributes: WpCoreButtonsBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreButtonsBlockAttributes {
align: String
anchor: String
className: String
layout: JSON
lock: JSON
style: JSON
}
union WpCoreButtonsBlockAttributesUnion =
WpCoreButtonsBlockAttributes
| WpCoreButtonsBlockDeprecatedV1Attributes
| WpCoreButtonsBlockDeprecatedV2Attributes
type WpCoreButtonsBlockDeprecatedV1Attributes {
align: String
anchor: String
className: String
layout: JSON
lock: JSON
style: JSON
}
type WpCoreButtonsBlockDeprecatedV2Attributes {
align: String
anchor: String
className: String
layout: JSON
lock: JSON
style: JSON
}
"""
core/calendar block
"""
type WpCoreCalendarBlock implements WpBlock {
attributes: WpCoreCalendarBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreCalendarBlockAttributes {
align: String
className: String
lock: JSON
month: Int
year: Int
}
"""
core/categories block
"""
type WpCoreCategoriesBlock implements WpBlock {
attributes: WpCoreCategoriesBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreCategoriesBlockAttributes {
align: String
className: String
displayAsDropdown: Boolean!
lock: JSON
showHierarchy: Boolean!
showOnlyTopLevel: Boolean!
showPostCounts: Boolean!
}
"""
core/code block
"""
type WpCoreCodeBlock implements WpBlock {
attributes: WpCoreCodeBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreCodeBlockAttributes {
anchor: String
backgroundColor: String
borderColor: String
className: String
content: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textColor: String
}
"""
core/column block
"""
type WpCoreColumnBlock implements WpBlock {
attributes: WpCoreColumnBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreColumnBlockAttributes {
allowedBlocks: JSON
anchor: String
backgroundColor: String
className: String
gradient: String
lock: JSON
style: JSON
textColor: String
verticalAlignment: String
width: String
}
union WpCoreColumnBlockAttributesUnion = WpCoreColumnBlockAttributes | WpCoreColumnBlockDeprecatedV1Attributes
type WpCoreColumnBlockDeprecatedV1Attributes {
allowedBlocks: JSON
anchor: String
backgroundColor: String
className: String
gradient: String
lock: JSON
style: JSON
textColor: String
verticalAlignment: String
width: String
}
"""
core/columns block
"""
type WpCoreColumnsBlock implements WpBlock {
attributes: WpCoreColumnsBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreColumnsBlockAttributes {
align: String
anchor: String
backgroundColor: String
className: String
gradient: String
isStackedOnMobile: Boolean!
lock: JSON
style: JSON
textColor: String
verticalAlignment: String
}
union WpCoreColumnsBlockAttributesUnion =
WpCoreColumnsBlockAttributes
| WpCoreColumnsBlockDeprecatedV1Attributes
| WpCoreColumnsBlockDeprecatedV2Attributes
| WpCoreColumnsBlockDeprecatedV3Attributes
type WpCoreColumnsBlockDeprecatedV1Attributes {
align: String
anchor: String
backgroundColor: String
className: String
gradient: String
isStackedOnMobile: Boolean!
lock: JSON
style: JSON
textColor: String
verticalAlignment: String
}
type WpCoreColumnsBlockDeprecatedV2Attributes {
align: String
anchor: String
backgroundColor: String
className: String
gradient: String
isStackedOnMobile: Boolean!
lock: JSON
style: JSON
textColor: String
verticalAlignment: String
}
type WpCoreColumnsBlockDeprecatedV3Attributes {
align: String
anchor: String
backgroundColor: String
className: String
gradient: String
isStackedOnMobile: Boolean!
lock: JSON
style: JSON
textColor: String
verticalAlignment: String
}
"""
core/cover block
"""
type WpCoreCoverBlock implements WpBlock {
attributes: WpCoreCoverBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreCoverBlockAttributes {
align: String
allowedBlocks: JSON
alt: String!
anchor: String
backgroundType: String!
className: String
contentPosition: String
customGradient: String
customOverlayColor: String
dimRatio: Float!
focalPoint: JSON
gradient: String
hasParallax: Boolean!
id: Float
isDark: Boolean!
isRepeated: Boolean!
lock: JSON
minHeight: Float
minHeightUnit: String
overlayColor: String
style: JSON
url: String
}
union WpCoreCoverBlockAttributesUnion =
WpCoreCoverBlockAttributes
| WpCoreCoverBlockDeprecatedV1Attributes
| WpCoreCoverBlockDeprecatedV2Attributes
| WpCoreCoverBlockDeprecatedV3Attributes
| WpCoreCoverBlockDeprecatedV4Attributes
| WpCoreCoverBlockDeprecatedV5Attributes
| WpCoreCoverBlockDeprecatedV6Attributes
| WpCoreCoverBlockDeprecatedV7Attributes
type WpCoreCoverBlockDeprecatedV1Attributes {
align: String
allowedBlocks: JSON
alt: String!
anchor: String
backgroundType: String!
className: String
contentPosition: String
customGradient: String
customOverlayColor: String
dimRatio: Float!
focalPoint: JSON
gradient: String
hasParallax: Boolean!
id: Float
isDark: Boolean!
isRepeated: Boolean!
lock: JSON
minHeight: Float
minHeightUnit: String
overlayColor: String
style: JSON
url: String
}
type WpCoreCoverBlockDeprecatedV2Attributes {
align: String
allowedBlocks: JSON
alt: String!
anchor: String
backgroundType: String!
className: String
contentPosition: String
customGradient: String
customOverlayColor: String
dimRatio: Float!
focalPoint: JSON
gradient: String
hasParallax: Boolean!
id: Float
isDark: Boolean!
isRepeated: Boolean!
lock: JSON
minHeight: Float
minHeightUnit: String
overlayColor: String
style: JSON
url: String
}
type WpCoreCoverBlockDeprecatedV3Attributes {
align: String
allowedBlocks: JSON
alt: String!
anchor: String
backgroundType: String!
className: String
contentPosition: String
customGradient: String
customOverlayColor: String
dimRatio: Float!
focalPoint: JSON
gradient: String
hasParallax: Boolean!
id: Float
isDark: Boolean!
isRepeated: Boolean!
lock: JSON
minHeight: Float
minHeightUnit: String
overlayColor: String
style: JSON
url: String
}
type WpCoreCoverBlockDeprecatedV4Attributes {
align: String
allowedBlocks: JSON
alt: String!
anchor: String
backgroundType: String!
className: String
contentPosition: String
customGradient: String
customOverlayColor: String
dimRatio: Float!
focalPoint: JSON
gradient: String
hasParallax: Boolean!
id: Float
isDark: Boolean!
isRepeated: Boolean!
lock: JSON
minHeight: Float
minHeightUnit: String
overlayColor: String
style: JSON
url: String
}
type WpCoreCoverBlockDeprecatedV5Attributes {
align: String
allowedBlocks: JSON
alt: String!
anchor: String
backgroundType: String!
className: String
contentPosition: String
customGradient: String
customOverlayColor: String
dimRatio: Float!
focalPoint: JSON
gradient: String
hasParallax: Boolean!
id: Float
isDark: Boolean!
isRepeated: Boolean!
lock: JSON
minHeight: Float
minHeightUnit: String
overlayColor: String
style: JSON
url: String
}
type WpCoreCoverBlockDeprecatedV6Attributes {
align: String
allowedBlocks: JSON
alt: String!
anchor: String
backgroundType: String!
className: String
contentPosition: String
customGradient: String
customOverlayColor: String
dimRatio: Float!
focalPoint: JSON
gradient: String
hasParallax: Boolean!
id: Float
isDark: Boolean!
isRepeated: Boolean!
lock: JSON
minHeight: Float
minHeightUnit: String
overlayColor: String
style: JSON
url: String
}
type WpCoreCoverBlockDeprecatedV7Attributes {
align: String
allowedBlocks: JSON
alt: String!
anchor: String
backgroundType: String!
className: String
contentPosition: String
customGradient: String
customOverlayColor: String
dimRatio: Float!
focalPoint: JSON
gradient: String
hasParallax: Boolean!
id: Float
isDark: Boolean!
isRepeated: Boolean!
lock: JSON
minHeight: Float
minHeightUnit: String
overlayColor: String
style: JSON
url: String
}
"""
core/embed block
"""
type WpCoreEmbedBlock implements WpBlock {
attributes: WpCoreEmbedBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreEmbedBlockAttributes {
align: String
allowResponsive: Boolean!
caption: String
className: String
lock: JSON
previewable: Boolean!
providerNameSlug: String
responsive: Boolean!
type: String
url: String
}
union WpCoreEmbedBlockAttributesUnion = WpCoreEmbedBlockAttributes | WpCoreEmbedBlockDeprecatedV1Attributes
type WpCoreEmbedBlockDeprecatedV1Attributes {
align: String
allowResponsive: Boolean!
caption: String
className: String
lock: JSON
previewable: Boolean!
providerNameSlug: String
responsive: Boolean!
type: String
url: String
}
"""
core/file block
"""
type WpCoreFileBlock implements WpBlock {
attributes: WpCoreFileBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreFileBlockAttributes {
align: String
anchor: String
className: String
displayPreview: Boolean
downloadButtonText: String
fileId: String
fileName: String
href: String
id: Float
lock: JSON
previewHeight: Float!
showDownloadButton: Boolean!
textLinkHref: String
textLinkTarget: String
}
union WpCoreFileBlockAttributesUnion = WpCoreFileBlockAttributes | WpCoreFileBlockDeprecatedV1Attributes
type WpCoreFileBlockDeprecatedV1Attributes {
align: String
anchor: String
className: String
displayPreview: Boolean
downloadButtonText: String
fileId: String
fileName: String
href: String
id: Float
lock: JSON
previewHeight: Float!
showDownloadButton: Boolean!
textLinkHref: String
textLinkTarget: String
}
"""
core/freeform block
"""
type WpCoreFreeformBlock implements WpBlock {
attributes: WpCoreFreeformBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreFreeformBlockAttributes {
content: String
lock: JSON
}
"""
core/gallery block
"""
type WpCoreGalleryBlock implements WpBlock {
attributes: WpCoreGalleryBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreGalleryBlockAttributes {
align: String
allowResize: Boolean!
anchor: String
caption: String
className: String
columns: Float
fixedHeight: Boolean!
ids: [Float]!
imageCrop: Boolean!
images: [WpCoreGalleryBlockAttributesImages]!
linkTarget: String
linkTo: String
lock: JSON
shortCodeTransforms: [WpBlockAttributesObject]!
sizeSlug: String!
}
type WpCoreGalleryBlockAttributesImages {
alt: String!
caption: String
fullUrl: String
id: String
link: String
url: String
}
union WpCoreGalleryBlockAttributesUnion =
WpCoreGalleryBlockAttributes
| WpCoreGalleryBlockDeprecatedV1Attributes
| WpCoreGalleryBlockDeprecatedV2Attributes
| WpCoreGalleryBlockDeprecatedV3Attributes
| WpCoreGalleryBlockDeprecatedV4Attributes
| WpCoreGalleryBlockDeprecatedV5Attributes
| WpCoreGalleryBlockDeprecatedV6Attributes
type WpCoreGalleryBlockDeprecatedV1Attributes {
align: String
allowResize: Boolean!
anchor: String
caption: String
className: String
columns: Float
fixedHeight: Boolean!
ids: [Float]!
imageCrop: Boolean!
images: [WpCoreGalleryBlockDeprecatedV1AttributesImages]!
linkTarget: String
linkTo: String
lock: JSON
shortCodeTransforms: [WpBlockAttributesObject]!
sizeSlug: String!
}
type WpCoreGalleryBlockDeprecatedV1AttributesImages {
alt: String!
caption: String
fullUrl: String
id: String
link: String
url: String
}
type WpCoreGalleryBlockDeprecatedV2Attributes {
align: String
allowResize: Boolean!
anchor: String
caption: String
className: String
columns: Float
fixedHeight: Boolean!
ids: [Float]!
imageCrop: Boolean!
images: [WpCoreGalleryBlockDeprecatedV2AttributesImages]!
linkTarget: String
linkTo: String
lock: JSON
shortCodeTransforms: [WpBlockAttributesObject]!
sizeSlug: String!
}
type WpCoreGalleryBlockDeprecatedV2AttributesImages {
alt: String!
caption: String
fullUrl: String
id: String
link: String
url: String
}
type WpCoreGalleryBlockDeprecatedV3Attributes {
align: String
allowResize: Boolean!
anchor: String
caption: String
className: String
columns: Float
fixedHeight: Boolean!
ids: [Float]!
imageCrop: Boolean!
images: [WpCoreGalleryBlockDeprecatedV3AttributesImages]!
linkTarget: String
linkTo: String
lock: JSON
shortCodeTransforms: [WpBlockAttributesObject]!
sizeSlug: String!
}
type WpCoreGalleryBlockDeprecatedV3AttributesImages {
alt: String!
caption: String
fullUrl: String
id: String
link: String
url: String
}
type WpCoreGalleryBlockDeprecatedV4Attributes {
align: String
allowResize: Boolean!
anchor: String
caption: String
className: String
columns: Float
fixedHeight: Boolean!
ids: [Float]!
imageCrop: Boolean!
images: [WpCoreGalleryBlockDeprecatedV4AttributesImages]!
linkTarget: String
linkTo: String
lock: JSON
shortCodeTransforms: [WpBlockAttributesObject]!
sizeSlug: String!
}
type WpCoreGalleryBlockDeprecatedV4AttributesImages {
alt: String!
caption: String
fullUrl: String
id: String
link: String
url: String
}
type WpCoreGalleryBlockDeprecatedV5Attributes {
align: String
allowResize: Boolean!
anchor: String
caption: String
className: String
columns: Float
fixedHeight: Boolean!
ids: [Float]!
imageCrop: Boolean!
images: [WpCoreGalleryBlockDeprecatedV5AttributesImages]!
linkTarget: String
linkTo: String
lock: JSON
shortCodeTransforms: [WpBlockAttributesObject]!
sizeSlug: String!
}
type WpCoreGalleryBlockDeprecatedV5AttributesImages {
alt: String!
caption: String
fullUrl: String
id: String
link: String
url: String
}
type WpCoreGalleryBlockDeprecatedV6Attributes {
align: String
allowResize: Boolean!
anchor: String
caption: String
className: String
columns: Float
fixedHeight: Boolean!
ids: [Float]!
imageCrop: Boolean!
images: [WpCoreGalleryBlockDeprecatedV6AttributesImages]!
linkTarget: String
linkTo: String
lock: JSON
shortCodeTransforms: [WpBlockAttributesObject]!
sizeSlug: String!
}
type WpCoreGalleryBlockDeprecatedV6AttributesImages {
alt: String!
caption: String
fullUrl: String
id: String
link: String
url: String
}
"""
core/group block
"""
type WpCoreGroupBlock implements WpBlock {
attributes: WpCoreGroupBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreGroupBlockAttributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
className: String
gradient: String
layout: JSON
lock: JSON
style: JSON
tagName: String!
textColor: String
}
union WpCoreGroupBlockAttributesUnion =
WpCoreGroupBlockAttributes
| WpCoreGroupBlockDeprecatedV1Attributes
| WpCoreGroupBlockDeprecatedV2Attributes
| WpCoreGroupBlockDeprecatedV3Attributes
| WpCoreGroupBlockDeprecatedV4Attributes
type WpCoreGroupBlockDeprecatedV1Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
className: String
gradient: String
layout: JSON
lock: JSON
style: JSON
tagName: String!
textColor: String
}
type WpCoreGroupBlockDeprecatedV2Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
className: String
gradient: String
layout: JSON
lock: JSON
style: JSON
tagName: String!
textColor: String
}
type WpCoreGroupBlockDeprecatedV3Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
className: String
gradient: String
layout: JSON
lock: JSON
style: JSON
tagName: String!
textColor: String
}
type WpCoreGroupBlockDeprecatedV4Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
className: String
gradient: String
layout: JSON
lock: JSON
style: JSON
tagName: String!
textColor: String
}
"""
core/heading block
"""
type WpCoreHeadingBlock implements WpBlock {
attributes: WpCoreHeadingBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreHeadingBlockAttributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
fontSize: String
level: Float!
lock: JSON
placeholder: String
style: JSON
textAlign: String
textColor: String
}
union WpCoreHeadingBlockAttributesUnion =
WpCoreHeadingBlockAttributes
| WpCoreHeadingBlockDeprecatedV1Attributes
| WpCoreHeadingBlockDeprecatedV2Attributes
| WpCoreHeadingBlockDeprecatedV3Attributes
| WpCoreHeadingBlockDeprecatedV4Attributes
type WpCoreHeadingBlockDeprecatedV1Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
fontSize: String
level: Float!
lock: JSON
placeholder: String
style: JSON
textAlign: String
textColor: String
}
type WpCoreHeadingBlockDeprecatedV2Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
fontSize: String
level: Float!
lock: JSON
placeholder: String
style: JSON
textAlign: String
textColor: String
}
type WpCoreHeadingBlockDeprecatedV3Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
fontSize: String
level: Float!
lock: JSON
placeholder: String
style: JSON
textAlign: String
textColor: String
}
type WpCoreHeadingBlockDeprecatedV4Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
fontSize: String
level: Float!
lock: JSON
placeholder: String
style: JSON
textAlign: String
textColor: String
}
"""
core/html block
"""
type WpCoreHtmlBlock implements WpBlock {
attributes: WpCoreHtmlBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreHtmlBlockAttributes {
content: String
lock: JSON
}
"""
core/image block
"""
type WpCoreImageBlock implements WpBlock {
attributes: WpCoreImageBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreImageBlockAttributes {
align: String
alt: String!
anchor: String
caption: String
className: String
height: Float
href: String
id: Float
imageFluid: File
linkClass: String
linkDestination: String
linkTarget: String
lock: JSON
rel: String
sizeSlug: String
style: JSON
title: String
url: String
width: Float
}
union WpCoreImageBlockAttributesUnion =
WpCoreImageBlockAttributes
| WpCoreImageBlockDeprecatedV1Attributes
| WpCoreImageBlockDeprecatedV2Attributes
| WpCoreImageBlockDeprecatedV3Attributes
type WpCoreImageBlockDeprecatedV1Attributes {
align: String
alt: String!
anchor: String
caption: String
className: String
height: Float
href: String
id: Float
linkClass: String
linkDestination: String
linkTarget: String
lock: JSON
rel: String
sizeSlug: String
style: JSON
title: String
url: String
width: Float
}
type WpCoreImageBlockDeprecatedV2Attributes {
align: String
alt: String!
anchor: String
caption: String
className: String
height: Float
href: String
id: Float
linkClass: String
linkDestination: String
linkTarget: String
lock: JSON
rel: String
sizeSlug: String
style: JSON
title: String
url: String
width: Float
}
type WpCoreImageBlockDeprecatedV3Attributes {
align: String
alt: String!
anchor: String
caption: String
className: String
height: Float
href: String
id: Float
linkClass: String
linkDestination: String
linkTarget: String
lock: JSON
rel: String
sizeSlug: String
style: JSON
title: String
url: String
width: Float
}
"""
core/latest-comments block
"""
type WpCoreLatestCommentsBlock implements WpBlock {
attributes: WpCoreLatestCommentsBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreLatestCommentsBlockAttributes {
align: String
className: String
commentsToShow: Float!
displayAvatar: Boolean!
displayDate: Boolean!
displayExcerpt: Boolean!
lock: JSON
}
"""
core/latest-posts block
"""
type WpCoreLatestPostsBlock implements WpBlock {
attributes: WpCoreLatestPostsBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreLatestPostsBlockAttributes {
addLinkToFeaturedImage: Boolean!
align: String
categories: [JSON]
className: String
columns: Float!
displayAuthor: Boolean!
displayFeaturedImage: Boolean!
displayPostContent: Boolean!
displayPostContentRadio: String!
displayPostDate: Boolean!
excerptLength: Float!
featuredImageAlign: String
featuredImageSizeHeight: Float
featuredImageSizeSlug: String!
featuredImageSizeWidth: Float
lock: JSON
order: String!
orderBy: String!
postLayout: String!
postsToShow: Float!
selectedAuthor: Float
}
union WpCoreLatestPostsBlockAttributesUnion =
WpCoreLatestPostsBlockAttributes
| WpCoreLatestPostsBlockDeprecatedV1Attributes
type WpCoreLatestPostsBlockDeprecatedV1Attributes {
addLinkToFeaturedImage: Boolean!
align: String
categories: [JSON]
className: String
columns: Float!
displayAuthor: Boolean!
displayFeaturedImage: Boolean!
displayPostContent: Boolean!
displayPostContentRadio: String!
displayPostDate: Boolean!
excerptLength: Float!
featuredImageAlign: String
featuredImageSizeHeight: Float
featuredImageSizeSlug: String!
featuredImageSizeWidth: Float
lock: JSON
order: String!
orderBy: String!
postLayout: String!
postsToShow: Float!
selectedAuthor: Float
}
"""
core/legacy-widget block
"""
type WpCoreLegacyWidgetBlock implements WpBlock {
attributes: WpCoreLegacyWidgetBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreLegacyWidgetBlockAttributes {
id: String
idBase: String
instance: JSON
lock: JSON
}
"""
core/list block
"""
type WpCoreListBlock implements WpBlock {
attributes: WpCoreListBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreListBlockAttributes {
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
lock: JSON
ordered: Boolean!
placeholder: String
reversed: Boolean
start: Float
style: JSON
textColor: String
type: String
values: String!
}
union WpCoreListBlockAttributesUnion = WpCoreListBlockAttributes | WpCoreListBlockDeprecatedV1Attributes
type WpCoreListBlockDeprecatedV1Attributes {
anchor: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
lock: JSON
ordered: Boolean!
placeholder: String
reversed: Boolean
start: Float
style: JSON
textColor: String
type: String
values: String!
}
"""
core/loginout block
"""
type WpCoreLoginoutBlock implements WpBlock {
attributes: WpCoreLoginoutBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreLoginoutBlockAttributes {
className: String
displayLoginAsForm: Boolean!
lock: JSON
redirectToCurrent: Boolean!
}
"""
core/media-text block
"""
type WpCoreMediaTextBlock implements WpBlock {
attributes: WpCoreMediaTextBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreMediaTextBlockAttributes {
align: String!
anchor: String
backgroundColor: String
className: String
focalPoint: JSON
gradient: String
href: String
imageFill: Boolean
isStackedOnMobile: Boolean!
linkClass: String
linkDestination: String
linkTarget: String
lock: JSON
mediaAlt: String!
mediaId: Float
mediaLink: String
mediaPosition: String!
mediaSizeSlug: String
mediaType: String
mediaUrl: String
mediaWidth: Float!
rel: String
style: JSON
textColor: String
verticalAlignment: String
}
union WpCoreMediaTextBlockAttributesUnion =
WpCoreMediaTextBlockAttributes
| WpCoreMediaTextBlockDeprecatedV1Attributes
| WpCoreMediaTextBlockDeprecatedV2Attributes
| WpCoreMediaTextBlockDeprecatedV3Attributes
type WpCoreMediaTextBlockDeprecatedV1Attributes {
align: String!
anchor: String
backgroundColor: String
className: String
focalPoint: JSON
gradient: String
href: String
imageFill: Boolean
isStackedOnMobile: Boolean!
linkClass: String
linkDestination: String
linkTarget: String
lock: JSON
mediaAlt: String!
mediaId: Float
mediaLink: String
mediaPosition: String!
mediaSizeSlug: String
mediaType: String
mediaUrl: String
mediaWidth: Float!
rel: String
style: JSON
textColor: String
verticalAlignment: String
}
type WpCoreMediaTextBlockDeprecatedV2Attributes {
align: String!
anchor: String
backgroundColor: String
className: String
focalPoint: JSON
gradient: String
href: String
imageFill: Boolean
isStackedOnMobile: Boolean!
linkClass: String
linkDestination: String
linkTarget: String
lock: JSON
mediaAlt: String!
mediaId: Float
mediaLink: String
mediaPosition: String!
mediaSizeSlug: String
mediaType: String
mediaUrl: String
mediaWidth: Float!
rel: String
style: JSON
textColor: String
verticalAlignment: String
}
type WpCoreMediaTextBlockDeprecatedV3Attributes {
align: String!
anchor: String
backgroundColor: String
className: String
focalPoint: JSON
gradient: String
href: String
imageFill: Boolean
isStackedOnMobile: Boolean!
linkClass: String
linkDestination: String
linkTarget: String
lock: JSON
mediaAlt: String!
mediaId: Float
mediaLink: String
mediaPosition: String!
mediaSizeSlug: String
mediaType: String
mediaUrl: String
mediaWidth: Float!
rel: String
style: JSON
textColor: String
verticalAlignment: String
}
"""
core/missing block
"""
type WpCoreMissingBlock implements WpBlock {
attributes: WpCoreMissingBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreMissingBlockAttributes {
lock: JSON
originalContent: String
originalName: String
originalUndelimitedContent: String
}
"""
core/more block
"""
type WpCoreMoreBlock implements WpBlock {
attributes: WpCoreMoreBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreMoreBlockAttributes {
customText: String
lock: JSON
noTeaser: Boolean!
}
"""
core/navigation block
"""
type WpCoreNavigationBlock implements WpBlock {
attributes: WpCoreNavigationBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreNavigationBlockAttributes {
align: String
anchor: String
backgroundColor: String
className: String
customBackgroundColor: String
customOverlayBackgroundColor: String
customOverlayTextColor: String
customTextColor: String
fontFamily: String
fontSize: String
layout: JSON
lock: JSON
openSubmenusOnClick: Boolean!
overlayBackgroundColor: String
overlayMenu: String!
overlayTextColor: String
ref: Float
rgbBackgroundColor: String
rgbTextColor: String
showSubmenuIcon: Boolean!
style: JSON
textColor: String
unstableLocation: String
}
union WpCoreNavigationBlockAttributesUnion =
WpCoreNavigationBlockAttributes
| WpCoreNavigationBlockDeprecatedV1Attributes
| WpCoreNavigationBlockDeprecatedV2Attributes
| WpCoreNavigationBlockDeprecatedV3Attributes
| WpCoreNavigationBlockDeprecatedV4Attributes
| WpCoreNavigationBlockDeprecatedV5Attributes
| WpCoreNavigationBlockDeprecatedV6Attributes
type WpCoreNavigationBlockDeprecatedV1Attributes {
align: String
anchor: String
backgroundColor: String
className: String
customBackgroundColor: String
customOverlayBackgroundColor: String
customOverlayTextColor: String
customTextColor: String
fontFamily: String
fontSize: String
layout: JSON
lock: JSON
openSubmenusOnClick: Boolean!
overlayBackgroundColor: String
overlayMenu: String!
overlayTextColor: String
ref: Float
rgbBackgroundColor: String
rgbTextColor: String
showSubmenuIcon: Boolean!
style: JSON
textColor: String
unstableLocation: String
}
type WpCoreNavigationBlockDeprecatedV2Attributes {
align: String
anchor: String
backgroundColor: String
className: String
customBackgroundColor: String
customOverlayBackgroundColor: String
customOverlayTextColor: String
customTextColor: String
fontFamily: String
fontSize: String
layout: JSON
lock: JSON
openSubmenusOnClick: Boolean!
overlayBackgroundColor: String
overlayMenu: String!
overlayTextColor: String
ref: Float
rgbBackgroundColor: String
rgbTextColor: String
showSubmenuIcon: Boolean!
style: JSON
textColor: String
unstableLocation: String
}
type WpCoreNavigationBlockDeprecatedV3Attributes {
align: String
anchor: String
backgroundColor: String
className: String
customBackgroundColor: String
customOverlayBackgroundColor: String
customOverlayTextColor: String
customTextColor: String
fontFamily: String
fontSize: String
layout: JSON
lock: JSON
openSubmenusOnClick: Boolean!
overlayBackgroundColor: String
overlayMenu: String!
overlayTextColor: String
ref: Float
rgbBackgroundColor: String
rgbTextColor: String
showSubmenuIcon: Boolean!
style: JSON
textColor: String
unstableLocation: String
}
type WpCoreNavigationBlockDeprecatedV4Attributes {
align: String
anchor: String
backgroundColor: String
className: String
customBackgroundColor: String
customOverlayBackgroundColor: String
customOverlayTextColor: String
customTextColor: String
fontFamily: String
fontSize: String
layout: JSON
lock: JSON
openSubmenusOnClick: Boolean!
overlayBackgroundColor: String
overlayMenu: String!
overlayTextColor: String
ref: Float
rgbBackgroundColor: String
rgbTextColor: String
showSubmenuIcon: Boolean!
style: JSON
textColor: String
unstableLocation: String
}
type WpCoreNavigationBlockDeprecatedV5Attributes {
align: String
anchor: String
backgroundColor: String
className: String
customBackgroundColor: String
customOverlayBackgroundColor: String
customOverlayTextColor: String
customTextColor: String
fontFamily: String
fontSize: String
layout: JSON
lock: JSON
openSubmenusOnClick: Boolean!
overlayBackgroundColor: String
overlayMenu: String!
overlayTextColor: String
ref: Float
rgbBackgroundColor: String
rgbTextColor: String
showSubmenuIcon: Boolean!
style: JSON
textColor: String
unstableLocation: String
}
type WpCoreNavigationBlockDeprecatedV6Attributes {
align: String
anchor: String
backgroundColor: String
className: String
customBackgroundColor: String
customOverlayBackgroundColor: String
customOverlayTextColor: String
customTextColor: String
fontFamily: String
fontSize: String
layout: JSON
lock: JSON
openSubmenusOnClick: Boolean!
overlayBackgroundColor: String
overlayMenu: String!
overlayTextColor: String
ref: Float
rgbBackgroundColor: String
rgbTextColor: String
showSubmenuIcon: Boolean!
style: JSON
textColor: String
unstableLocation: String
}
"""
core/navigation-link block
"""
type WpCoreNavigationLinkBlock implements WpBlock {
attributes: WpCoreNavigationLinkBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreNavigationLinkBlockAttributes {
className: String
description: String
id: Float
isTopLevelLink: Boolean
kind: String
label: String
lock: JSON
opensInNewTab: Boolean!
rel: String
title: String
type: String
url: String
}
union WpCoreNavigationLinkBlockAttributesUnion =
WpCoreNavigationLinkBlockAttributes
| WpCoreNavigationLinkBlockDeprecatedV1Attributes
type WpCoreNavigationLinkBlockDeprecatedV1Attributes {
className: String
description: String
id: Float
isTopLevelLink: Boolean
kind: String
label: String
lock: JSON
opensInNewTab: Boolean!
rel: String
title: String
type: String
url: String
}
"""
core/navigation-submenu block
"""
type WpCoreNavigationSubmenuBlock implements WpBlock {
attributes: WpCoreNavigationSubmenuBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreNavigationSubmenuBlockAttributes {
className: String
description: String
id: Float
isTopLevelItem: Boolean
kind: String
label: String
lock: JSON
opensInNewTab: Boolean!
rel: String
title: String
type: String
url: String
}
"""
core/nextpage block
"""
type WpCoreNextpageBlock implements WpBlock {
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreNextpageBlockAttributes {
lock: JSON
}
"""
core/page-list block
"""
type WpCorePageListBlock implements WpBlock {
attributes: WpCorePageListBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePageListBlockAttributes {
className: String
lock: JSON
}
"""
core/paragraph block
"""
type WpCoreParagraphBlock implements WpBlock {
attributes: WpCoreParagraphBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreParagraphBlockAttributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
direction: String
dropCap: Boolean!
fontSize: String
lock: JSON
placeholder: String
style: JSON
textColor: String
}
union WpCoreParagraphBlockAttributesUnion =
WpCoreParagraphBlockAttributes
| WpCoreParagraphBlockDeprecatedV1Attributes
| WpCoreParagraphBlockDeprecatedV2Attributes
| WpCoreParagraphBlockDeprecatedV3Attributes
| WpCoreParagraphBlockDeprecatedV4Attributes
| WpCoreParagraphBlockDeprecatedV5Attributes
type WpCoreParagraphBlockDeprecatedV1Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
direction: String
dropCap: Boolean!
fontSize: String
lock: JSON
placeholder: String
style: JSON
textColor: String
}
type WpCoreParagraphBlockDeprecatedV2Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
direction: String
dropCap: Boolean!
fontSize: String
lock: JSON
placeholder: String
style: JSON
textColor: String
}
type WpCoreParagraphBlockDeprecatedV3Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
direction: String
dropCap: Boolean!
fontSize: String
lock: JSON
placeholder: String
style: JSON
textColor: String
}
type WpCoreParagraphBlockDeprecatedV4Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
direction: String
dropCap: Boolean!
fontSize: String
lock: JSON
placeholder: String
style: JSON
textColor: String
}
type WpCoreParagraphBlockDeprecatedV5Attributes {
align: String
anchor: String
backgroundColor: String
className: String
content: String!
direction: String
dropCap: Boolean!
fontSize: String
lock: JSON
placeholder: String
style: JSON
textColor: String
}
"""
core/pattern block
"""
type WpCorePatternBlock implements WpBlock {
attributes: WpCorePatternBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePatternBlockAttributes {
className: String
lock: JSON
slug: String
}
"""
core/post-author block
"""
type WpCorePostAuthorBlock implements WpBlock {
attributes: WpCorePostAuthorBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostAuthorBlockAttributes {
avatarSize: Float!
backgroundColor: String
byline: String
className: String
fontSize: String
gradient: String
lock: JSON
showAvatar: Boolean!
showBio: Boolean
style: JSON
textAlign: String
textColor: String
}
"""
core/post-comments block
"""
type WpCorePostCommentsBlock implements WpBlock {
attributes: WpCorePostCommentsBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostCommentsBlockAttributes {
align: String
backgroundColor: String
className: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
}
"""
core/post-content block
"""
type WpCorePostContentBlock implements WpBlock {
attributes: WpCorePostContentBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostContentBlockAttributes {
align: String
className: String
layout: JSON
lock: JSON
}
"""
core/post-date block
"""
type WpCorePostDateBlock implements WpBlock {
attributes: WpCorePostDateBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostDateBlockAttributes {
backgroundColor: String
className: String
fontFamily: String
fontSize: String
format: String
gradient: String
isLink: Boolean!
lock: JSON
style: JSON
textAlign: String
textColor: String
}
union WpCorePostDateBlockAttributesUnion = WpCorePostDateBlockAttributes | WpCorePostDateBlockDeprecatedV1Attributes
type WpCorePostDateBlockDeprecatedV1Attributes {
backgroundColor: String
className: String
fontFamily: String
fontSize: String
format: String
gradient: String
isLink: Boolean!
lock: JSON
style: JSON
textAlign: String
textColor: String
}
"""
core/post-excerpt block
"""
type WpCorePostExcerptBlock implements WpBlock {
attributes: WpCorePostExcerptBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostExcerptBlockAttributes {
backgroundColor: String
className: String
fontSize: String
gradient: String
lock: JSON
moreText: String
showMoreOnNewLine: Boolean!
style: JSON
textAlign: String
textColor: String
}
"""
core/post-featured-image block
"""
type WpCorePostFeaturedImageBlock implements WpBlock {
attributes: WpCorePostFeaturedImageBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostFeaturedImageBlockAttributes {
align: String
className: String
height: String
isLink: Boolean!
lock: JSON
scale: String!
style: JSON
width: String
}
"""
core/post-navigation-link block
"""
type WpCorePostNavigationLinkBlock implements WpBlock {
attributes: WpCorePostNavigationLinkBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostNavigationLinkBlockAttributes {
className: String
fontSize: String
label: String
linkLabel: Boolean!
lock: JSON
showTitle: Boolean!
style: JSON
textAlign: String
type: String!
}
"""
core/post-template block
"""
type WpCorePostTemplateBlock implements WpBlock {
attributes: WpCorePostTemplateBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostTemplateBlockAttributes {
align: String
className: String
layout: JSON
lock: JSON
}
"""
core/post-terms block
"""
type WpCorePostTermsBlock implements WpBlock {
attributes: WpCorePostTermsBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostTermsBlockAttributes {
backgroundColor: String
className: String
fontSize: String
gradient: String
lock: JSON
separator: String!
style: JSON
term: String
textAlign: String
textColor: String
}
"""
core/post-title block
"""
type WpCorePostTitleBlock implements WpBlock {
attributes: WpCorePostTitleBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePostTitleBlockAttributes {
align: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
isLink: Boolean!
level: Float!
linkTarget: String!
lock: JSON
rel: String!
style: JSON
textAlign: String
textColor: String
}
union WpCorePostTitleBlockAttributesUnion = WpCorePostTitleBlockAttributes | WpCorePostTitleBlockDeprecatedV1Attributes
type WpCorePostTitleBlockDeprecatedV1Attributes {
align: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
isLink: Boolean!
level: Float!
linkTarget: String!
lock: JSON
rel: String!
style: JSON
textAlign: String
textColor: String
}
"""
core/preformatted block
"""
type WpCorePreformattedBlock implements WpBlock {
attributes: WpCorePreformattedBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePreformattedBlockAttributes {
anchor: String
backgroundColor: String
className: String
content: String!
fontSize: String
gradient: String
lock: JSON
style: JSON
textColor: String
}
"""
core/pullquote block
"""
type WpCorePullquoteBlock implements WpBlock {
attributes: WpCorePullquoteBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCorePullquoteBlockAttributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
citation: String!
className: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
value: String
}
union WpCorePullquoteBlockAttributesUnion =
WpCorePullquoteBlockAttributes
| WpCorePullquoteBlockDeprecatedV1Attributes
| WpCorePullquoteBlockDeprecatedV2Attributes
| WpCorePullquoteBlockDeprecatedV3Attributes
| WpCorePullquoteBlockDeprecatedV4Attributes
| WpCorePullquoteBlockDeprecatedV5Attributes
type WpCorePullquoteBlockDeprecatedV1Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
citation: String!
className: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
value: String
}
type WpCorePullquoteBlockDeprecatedV2Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
citation: String!
className: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
value: String
}
type WpCorePullquoteBlockDeprecatedV3Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
citation: String!
className: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
value: String
}
type WpCorePullquoteBlockDeprecatedV4Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
citation: String!
className: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
value: String
}
type WpCorePullquoteBlockDeprecatedV5Attributes {
align: String
anchor: String
backgroundColor: String
borderColor: String
citation: String!
className: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
value: String
}
"""
core/query block
"""
type WpCoreQueryBlock implements WpBlock {
attributes: WpCoreQueryBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreQueryBlockAttributes {
align: String
backgroundColor: String
className: String
displayLayout: JSON!
gradient: String
layout: JSON
lock: JSON
query: JSON!
queryId: Float
style: JSON
tagName: String!
textColor: String
}
union WpCoreQueryBlockAttributesUnion = WpCoreQueryBlockAttributes | WpCoreQueryBlockDeprecatedV1Attributes
type WpCoreQueryBlockDeprecatedV1Attributes {
align: String
backgroundColor: String
className: String
displayLayout: JSON!
gradient: String
layout: JSON
lock: JSON
query: JSON!
queryId: Float
style: JSON
tagName: String!
textColor: String
}
"""
core/query-pagination block
"""
type WpCoreQueryPaginationBlock implements WpBlock {
attributes: WpCoreQueryPaginationBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreQueryPaginationBlockAttributes {
align: String
backgroundColor: String
className: String
gradient: String
layout: JSON
lock: JSON
paginationArrow: String!
style: JSON
textColor: String
}
union WpCoreQueryPaginationBlockAttributesUnion =
WpCoreQueryPaginationBlockAttributes
| WpCoreQueryPaginationBlockDeprecatedV1Attributes
type WpCoreQueryPaginationBlockDeprecatedV1Attributes {
align: String
backgroundColor: String
className: String
gradient: String
layout: JSON
lock: JSON
paginationArrow: String!
style: JSON
textColor: String
}
"""
core/query-pagination-next block
"""
type WpCoreQueryPaginationNextBlock implements WpBlock {
attributes: WpCoreQueryPaginationNextBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreQueryPaginationNextBlockAttributes {
backgroundColor: String
className: String
fontSize: String
gradient: String
label: String
lock: JSON
style: JSON
textColor: String
}
"""
core/query-pagination-numbers block
"""
type WpCoreQueryPaginationNumbersBlock implements WpBlock {
attributes: WpCoreQueryPaginationNumbersBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreQueryPaginationNumbersBlockAttributes {
className: String
lock: JSON
}
"""
core/query-pagination-previous block
"""
type WpCoreQueryPaginationPreviousBlock implements WpBlock {
attributes: WpCoreQueryPaginationPreviousBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreQueryPaginationPreviousBlockAttributes {
backgroundColor: String
className: String
fontSize: String
gradient: String
label: String
lock: JSON
style: JSON
textColor: String
}
"""
core/query-title block
"""
type WpCoreQueryTitleBlock implements WpBlock {
attributes: WpCoreQueryTitleBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreQueryTitleBlockAttributes {
align: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
level: Float!
lock: JSON
style: JSON
textAlign: String
textColor: String
type: String
}
union WpCoreQueryTitleBlockAttributesUnion =
WpCoreQueryTitleBlockAttributes
| WpCoreQueryTitleBlockDeprecatedV1Attributes
type WpCoreQueryTitleBlockDeprecatedV1Attributes {
align: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
level: Float!
lock: JSON
style: JSON
textAlign: String
textColor: String
type: String
}
"""
core/quote block
"""
type WpCoreQuoteBlock implements WpBlock {
attributes: WpCoreQuoteBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreQuoteBlockAttributes {
align: String
anchor: String
citation: String!
className: String
fontSize: String
lock: JSON
style: JSON
value: String!
}
union WpCoreQuoteBlockAttributesUnion =
WpCoreQuoteBlockAttributes
| WpCoreQuoteBlockDeprecatedV1Attributes
| WpCoreQuoteBlockDeprecatedV2Attributes
| WpCoreQuoteBlockDeprecatedV3Attributes
type WpCoreQuoteBlockDeprecatedV1Attributes {
align: String
anchor: String
citation: String!
className: String
fontSize: String
lock: JSON
style: JSON
value: String!
}
type WpCoreQuoteBlockDeprecatedV2Attributes {
align: String
anchor: String
citation: String!
className: String
fontSize: String
lock: JSON
style: JSON
value: String!
}
type WpCoreQuoteBlockDeprecatedV3Attributes {
align: String
anchor: String
citation: String!
className: String
fontSize: String
lock: JSON
style: JSON
value: String!
}
"""
core/rss block
"""
type WpCoreRssBlock implements WpBlock {
attributes: WpCoreRssBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreRssBlockAttributes {
align: String
blockLayout: String!
className: String
columns: Float!
displayAuthor: Boolean!
displayDate: Boolean!
displayExcerpt: Boolean!
excerptLength: Float!
feedURL: String!
itemsToShow: Float!
lock: JSON
}
"""
core/search block
"""
type WpCoreSearchBlock implements WpBlock {
attributes: WpCoreSearchBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreSearchBlockAttributes {
align: String
backgroundColor: String
borderColor: String
buttonPosition: String!
buttonText: String
buttonUseIcon: Boolean!
className: String
gradient: String
label: String
lock: JSON
placeholder: String!
showLabel: Boolean!
style: JSON
textColor: String
width: Float
widthUnit: String
}
"""
core/separator block
"""
type WpCoreSeparatorBlock implements WpBlock {
attributes: WpCoreSeparatorBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreSeparatorBlockAttributes {
align: String
anchor: String
className: String
color: String
customColor: String
lock: JSON
}
"""
core/shortcode block
"""
type WpCoreShortcodeBlock implements WpBlock {
attributes: WpCoreShortcodeBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreShortcodeBlockAttributes {
lock: JSON
text: String
}
"""
core/site-logo block
"""
type WpCoreSiteLogoBlock implements WpBlock {
attributes: WpCoreSiteLogoBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreSiteLogoBlockAttributes {
align: String
className: String
isLink: Boolean!
linkTarget: String!
lock: JSON
shouldSyncIcon: Boolean
style: JSON
width: Float
}
"""
core/site-tagline block
"""
type WpCoreSiteTaglineBlock implements WpBlock {
attributes: WpCoreSiteTaglineBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreSiteTaglineBlockAttributes {
align: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
}
union WpCoreSiteTaglineBlockAttributesUnion =
WpCoreSiteTaglineBlockAttributes
| WpCoreSiteTaglineBlockDeprecatedV1Attributes
type WpCoreSiteTaglineBlockDeprecatedV1Attributes {
align: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
}
"""
core/site-title block
"""
type WpCoreSiteTitleBlock implements WpBlock {
attributes: WpCoreSiteTitleBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreSiteTitleBlockAttributes {
align: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
isLink: Boolean!
level: Float!
linkTarget: String!
lock: JSON
style: JSON
textAlign: String
textColor: String
}
union WpCoreSiteTitleBlockAttributesUnion = WpCoreSiteTitleBlockAttributes | WpCoreSiteTitleBlockDeprecatedV1Attributes
type WpCoreSiteTitleBlockDeprecatedV1Attributes {
align: String
backgroundColor: String
className: String
fontFamily: String
fontSize: String
gradient: String
isLink: Boolean!
level: Float!
linkTarget: String!
lock: JSON
style: JSON
textAlign: String
textColor: String
}
"""
core/social-link block
"""
type WpCoreSocialLinkBlock implements WpBlock {
attributes: WpCoreSocialLinkBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreSocialLinkBlockAttributes {
className: String
label: String
lock: JSON
service: String
url: String
}
"""
core/social-links block
"""
type WpCoreSocialLinksBlock implements WpBlock {
attributes: WpCoreSocialLinksBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreSocialLinksBlockAttributes {
align: String
anchor: String
className: String
customIconBackgroundColor: String
customIconColor: String
iconBackgroundColor: String
iconBackgroundColorValue: String
iconColor: String
iconColorValue: String
layout: JSON
lock: JSON
openInNewTab: Boolean!
size: String
style: JSON
}
union WpCoreSocialLinksBlockAttributesUnion =
WpCoreSocialLinksBlockAttributes
| WpCoreSocialLinksBlockDeprecatedV1Attributes
type WpCoreSocialLinksBlockDeprecatedV1Attributes {
align: String
anchor: String
className: String
customIconBackgroundColor: String
customIconColor: String
iconBackgroundColor: String
iconBackgroundColorValue: String
iconColor: String
iconColorValue: String
layout: JSON
lock: JSON
openInNewTab: Boolean!
size: String
style: JSON
}
"""
core/spacer block
"""
type WpCoreSpacerBlock implements WpBlock {
attributes: WpCoreSpacerBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreSpacerBlockAttributes {
anchor: String
className: String
height: String!
lock: JSON
width: String
}
union WpCoreSpacerBlockAttributesUnion = WpCoreSpacerBlockAttributes | WpCoreSpacerBlockDeprecatedV1Attributes
type WpCoreSpacerBlockDeprecatedV1Attributes {
anchor: String
className: String
height: String!
lock: JSON
width: String
}
"""
core/table block
"""
type WpCoreTableBlock implements WpBlock {
attributes: WpCoreTableBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreTableBlockAttributes {
align: String
anchor: String
backgroundColor: String
body: [WpCoreTableBlockAttributesBody]!
borderColor: String
caption: String!
className: String
fontSize: String
foot: [WpCoreTableBlockAttributesFoot]!
gradient: String
hasFixedLayout: Boolean!
head: [WpCoreTableBlockAttributesHead]!
lock: JSON
style: JSON
textColor: String
}
type WpCoreTableBlockAttributesBody {
cells: [WpCoreTableBlockAttributesBodyCells]!
}
type WpCoreTableBlockAttributesBodyCells {
align: String
content: String
scope: String
tag: String!
}
type WpCoreTableBlockAttributesFoot {
cells: [WpCoreTableBlockAttributesFootCells]!
}
type WpCoreTableBlockAttributesFootCells {
align: String
content: String
scope: String
tag: String!
}
type WpCoreTableBlockAttributesHead {
cells: [WpCoreTableBlockAttributesHeadCells]!
}
type WpCoreTableBlockAttributesHeadCells {
align: String
content: String
scope: String
tag: String!
}
union WpCoreTableBlockAttributesUnion =
WpCoreTableBlockAttributes
| WpCoreTableBlockDeprecatedV1Attributes
| WpCoreTableBlockDeprecatedV2Attributes
type WpCoreTableBlockDeprecatedV1Attributes {
align: String
anchor: String
backgroundColor: String
body: [WpCoreTableBlockDeprecatedV1AttributesBody]!
borderColor: String
caption: String!
className: String
fontSize: String
foot: [WpCoreTableBlockDeprecatedV1AttributesFoot]!
gradient: String
hasFixedLayout: Boolean!
head: [WpCoreTableBlockDeprecatedV1AttributesHead]!
lock: JSON
style: JSON
textColor: String
}
type WpCoreTableBlockDeprecatedV1AttributesBody {
cells: [WpCoreTableBlockDeprecatedV1AttributesBodyCells]!
}
type WpCoreTableBlockDeprecatedV1AttributesBodyCells {
align: String
content: String
scope: String
tag: String!
}
type WpCoreTableBlockDeprecatedV1AttributesFoot {
cells: [WpCoreTableBlockDeprecatedV1AttributesFootCells]!
}
type WpCoreTableBlockDeprecatedV1AttributesFootCells {
align: String
content: String
scope: String
tag: String!
}
type WpCoreTableBlockDeprecatedV1AttributesHead {
cells: [WpCoreTableBlockDeprecatedV1AttributesHeadCells]!
}
type WpCoreTableBlockDeprecatedV1AttributesHeadCells {
align: String
content: String
scope: String
tag: String!
}
type WpCoreTableBlockDeprecatedV2Attributes {
align: String
anchor: String
backgroundColor: String
body: [WpCoreTableBlockDeprecatedV2AttributesBody]!
borderColor: String
caption: String!
className: String
fontSize: String
foot: [WpCoreTableBlockDeprecatedV2AttributesFoot]!
gradient: String
hasFixedLayout: Boolean!
head: [WpCoreTableBlockDeprecatedV2AttributesHead]!
lock: JSON
style: JSON
textColor: String
}
type WpCoreTableBlockDeprecatedV2AttributesBody {
cells: [WpCoreTableBlockDeprecatedV2AttributesBodyCells]!
}
type WpCoreTableBlockDeprecatedV2AttributesBodyCells {
align: String
content: String
scope: String
tag: String!
}
type WpCoreTableBlockDeprecatedV2AttributesFoot {
cells: [WpCoreTableBlockDeprecatedV2AttributesFootCells]!
}
type WpCoreTableBlockDeprecatedV2AttributesFootCells {
align: String
content: String
scope: String
tag: String!
}
type WpCoreTableBlockDeprecatedV2AttributesHead {
cells: [WpCoreTableBlockDeprecatedV2AttributesHeadCells]!
}
type WpCoreTableBlockDeprecatedV2AttributesHeadCells {
align: String
content: String
scope: String
tag: String!
}
"""
core/tag-cloud block
"""
type WpCoreTagCloudBlock implements WpBlock {
attributes: WpCoreTagCloudBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreTagCloudBlockAttributes {
align: String
className: String
lock: JSON
numberOfTags: Float!
showTagCounts: Boolean!
taxonomy: String!
}
"""
core/template-part block
"""
type WpCoreTemplatePartBlock implements WpBlock {
attributes: WpCoreTemplatePartBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreTemplatePartBlockAttributes {
align: String
area: String
className: String
lock: JSON
slug: String
tagName: String
theme: String
}
"""
core/term-description block
"""
type WpCoreTermDescriptionBlock implements WpBlock {
attributes: WpCoreTermDescriptionBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreTermDescriptionBlockAttributes {
align: String
backgroundColor: String
className: String
fontSize: String
lock: JSON
style: JSON
textAlign: String
textColor: String
}
"""
core/text-columns block
"""
type WpCoreTextColumnsBlock implements WpBlock {
attributes: WpCoreTextColumnsBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreTextColumnsBlockAttributes {
className: String
columns: Float!
content: [WpCoreTextColumnsBlockAttributesContent]!
lock: JSON
width: String
}
type WpCoreTextColumnsBlockAttributesContent {
wpChildren: String
}
"""
core/verse block
"""
type WpCoreVerseBlock implements WpBlock {
attributes: WpCoreVerseBlockAttributesUnion
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreVerseBlockAttributes {
anchor: String
backgroundColor: String
className: String
content: String!
fontFamily: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
}
union WpCoreVerseBlockAttributesUnion =
WpCoreVerseBlockAttributes
| WpCoreVerseBlockDeprecatedV1Attributes
| WpCoreVerseBlockDeprecatedV2Attributes
type WpCoreVerseBlockDeprecatedV1Attributes {
anchor: String
backgroundColor: String
className: String
content: String!
fontFamily: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
}
type WpCoreVerseBlockDeprecatedV2Attributes {
anchor: String
backgroundColor: String
className: String
content: String!
fontFamily: String
fontSize: String
gradient: String
lock: JSON
style: JSON
textAlign: String
textColor: String
}
"""
core/video block
"""
type WpCoreVideoBlock implements WpBlock {
attributes: WpCoreVideoBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpCoreVideoBlockAttributes {
align: String
anchor: String
autoplay: Boolean
caption: String
className: String
controls: Boolean!
id: Float
lock: JSON
loop: Boolean
muted: Boolean
playsInline: Boolean
poster: String
preload: String!
src: String
tracks: [WpBlockAttributesObject]!
}
interface WpDatabaseIdentifier {
"""
The unique identifier stored in the database
"""
databaseId: Int!
}
"""
The template assigned to the node
"""
type WpDefaultTemplate implements WpContentTemplate {
"""
The name of the template
"""
templateName: String
}
"""
The discussion setting type
"""
type WpDiscussionSettings {
"""
Erlaube Besuchern, neue Beiträge zu kommentieren.
"""
defaultCommentStatus: String
"""
Link-Benachrichtigungen von anderen Blogs (Pingbacks und Trackbacks) zu neuen Beiträgen erlauben.
"""
defaultPingStatus: String
}
input WpDiscussionSettingsFilterInput {
defaultCommentStatus: StringQueryOperatorInput
defaultPingStatus: StringQueryOperatorInput
}
type WpEdge {
next: Wp
node: Wp!
previous: Wp
}
enum WpFieldsEnum {
allSettings___discussionSettingsDefaultCommentStatus
allSettings___discussionSettingsDefaultPingStatus
allSettings___generalSettingsDateFormat
allSettings___generalSettingsDescription
allSettings___generalSettingsEmail
allSettings___generalSettingsLanguage
allSettings___generalSettingsStartOfWeek
allSettings___generalSettingsTimeFormat
allSettings___generalSettingsTimezone
allSettings___generalSettingsTitle
allSettings___generalSettingsUrl
allSettings___readingSettingsPostsPerPage
allSettings___writingSettingsDefaultCategory
allSettings___writingSettingsDefaultPostFormat
allSettings___writingSettingsUseSmilies
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
discussionSettings___defaultCommentStatus
discussionSettings___defaultPingStatus
generalSettings___dateFormat
generalSettings___description
generalSettings___email
generalSettings___language
generalSettings___startOfWeek
generalSettings___timeFormat
generalSettings___timezone
generalSettings___title
generalSettings___url
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
readingSettings___postsPerPage
wpGatsby___arePrettyPermalinksEnabled
wpGatsby___isPreviewFrontendOnline
writingSettings___defaultCategory
writingSettings___defaultPostFormat
writingSettings___useSmilies
}
input WpFilterInput {
allSettings: WpSettingsFilterInput
children: NodeFilterListInput
discussionSettings: WpDiscussionSettingsFilterInput
generalSettings: WpGeneralSettingsFilterInput
id: StringQueryOperatorInput
internal: InternalFilterInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
readingSettings: WpReadingSettingsFilterInput
wpGatsby: WpWPGatsbyFilterInput
writingSettings: WpWritingSettingsFilterInput
}
"""
The general setting type
"""
type WpGeneralSettings {
"""
Ein Zeitformat für alle datumsbasierten Zeichenfolgen.
"""
dateFormat: String
"""
Website-Untertitel.
"""
description: String
"""
Diese Adresse wird für administrative Zwecke verwendet, wie Benachrichtigungen über neue Benutzer.
"""
email: String
"""
WordPress-Ländercode.
"""
language: String
"""
Die Zahl eines Wochentages, mit dem die Woche beginnen sollte.
"""
startOfWeek: Int
"""
Ein Zeitformat für alle zeitbasierten Zeichenfolgen.
"""
timeFormat: String
"""
Eine Stadt in deiner Zeitzone.
"""
timezone: String
"""
Website-Titel.
"""
title: String
"""
Website-URL.
"""
url: String
}
input WpGeneralSettingsFilterInput {
dateFormat: StringQueryOperatorInput
description: StringQueryOperatorInput
email: StringQueryOperatorInput
language: StringQueryOperatorInput
startOfWeek: IntQueryOperatorInput
timeFormat: StringQueryOperatorInput
timezone: StringQueryOperatorInput
title: StringQueryOperatorInput
url: StringQueryOperatorInput
}
type WpGroupConnection {
distinct(field: WpFieldsEnum!): [String!]!
edges: [WpEdge!]!
field: String!
fieldValue: String
group(field: WpFieldsEnum!, limit: Int, skip: Int): [WpGroupConnection!]!
max(field: WpFieldsEnum!): Float
min(field: WpFieldsEnum!): Float
nodes: [Wp!]!
pageInfo: PageInfo!
sum(field: WpFieldsEnum!): Float
totalCount: Int!
}
interface WpHierarchicalContentNode {
"""
Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root).
"""
ancestors: WpHierarchicalContentNodeToContentNodeAncestorsConnection
"""
Database id of the parent node
"""
parentDatabaseId: Int
"""
The globally unique identifier of the parent node.
"""
parentId: ID
"""
Connection between the HierarchicalContentNode type and the ContentNode type
"""
wpChildren: WpHierarchicalContentNodeToContentNodeChildrenConnection
"""
The parent of the node. The parent object can be of various types
"""
wpParent: WpHierarchicalContentNodeToParentContentNodeConnectionEdge
}
"""
Connection between the HierarchicalContentNode type and the ContentNode type
"""
type WpHierarchicalContentNodeToContentNodeAncestorsConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpContentNode]
}
input WpHierarchicalContentNodeToContentNodeAncestorsConnectionFilterInput {
nodes: WpContentNodeFilterListInput
}
"""
Connection between the HierarchicalContentNode type and the ContentNode type
"""
type WpHierarchicalContentNodeToContentNodeChildrenConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpContentNode]
}
input WpHierarchicalContentNodeToContentNodeChildrenConnectionFilterInput {
nodes: WpContentNodeFilterListInput
}
"""
Connection between the HierarchicalContentNode type and the ContentNode type
"""
type WpHierarchicalContentNodeToParentContentNodeConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpContentNode
}
input WpHierarchicalContentNodeToParentContentNodeConnectionEdgeFilterInput {
node: WpContentNodeFilterInput
}
interface WpHierarchicalTermNode {
"""
Database id of the parent node
"""
parentDatabaseId: Int
"""
The globally unique identifier of the parent node.
"""
parentId: ID
}
"""
lazyblock-core/free block
"""
type WpLazyblockCoreFreeBlock implements WpBlock {
attributes: WpLazyblockCoreFreeBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpLazyblockCoreFreeBlockAttributes {
className: String
lock: JSON
}
"""
lazyblock/image-repeater block
"""
type WpLazyblockImageRepeaterBlock implements WpBlock {
attributes: WpLazyblockImageRepeaterBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpLazyblockImageRepeaterBlockAttributes {
align: String!
anchor: String!
blockId: String!
blockUniqueClass: String!
className: String
ghostkitSR: String!
ghostkitSpacings: JSON!
images: String!
innerBlock: String!
lazyblock: JSON!
lock: JSON
}
"""
lazyblock/lightbox-image block
"""
type WpLazyblockLightboxImageBlock implements WpBlock {
attributes: WpLazyblockLightboxImageBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpLazyblockLightboxImageBlockAttributes {
align: String!
anchor: String!
blockId: String!
blockUniqueClass: String!
className: String
ghostkitSR: String!
ghostkitSpacings: JSON!
image: String!
lazyblock: JSON!
lock: JSON
}
"""
lazyblock/project-highlight block
"""
type WpLazyblockProjectHighlightBlock implements WpBlock {
attributes: WpLazyblockProjectHighlightBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpLazyblockProjectHighlightBlockAttributes {
align: String!
anchor: String!
blockId: String!
blockUniqueClass: String!
className: String
ghostkitSR: String!
ghostkitSpacings: JSON!
highlights: String!
images: String!
lazyblock: JSON!
lock: JSON
title: String!
}
"""
lazyblock/projectecho block
"""
type WpLazyblockProjectechoBlock implements WpBlock {
attributes: WpLazyblockProjectechoBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpLazyblockProjectechoBlockAttributes {
align: String!
anchor: String!
blockId: String!
blockUniqueClass: String!
className: String
gallery: String!
ghostkitSR: String!
ghostkitSpacings: JSON!
lazyblock: JSON!
lock: JSON
}
"""
File details for a Media Item
"""
type WpMediaDetails {
"""
The filename of the mediaItem
"""
file: String
"""
The height of the mediaItem
"""
height: Int
"""
Meta information associated with the mediaItem
"""
meta: WpMediaItemMeta
"""
The available sizes of the mediaItem
"""
sizes: [WpMediaSize]
"""
The width of the mediaItem
"""
width: Int
}
input WpMediaDetailsFilterInput {
file: StringQueryOperatorInput
height: IntQueryOperatorInput
meta: WpMediaItemMetaFilterInput
sizes: WpMediaSizeFilterListInput
width: IntQueryOperatorInput
}
"""
The mediaItem type
"""
type WpMediaItem implements Node & RemoteFile & WpContentNode & WpDatabaseIdentifier & WpHierarchicalContentNode & WpNode & WpNodeWithAuthor & WpNodeWithComments & WpNodeWithTemplate & WpNodeWithTitle & WpUniformResourceIdentifiable {
"""
Alternative text to display when resource is not displayed
"""
altText: String
"""
Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root).
"""
ancestors: WpHierarchicalContentNodeToContentNodeAncestorsConnection
"""
Connection between the NodeWithAuthor type and the User type
"""
author: WpNodeWithAuthorToUserConnectionEdge
"""
The database identifier of the author of the node
"""
authorDatabaseId: Int
"""
The globally unique identifier of the author of the node
"""
authorId: ID
"""
The caption for the resource
"""
caption: String
children: [Node!]!
"""
The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility.
"""
commentCount: Int
"""
Whether the comments are open or closed for this particular post.
"""
commentStatus: String
"""
Connection between the mediaItem type and the Comment type
"""
comments: WpMediaItemToCommentConnection
"""
Connection between the ContentNode type and the ContentType type
"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""
The name of the Content Type the node belongs to
"""
contentTypeName: String!
"""
The unique identifier stored in the database
"""
databaseId: Int!
"""
Post publishing date.
"""
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The publishing date set in GMT.
"""
dateGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
Description of the image (stored as post_content)
"""
description: String
"""
The desired slug of the post
"""
desiredSlug: String
"""
The RSS enclosure for the object
"""
enclosure: String
"""
The filesize in bytes of the resource
"""
fileSize: Int
filename: String!
filesize: Int
"""
Data used in the component. See https://gatsby.dev/img for more info.
"""
gatsbyImage(
"""
If set along with width or height, this will set the value of the other dimension to match the provided aspect ratio, cropping the image if needed.
If neither width or height is provided, height will be set based on the intrinsic width of the source image.
"""
aspectRatio: Float
"""
Background color applied to the wrapper, or when "letterboxing" an image to another aspect ratio.
"""
backgroundColor: String
"""
Specifies the image widths to generate. You should rarely need to change this. For FIXED and CONSTRAINED images it is better to allow these to be determined automatically,
based on the image size. For FULL_WIDTH images this can be used to override the default, which is [750, 1080, 1366, 1920].
It will never generate any images larger than the source.
"""
breakpoints: [Int] = [750, 1080, 1366, 1920]
cropFocus: [RemoteFileCropFocus]
fit: RemoteFileFit = COVER
"""
The image formats to generate. Valid values are AUTO (meaning the same format as the source image), JPG, PNG, WEBP and AVIF.
The default value is [AUTO, WEBP, AVIF], and you should rarely need to change this. Take care if you specify JPG or PNG when you do
not know the formats of the source images, as this could lead to unwanted results such as converting JPEGs to PNGs. Specifying
both PNG and JPG is not supported and will be ignored.
"""
formats: [RemoteFileFormat!] = [AUTO, WEBP, AVIF]
"""
If set, the height of the generated image. If omitted, it is calculated from the supplied width, matching the aspect ratio of the source image.
"""
height: Int
"""
The layout for the image.
FIXED: A static image sized, that does not resize according to the screen width
FULL_WIDTH: The image resizes to fit its container. Pass a "sizes" option if it isn't going to be the full width of the screen.
CONSTRAINED: Resizes to fit its container, up to a maximum width, at which point it will remain fixed in size.
"""
layout: RemoteFileLayout = CONSTRAINED
"""
A list of image pixel densities to generate for FIXED and CONSTRAINED images. You should rarely need to change this. It will never generate images larger than the source, and will always include a 1x image.
Default is [ 1, 2 ] for fixed images, meaning 1x, 2x, and [0.25, 0.5, 1, 2] for fluid. In this case, an image with a fluid layout and width = 400 would generate images at 100, 200, 400 and 800px wide.
"""
outputPixelDensities: [Float] = [0.25, 0.5, 1, 2]
"""
Format of generated placeholder image, displayed while the main image loads.
BLURRED: a blurred, low resolution image, encoded as a base64 data URI (default)
DOMINANT_COLOR: a solid color, calculated from the dominant color of the image.
TRACED_SVG: a low-resolution traced SVG of the image.
NONE: no placeholder. Set the argument "backgroundColor" to use a fixed background color.
"""
placeholder: RemoteFilePlaceholder = DOMINANT_COLOR
quality: Int = 75
"""
The "sizes" property, passed to the img tag. This describes the display size of the image.
This does not affect the generated images, but is used by the browser to decide which images to download. You can leave this blank for fixed images, or if the responsive image
container will be the full width of the screen. In these cases we will generate an appropriate value.
"""
sizes: String
"""
The display width of the generated image for layout = FIXED, and the display width of the largest image for layout = CONSTRAINED.
The actual largest image resolution will be this value multiplied by the largest value in outputPixelDensities
Ignored if layout = FLUID.
"""
width: Int
): JSON
"""
The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table.
"""
guid: String
height: Int
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The user that most recently edited the node
"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
"""
The permalink of the post
"""
link: String
localFile: File
"""
Details about the mediaItem
"""
mediaDetails: WpMediaDetails
"""
Url of the mediaItem
"""
mediaItemUrl: String
"""
Type of resource
"""
mediaType: String
mimeType: String!
"""
The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time.
"""
modified(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT.
"""
modifiedGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
nodeType: String
parent: Node
"""
Database id of the parent node
"""
parentDatabaseId: Int
"""
The globally unique identifier of the parent node.
"""
parentId: ID
publicUrl: String!
remoteFile: File @deprecated(reason: "MediaItem.remoteFile was renamed to localFile")
resize(
cropFocus: [RemoteFileCropFocus]
fit: RemoteFileFit = COVER
"""
The image formats to generate. Valid values are AUTO (meaning the same format as the source image), JPG, PNG, WEBP and AVIF.
The default value is [AUTO, WEBP, AVIF], and you should rarely need to change this. Take care if you specify JPG or PNG when you do
not know the formats of the source images, as this could lead to unwanted results such as converting JPEGs to PNGs. Specifying
both PNG and JPG is not supported and will be ignored.
"""
format: RemoteFileFormat = AUTO
height: Int
quality: Int = 75
width: Int
): RemoteFileResize
"""
The sizes attribute value for an image.
"""
sizes: String
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table.
"""
slug: String
"""
Url of the mediaItem
"""
sourceUrl: String
"""
The srcset attribute specifies the URL of the image to use in different situations. It is a comma separated string of urls and their widths.
"""
srcSet: String
"""
The current status of the object
"""
status: String
"""
The template assigned to the node
"""
template: WpContentTemplate
"""
The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made.
"""
title: String
"""
The unique resource identifier path
"""
uri: String
width: Int
"""
Connection between the HierarchicalContentNode type and the ContentNode type
"""
wpChildren: WpHierarchicalContentNodeToContentNodeChildrenConnection
"""
The parent of the node. The parent object can be of various types
"""
wpParent: WpHierarchicalContentNodeToParentContentNodeConnectionEdge
}
type WpMediaItemConnection {
distinct(field: WpMediaItemFieldsEnum!): [String!]!
edges: [WpMediaItemEdge!]!
group(field: WpMediaItemFieldsEnum!, limit: Int, skip: Int): [WpMediaItemGroupConnection!]!
max(field: WpMediaItemFieldsEnum!): Float
min(field: WpMediaItemFieldsEnum!): Float
nodes: [WpMediaItem!]!
pageInfo: PageInfo!
sum(field: WpMediaItemFieldsEnum!): Float
totalCount: Int!
}
type WpMediaItemEdge {
next: WpMediaItem
node: WpMediaItem!
previous: WpMediaItem
}
enum WpMediaItemFieldsEnum {
altText
ancestors___nodes
ancestors___nodes___children
ancestors___nodes___children___children
ancestors___nodes___children___id
ancestors___nodes___contentTypeName
ancestors___nodes___databaseId
ancestors___nodes___date
ancestors___nodes___dateGmt
ancestors___nodes___desiredSlug
ancestors___nodes___enclosure
ancestors___nodes___guid
ancestors___nodes___id
ancestors___nodes___internal___content
ancestors___nodes___internal___contentDigest
ancestors___nodes___internal___description
ancestors___nodes___internal___fieldOwners
ancestors___nodes___internal___ignoreType
ancestors___nodes___internal___mediaType
ancestors___nodes___internal___owner
ancestors___nodes___internal___type
ancestors___nodes___isContentNode
ancestors___nodes___isTermNode
ancestors___nodes___link
ancestors___nodes___modified
ancestors___nodes___modifiedGmt
ancestors___nodes___nodeType
ancestors___nodes___parent___children
ancestors___nodes___parent___id
ancestors___nodes___slug
ancestors___nodes___status
ancestors___nodes___template___templateName
ancestors___nodes___uri
authorDatabaseId
authorId
author___node___avatar___default
author___node___avatar___extraAttr
author___node___avatar___forceDefault
author___node___avatar___foundAvatar
author___node___avatar___height
author___node___avatar___rating
author___node___avatar___scheme
author___node___avatar___size
author___node___avatar___url
author___node___avatar___width
author___node___blockEditorPreviews___nodes
author___node___capKey
author___node___capabilities
author___node___children
author___node___children___children
author___node___children___id
author___node___comments___nodes
author___node___databaseId
author___node___description
author___node___email
author___node___extraCapabilities
author___node___firstName
author___node___id
author___node___internal___content
author___node___internal___contentDigest
author___node___internal___description
author___node___internal___fieldOwners
author___node___internal___ignoreType
author___node___internal___mediaType
author___node___internal___owner
author___node___internal___type
author___node___isContentNode
author___node___isTermNode
author___node___lastName
author___node___locale
author___node___name
author___node___nicename
author___node___nickname
author___node___nodeType
author___node___pages___nodes
author___node___parent___children
author___node___parent___id
author___node___posts___nodes
author___node___registeredDate
author___node___roles___nodes
author___node___slug
author___node___uri
author___node___url
author___node___username
caption
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
commentCount
commentStatus
comments___nodes
comments___nodes___agent
comments___nodes___approved
comments___nodes___authorIp
comments___nodes___children
comments___nodes___children___children
comments___nodes___children___id
comments___nodes___content
comments___nodes___databaseId
comments___nodes___date
comments___nodes___dateGmt
comments___nodes___id
comments___nodes___internal___content
comments___nodes___internal___contentDigest
comments___nodes___internal___description
comments___nodes___internal___fieldOwners
comments___nodes___internal___ignoreType
comments___nodes___internal___mediaType
comments___nodes___internal___owner
comments___nodes___internal___type
comments___nodes___karma
comments___nodes___nodeType
comments___nodes___parentDatabaseId
comments___nodes___parentId
comments___nodes___parent___children
comments___nodes___parent___id
comments___nodes___replies___nodes
comments___nodes___type
contentTypeName
contentType___node___archivePath
contentType___node___canExport
contentType___node___children
contentType___node___children___children
contentType___node___children___id
contentType___node___connectedTaxonomies___nodes
contentType___node___contentNodes___nodes
contentType___node___deleteWithUser
contentType___node___description
contentType___node___excludeFromSearch
contentType___node___graphqlPluralName
contentType___node___graphqlSingleName
contentType___node___hasArchive
contentType___node___hierarchical
contentType___node___id
contentType___node___internal___content
contentType___node___internal___contentDigest
contentType___node___internal___description
contentType___node___internal___fieldOwners
contentType___node___internal___ignoreType
contentType___node___internal___mediaType
contentType___node___internal___owner
contentType___node___internal___type
contentType___node___isContentNode
contentType___node___isFrontPage
contentType___node___isPostsPage
contentType___node___isTermNode
contentType___node___label
contentType___node___labels___addNew
contentType___node___labels___addNewItem
contentType___node___labels___allItems
contentType___node___labels___archives
contentType___node___labels___attributes
contentType___node___labels___editItem
contentType___node___labels___featuredImage
contentType___node___labels___filterItemsList
contentType___node___labels___insertIntoItem
contentType___node___labels___itemsList
contentType___node___labels___itemsListNavigation
contentType___node___labels___menuName
contentType___node___labels___name
contentType___node___labels___newItem
contentType___node___labels___notFound
contentType___node___labels___notFoundInTrash
contentType___node___labels___parentItemColon
contentType___node___labels___removeFeaturedImage
contentType___node___labels___searchItems
contentType___node___labels___setFeaturedImage
contentType___node___labels___singularName
contentType___node___labels___uploadedToThisItem
contentType___node___labels___useFeaturedImage
contentType___node___labels___viewItem
contentType___node___labels___viewItems
contentType___node___menuIcon
contentType___node___menuPosition
contentType___node___name
contentType___node___nodeType
contentType___node___parent___children
contentType___node___parent___id
contentType___node___public
contentType___node___publiclyQueryable
contentType___node___restBase
contentType___node___restControllerClass
contentType___node___showInAdminBar
contentType___node___showInGraphql
contentType___node___showInMenu
contentType___node___showInNavMenus
contentType___node___showInRest
contentType___node___showUi
contentType___node___uri
databaseId
date
dateGmt
description
desiredSlug
enclosure
fileSize
filename
filesize
gatsbyImage
guid
height
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isTermNode
lastEditedBy___node___avatar___default
lastEditedBy___node___avatar___extraAttr
lastEditedBy___node___avatar___forceDefault
lastEditedBy___node___avatar___foundAvatar
lastEditedBy___node___avatar___height
lastEditedBy___node___avatar___rating
lastEditedBy___node___avatar___scheme
lastEditedBy___node___avatar___size
lastEditedBy___node___avatar___url
lastEditedBy___node___avatar___width
lastEditedBy___node___blockEditorPreviews___nodes
lastEditedBy___node___capKey
lastEditedBy___node___capabilities
lastEditedBy___node___children
lastEditedBy___node___children___children
lastEditedBy___node___children___id
lastEditedBy___node___comments___nodes
lastEditedBy___node___databaseId
lastEditedBy___node___description
lastEditedBy___node___email
lastEditedBy___node___extraCapabilities
lastEditedBy___node___firstName
lastEditedBy___node___id
lastEditedBy___node___internal___content
lastEditedBy___node___internal___contentDigest
lastEditedBy___node___internal___description
lastEditedBy___node___internal___fieldOwners
lastEditedBy___node___internal___ignoreType
lastEditedBy___node___internal___mediaType
lastEditedBy___node___internal___owner
lastEditedBy___node___internal___type
lastEditedBy___node___isContentNode
lastEditedBy___node___isTermNode
lastEditedBy___node___lastName
lastEditedBy___node___locale
lastEditedBy___node___name
lastEditedBy___node___nicename
lastEditedBy___node___nickname
lastEditedBy___node___nodeType
lastEditedBy___node___pages___nodes
lastEditedBy___node___parent___children
lastEditedBy___node___parent___id
lastEditedBy___node___posts___nodes
lastEditedBy___node___registeredDate
lastEditedBy___node___roles___nodes
lastEditedBy___node___slug
lastEditedBy___node___uri
lastEditedBy___node___url
lastEditedBy___node___username
link
localFile___absolutePath
localFile___accessTime
localFile___atime
localFile___atimeMs
localFile___base
localFile___birthTime
localFile___birthtime
localFile___birthtimeMs
localFile___blksize
localFile___blocks
localFile___changeTime
localFile___childImageSharp___children
localFile___childImageSharp___children___children
localFile___childImageSharp___children___id
localFile___childImageSharp___fixed___aspectRatio
localFile___childImageSharp___fixed___base64
localFile___childImageSharp___fixed___height
localFile___childImageSharp___fixed___originalName
localFile___childImageSharp___fixed___src
localFile___childImageSharp___fixed___srcSet
localFile___childImageSharp___fixed___srcSetWebp
localFile___childImageSharp___fixed___srcWebp
localFile___childImageSharp___fixed___tracedSVG
localFile___childImageSharp___fixed___width
localFile___childImageSharp___fluid___aspectRatio
localFile___childImageSharp___fluid___base64
localFile___childImageSharp___fluid___originalImg
localFile___childImageSharp___fluid___originalName
localFile___childImageSharp___fluid___presentationHeight
localFile___childImageSharp___fluid___presentationWidth
localFile___childImageSharp___fluid___sizes
localFile___childImageSharp___fluid___src
localFile___childImageSharp___fluid___srcSet
localFile___childImageSharp___fluid___srcSetWebp
localFile___childImageSharp___fluid___srcWebp
localFile___childImageSharp___fluid___tracedSVG
localFile___childImageSharp___gatsbyImageData
localFile___childImageSharp___id
localFile___childImageSharp___internal___content
localFile___childImageSharp___internal___contentDigest
localFile___childImageSharp___internal___description
localFile___childImageSharp___internal___fieldOwners
localFile___childImageSharp___internal___ignoreType
localFile___childImageSharp___internal___mediaType
localFile___childImageSharp___internal___owner
localFile___childImageSharp___internal___type
localFile___childImageSharp___original___height
localFile___childImageSharp___original___src
localFile___childImageSharp___original___width
localFile___childImageSharp___parent___children
localFile___childImageSharp___parent___id
localFile___childImageSharp___resize___aspectRatio
localFile___childImageSharp___resize___height
localFile___childImageSharp___resize___originalName
localFile___childImageSharp___resize___src
localFile___childImageSharp___resize___tracedSVG
localFile___childImageSharp___resize___width
localFile___children
localFile___childrenImageSharp
localFile___childrenImageSharp___children
localFile___childrenImageSharp___children___children
localFile___childrenImageSharp___children___id
localFile___childrenImageSharp___fixed___aspectRatio
localFile___childrenImageSharp___fixed___base64
localFile___childrenImageSharp___fixed___height
localFile___childrenImageSharp___fixed___originalName
localFile___childrenImageSharp___fixed___src
localFile___childrenImageSharp___fixed___srcSet
localFile___childrenImageSharp___fixed___srcSetWebp
localFile___childrenImageSharp___fixed___srcWebp
localFile___childrenImageSharp___fixed___tracedSVG
localFile___childrenImageSharp___fixed___width
localFile___childrenImageSharp___fluid___aspectRatio
localFile___childrenImageSharp___fluid___base64
localFile___childrenImageSharp___fluid___originalImg
localFile___childrenImageSharp___fluid___originalName
localFile___childrenImageSharp___fluid___presentationHeight
localFile___childrenImageSharp___fluid___presentationWidth
localFile___childrenImageSharp___fluid___sizes
localFile___childrenImageSharp___fluid___src
localFile___childrenImageSharp___fluid___srcSet
localFile___childrenImageSharp___fluid___srcSetWebp
localFile___childrenImageSharp___fluid___srcWebp
localFile___childrenImageSharp___fluid___tracedSVG
localFile___childrenImageSharp___gatsbyImageData
localFile___childrenImageSharp___id
localFile___childrenImageSharp___internal___content
localFile___childrenImageSharp___internal___contentDigest
localFile___childrenImageSharp___internal___description
localFile___childrenImageSharp___internal___fieldOwners
localFile___childrenImageSharp___internal___ignoreType
localFile___childrenImageSharp___internal___mediaType
localFile___childrenImageSharp___internal___owner
localFile___childrenImageSharp___internal___type
localFile___childrenImageSharp___original___height
localFile___childrenImageSharp___original___src
localFile___childrenImageSharp___original___width
localFile___childrenImageSharp___parent___children
localFile___childrenImageSharp___parent___id
localFile___childrenImageSharp___resize___aspectRatio
localFile___childrenImageSharp___resize___height
localFile___childrenImageSharp___resize___originalName
localFile___childrenImageSharp___resize___src
localFile___childrenImageSharp___resize___tracedSVG
localFile___childrenImageSharp___resize___width
localFile___children___children
localFile___children___children___children
localFile___children___children___id
localFile___children___id
localFile___children___internal___content
localFile___children___internal___contentDigest
localFile___children___internal___description
localFile___children___internal___fieldOwners
localFile___children___internal___ignoreType
localFile___children___internal___mediaType
localFile___children___internal___owner
localFile___children___internal___type
localFile___children___parent___children
localFile___children___parent___id
localFile___ctime
localFile___ctimeMs
localFile___dev
localFile___dir
localFile___ext
localFile___extension
localFile___gid
localFile___hash
localFile___id
localFile___ino
localFile___internal___content
localFile___internal___contentDigest
localFile___internal___description
localFile___internal___fieldOwners
localFile___internal___ignoreType
localFile___internal___mediaType
localFile___internal___owner
localFile___internal___type
localFile___mode
localFile___modifiedTime
localFile___mtime
localFile___mtimeMs
localFile___name
localFile___nlink
localFile___parent___children
localFile___parent___children___children
localFile___parent___children___id
localFile___parent___id
localFile___parent___internal___content
localFile___parent___internal___contentDigest
localFile___parent___internal___description
localFile___parent___internal___fieldOwners
localFile___parent___internal___ignoreType
localFile___parent___internal___mediaType
localFile___parent___internal___owner
localFile___parent___internal___type
localFile___parent___parent___children
localFile___parent___parent___id
localFile___prettySize
localFile___publicURL
localFile___rdev
localFile___relativeDirectory
localFile___relativePath
localFile___root
localFile___size
localFile___sourceInstanceName
localFile___uid
mediaDetails___file
mediaDetails___height
mediaDetails___meta___aperture
mediaDetails___meta___camera
mediaDetails___meta___caption
mediaDetails___meta___copyright
mediaDetails___meta___createdTimestamp
mediaDetails___meta___credit
mediaDetails___meta___focalLength
mediaDetails___meta___iso
mediaDetails___meta___keywords
mediaDetails___meta___orientation
mediaDetails___meta___shutterSpeed
mediaDetails___meta___title
mediaDetails___sizes
mediaDetails___sizes___file
mediaDetails___sizes___fileSize
mediaDetails___sizes___height
mediaDetails___sizes___mimeType
mediaDetails___sizes___name
mediaDetails___sizes___sourceUrl
mediaDetails___sizes___width
mediaDetails___width
mediaItemUrl
mediaType
mimeType
modified
modifiedGmt
nodeType
parentDatabaseId
parentId
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
publicUrl
remoteFile___absolutePath
remoteFile___accessTime
remoteFile___atime
remoteFile___atimeMs
remoteFile___base
remoteFile___birthTime
remoteFile___birthtime
remoteFile___birthtimeMs
remoteFile___blksize
remoteFile___blocks
remoteFile___changeTime
remoteFile___childImageSharp___children
remoteFile___childImageSharp___children___children
remoteFile___childImageSharp___children___id
remoteFile___childImageSharp___fixed___aspectRatio
remoteFile___childImageSharp___fixed___base64
remoteFile___childImageSharp___fixed___height
remoteFile___childImageSharp___fixed___originalName
remoteFile___childImageSharp___fixed___src
remoteFile___childImageSharp___fixed___srcSet
remoteFile___childImageSharp___fixed___srcSetWebp
remoteFile___childImageSharp___fixed___srcWebp
remoteFile___childImageSharp___fixed___tracedSVG
remoteFile___childImageSharp___fixed___width
remoteFile___childImageSharp___fluid___aspectRatio
remoteFile___childImageSharp___fluid___base64
remoteFile___childImageSharp___fluid___originalImg
remoteFile___childImageSharp___fluid___originalName
remoteFile___childImageSharp___fluid___presentationHeight
remoteFile___childImageSharp___fluid___presentationWidth
remoteFile___childImageSharp___fluid___sizes
remoteFile___childImageSharp___fluid___src
remoteFile___childImageSharp___fluid___srcSet
remoteFile___childImageSharp___fluid___srcSetWebp
remoteFile___childImageSharp___fluid___srcWebp
remoteFile___childImageSharp___fluid___tracedSVG
remoteFile___childImageSharp___gatsbyImageData
remoteFile___childImageSharp___id
remoteFile___childImageSharp___internal___content
remoteFile___childImageSharp___internal___contentDigest
remoteFile___childImageSharp___internal___description
remoteFile___childImageSharp___internal___fieldOwners
remoteFile___childImageSharp___internal___ignoreType
remoteFile___childImageSharp___internal___mediaType
remoteFile___childImageSharp___internal___owner
remoteFile___childImageSharp___internal___type
remoteFile___childImageSharp___original___height
remoteFile___childImageSharp___original___src
remoteFile___childImageSharp___original___width
remoteFile___childImageSharp___parent___children
remoteFile___childImageSharp___parent___id
remoteFile___childImageSharp___resize___aspectRatio
remoteFile___childImageSharp___resize___height
remoteFile___childImageSharp___resize___originalName
remoteFile___childImageSharp___resize___src
remoteFile___childImageSharp___resize___tracedSVG
remoteFile___childImageSharp___resize___width
remoteFile___children
remoteFile___childrenImageSharp
remoteFile___childrenImageSharp___children
remoteFile___childrenImageSharp___children___children
remoteFile___childrenImageSharp___children___id
remoteFile___childrenImageSharp___fixed___aspectRatio
remoteFile___childrenImageSharp___fixed___base64
remoteFile___childrenImageSharp___fixed___height
remoteFile___childrenImageSharp___fixed___originalName
remoteFile___childrenImageSharp___fixed___src
remoteFile___childrenImageSharp___fixed___srcSet
remoteFile___childrenImageSharp___fixed___srcSetWebp
remoteFile___childrenImageSharp___fixed___srcWebp
remoteFile___childrenImageSharp___fixed___tracedSVG
remoteFile___childrenImageSharp___fixed___width
remoteFile___childrenImageSharp___fluid___aspectRatio
remoteFile___childrenImageSharp___fluid___base64
remoteFile___childrenImageSharp___fluid___originalImg
remoteFile___childrenImageSharp___fluid___originalName
remoteFile___childrenImageSharp___fluid___presentationHeight
remoteFile___childrenImageSharp___fluid___presentationWidth
remoteFile___childrenImageSharp___fluid___sizes
remoteFile___childrenImageSharp___fluid___src
remoteFile___childrenImageSharp___fluid___srcSet
remoteFile___childrenImageSharp___fluid___srcSetWebp
remoteFile___childrenImageSharp___fluid___srcWebp
remoteFile___childrenImageSharp___fluid___tracedSVG
remoteFile___childrenImageSharp___gatsbyImageData
remoteFile___childrenImageSharp___id
remoteFile___childrenImageSharp___internal___content
remoteFile___childrenImageSharp___internal___contentDigest
remoteFile___childrenImageSharp___internal___description
remoteFile___childrenImageSharp___internal___fieldOwners
remoteFile___childrenImageSharp___internal___ignoreType
remoteFile___childrenImageSharp___internal___mediaType
remoteFile___childrenImageSharp___internal___owner
remoteFile___childrenImageSharp___internal___type
remoteFile___childrenImageSharp___original___height
remoteFile___childrenImageSharp___original___src
remoteFile___childrenImageSharp___original___width
remoteFile___childrenImageSharp___parent___children
remoteFile___childrenImageSharp___parent___id
remoteFile___childrenImageSharp___resize___aspectRatio
remoteFile___childrenImageSharp___resize___height
remoteFile___childrenImageSharp___resize___originalName
remoteFile___childrenImageSharp___resize___src
remoteFile___childrenImageSharp___resize___tracedSVG
remoteFile___childrenImageSharp___resize___width
remoteFile___children___children
remoteFile___children___children___children
remoteFile___children___children___id
remoteFile___children___id
remoteFile___children___internal___content
remoteFile___children___internal___contentDigest
remoteFile___children___internal___description
remoteFile___children___internal___fieldOwners
remoteFile___children___internal___ignoreType
remoteFile___children___internal___mediaType
remoteFile___children___internal___owner
remoteFile___children___internal___type
remoteFile___children___parent___children
remoteFile___children___parent___id
remoteFile___ctime
remoteFile___ctimeMs
remoteFile___dev
remoteFile___dir
remoteFile___ext
remoteFile___extension
remoteFile___gid
remoteFile___hash
remoteFile___id
remoteFile___ino
remoteFile___internal___content
remoteFile___internal___contentDigest
remoteFile___internal___description
remoteFile___internal___fieldOwners
remoteFile___internal___ignoreType
remoteFile___internal___mediaType
remoteFile___internal___owner
remoteFile___internal___type
remoteFile___mode
remoteFile___modifiedTime
remoteFile___mtime
remoteFile___mtimeMs
remoteFile___name
remoteFile___nlink
remoteFile___parent___children
remoteFile___parent___children___children
remoteFile___parent___children___id
remoteFile___parent___id
remoteFile___parent___internal___content
remoteFile___parent___internal___contentDigest
remoteFile___parent___internal___description
remoteFile___parent___internal___fieldOwners
remoteFile___parent___internal___ignoreType
remoteFile___parent___internal___mediaType
remoteFile___parent___internal___owner
remoteFile___parent___internal___type
remoteFile___parent___parent___children
remoteFile___parent___parent___id
remoteFile___prettySize
remoteFile___publicURL
remoteFile___rdev
remoteFile___relativeDirectory
remoteFile___relativePath
remoteFile___root
remoteFile___size
remoteFile___sourceInstanceName
remoteFile___uid
resize___height
resize___src
resize___width
sizes
slug
sourceUrl
srcSet
status
template___templateName
title
uri
width
wpChildren___nodes
wpChildren___nodes___children
wpChildren___nodes___children___children
wpChildren___nodes___children___id
wpChildren___nodes___contentTypeName
wpChildren___nodes___databaseId
wpChildren___nodes___date
wpChildren___nodes___dateGmt
wpChildren___nodes___desiredSlug
wpChildren___nodes___enclosure
wpChildren___nodes___guid
wpChildren___nodes___id
wpChildren___nodes___internal___content
wpChildren___nodes___internal___contentDigest
wpChildren___nodes___internal___description
wpChildren___nodes___internal___fieldOwners
wpChildren___nodes___internal___ignoreType
wpChildren___nodes___internal___mediaType
wpChildren___nodes___internal___owner
wpChildren___nodes___internal___type
wpChildren___nodes___isContentNode
wpChildren___nodes___isTermNode
wpChildren___nodes___link
wpChildren___nodes___modified
wpChildren___nodes___modifiedGmt
wpChildren___nodes___nodeType
wpChildren___nodes___parent___children
wpChildren___nodes___parent___id
wpChildren___nodes___slug
wpChildren___nodes___status
wpChildren___nodes___template___templateName
wpChildren___nodes___uri
wpParent___node___children
wpParent___node___children___children
wpParent___node___children___id
wpParent___node___contentTypeName
wpParent___node___databaseId
wpParent___node___date
wpParent___node___dateGmt
wpParent___node___desiredSlug
wpParent___node___enclosure
wpParent___node___guid
wpParent___node___id
wpParent___node___internal___content
wpParent___node___internal___contentDigest
wpParent___node___internal___description
wpParent___node___internal___fieldOwners
wpParent___node___internal___ignoreType
wpParent___node___internal___mediaType
wpParent___node___internal___owner
wpParent___node___internal___type
wpParent___node___isContentNode
wpParent___node___isTermNode
wpParent___node___link
wpParent___node___modified
wpParent___node___modifiedGmt
wpParent___node___nodeType
wpParent___node___parent___children
wpParent___node___parent___id
wpParent___node___slug
wpParent___node___status
wpParent___node___template___templateName
wpParent___node___uri
}
input WpMediaItemFilterInput {
altText: StringQueryOperatorInput
ancestors: WpHierarchicalContentNodeToContentNodeAncestorsConnectionFilterInput
author: WpNodeWithAuthorToUserConnectionEdgeFilterInput
authorDatabaseId: IntQueryOperatorInput
authorId: IDQueryOperatorInput
caption: StringQueryOperatorInput
children: NodeFilterListInput
commentCount: IntQueryOperatorInput
commentStatus: StringQueryOperatorInput
comments: WpMediaItemToCommentConnectionFilterInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
description: StringQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
fileSize: IntQueryOperatorInput
filename: StringQueryOperatorInput
filesize: IntQueryOperatorInput
gatsbyImage: JSONQueryOperatorInput
guid: StringQueryOperatorInput
height: IntQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
localFile: FileFilterInput
mediaDetails: WpMediaDetailsFilterInput
mediaItemUrl: StringQueryOperatorInput
mediaType: StringQueryOperatorInput
mimeType: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
publicUrl: StringQueryOperatorInput
remoteFile: FileFilterInput
resize: RemoteFileResizeFilterInput
sizes: StringQueryOperatorInput
slug: StringQueryOperatorInput
sourceUrl: StringQueryOperatorInput
srcSet: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
title: StringQueryOperatorInput
uri: StringQueryOperatorInput
width: IntQueryOperatorInput
wpChildren: WpHierarchicalContentNodeToContentNodeChildrenConnectionFilterInput
wpParent: WpHierarchicalContentNodeToParentContentNodeConnectionEdgeFilterInput
}
type WpMediaItemGroupConnection {
distinct(field: WpMediaItemFieldsEnum!): [String!]!
edges: [WpMediaItemEdge!]!
field: String!
fieldValue: String
group(field: WpMediaItemFieldsEnum!, limit: Int, skip: Int): [WpMediaItemGroupConnection!]!
max(field: WpMediaItemFieldsEnum!): Float
min(field: WpMediaItemFieldsEnum!): Float
nodes: [WpMediaItem!]!
pageInfo: PageInfo!
sum(field: WpMediaItemFieldsEnum!): Float
totalCount: Int!
}
"""
Meta connected to a MediaItem
"""
type WpMediaItemMeta {
"""
Aperture measurement of the media item.
"""
aperture: Float
"""
Information about the camera used to create the media item.
"""
camera: String
"""
The text string description associated with the media item.
"""
caption: String
"""
Copyright information associated with the media item.
"""
copyright: String
"""
The date/time when the media was created.
"""
createdTimestamp: Int
"""
The original creator of the media item.
"""
credit: String
"""
The focal length value of the media item.
"""
focalLength: Float
"""
The ISO (International Organization for Standardization) value of the media item.
"""
iso: Int
"""
List of keywords used to describe or identfy the media item.
"""
keywords: [String]
"""
The vertical or horizontal aspect of the media item.
"""
orientation: String
"""
The shutter speed information of the media item.
"""
shutterSpeed: Float
"""
A useful title for the media item.
"""
title: String
}
input WpMediaItemMetaFilterInput {
aperture: FloatQueryOperatorInput
camera: StringQueryOperatorInput
caption: StringQueryOperatorInput
copyright: StringQueryOperatorInput
createdTimestamp: IntQueryOperatorInput
credit: StringQueryOperatorInput
focalLength: FloatQueryOperatorInput
iso: IntQueryOperatorInput
keywords: StringQueryOperatorInput
orientation: StringQueryOperatorInput
shutterSpeed: FloatQueryOperatorInput
title: StringQueryOperatorInput
}
input WpMediaItemSortInput {
fields: [WpMediaItemFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the mediaItem type and the Comment type
"""
type WpMediaItemToCommentConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpComment]
}
input WpMediaItemToCommentConnectionFilterInput {
nodes: WpCommentFilterListInput
}
"""
Details of an available size for a media item
"""
type WpMediaSize {
"""
The filename of the referenced size
"""
file: String
"""
The filesize of the resource
"""
fileSize: Int
"""
The height of the referenced size
"""
height: String
"""
The mime type of the referenced size
"""
mimeType: String
"""
The referenced size name
"""
name: String
"""
The url of the referenced size
"""
sourceUrl: String
"""
The width of the referenced size
"""
width: String
}
input WpMediaSizeFilterInput {
file: StringQueryOperatorInput
fileSize: IntQueryOperatorInput
height: StringQueryOperatorInput
mimeType: StringQueryOperatorInput
name: StringQueryOperatorInput
sourceUrl: StringQueryOperatorInput
width: StringQueryOperatorInput
}
input WpMediaSizeFilterListInput {
elemMatch: WpMediaSizeFilterInput
}
"""
Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme.
"""
type WpMenu implements Node & WpDatabaseIdentifier & WpNode {
children: [Node!]!
"""
The number of items in the menu
"""
count: Int
"""
The unique identifier stored in the database
"""
databaseId: Int!
id: ID!
internal: Internal!
"""
The locations a menu is assigned to
"""
locations: [WpMenuLocationEnum]
"""
Connection between the Menu type and the MenuItem type
"""
menuItems: WpMenuToMenuItemConnection
"""
Display name of the menu. Equivalent to WP_Term->name.
"""
name: String
nodeType: String
parent: Node
"""
The url friendly name of the menu. Equivalent to WP_Term->slug
"""
slug: String
}
type WpMenuConnection {
distinct(field: WpMenuFieldsEnum!): [String!]!
edges: [WpMenuEdge!]!
group(field: WpMenuFieldsEnum!, limit: Int, skip: Int): [WpMenuGroupConnection!]!
max(field: WpMenuFieldsEnum!): Float
min(field: WpMenuFieldsEnum!): Float
nodes: [WpMenu!]!
pageInfo: PageInfo!
sum(field: WpMenuFieldsEnum!): Float
totalCount: Int!
}
type WpMenuEdge {
next: WpMenu
node: WpMenu!
previous: WpMenu
}
enum WpMenuFieldsEnum {
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
count
databaseId
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
locations
menuItems___nodes
menuItems___nodes___childItems___nodes
menuItems___nodes___children
menuItems___nodes___children___children
menuItems___nodes___children___id
menuItems___nodes___cssClasses
menuItems___nodes___databaseId
menuItems___nodes___description
menuItems___nodes___id
menuItems___nodes___internal___content
menuItems___nodes___internal___contentDigest
menuItems___nodes___internal___description
menuItems___nodes___internal___fieldOwners
menuItems___nodes___internal___ignoreType
menuItems___nodes___internal___mediaType
menuItems___nodes___internal___owner
menuItems___nodes___internal___type
menuItems___nodes___label
menuItems___nodes___linkRelationship
menuItems___nodes___locations
menuItems___nodes___nodeType
menuItems___nodes___order
menuItems___nodes___parentDatabaseId
menuItems___nodes___parentId
menuItems___nodes___parent___children
menuItems___nodes___parent___id
menuItems___nodes___path
menuItems___nodes___target
menuItems___nodes___title
menuItems___nodes___url
name
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
slug
}
input WpMenuFilterInput {
children: NodeFilterListInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
locations: WpMenuLocationEnumQueryOperatorInput
menuItems: WpMenuToMenuItemConnectionFilterInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
slug: StringQueryOperatorInput
}
type WpMenuGroupConnection {
distinct(field: WpMenuFieldsEnum!): [String!]!
edges: [WpMenuEdge!]!
field: String!
fieldValue: String
group(field: WpMenuFieldsEnum!, limit: Int, skip: Int): [WpMenuGroupConnection!]!
max(field: WpMenuFieldsEnum!): Float
min(field: WpMenuFieldsEnum!): Float
nodes: [WpMenu!]!
pageInfo: PageInfo!
sum(field: WpMenuFieldsEnum!): Float
totalCount: Int!
}
"""
Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu.
"""
type WpMenuItem implements Node & WpDatabaseIdentifier & WpNode {
"""
Connection between the MenuItem type and the MenuItem type
"""
childItems: WpMenuItemToMenuItemConnection
children: [Node!]!
"""
Connection from MenuItem to it's connected node
"""
connectedNode: WpMenuItemToMenuItemLinkableConnectionEdge
"""
Class attribute for the menu item link
"""
cssClasses: [String]
"""
The unique identifier stored in the database
"""
databaseId: Int!
"""
Description of the menu item.
"""
description: String
id: ID!
internal: Internal!
"""
Label or title of the menu item.
"""
label: String
"""
Link relationship (XFN) of the menu item.
"""
linkRelationship: String
"""
The locations the menu item's Menu is assigned to
"""
locations: [WpMenuLocationEnum]
"""
The Menu a MenuItem is part of
"""
menu: WpMenuItemToMenuConnectionEdge
nodeType: String
"""
Menu item order
"""
order: Int
parent: Node
"""
The database id of the parent menu item or null if it is the root
"""
parentDatabaseId: Int
"""
The globally unique identifier of the parent nav menu item object.
"""
parentId: ID
"""
Path for the resource. Relative path for internal resources. Absolute path for external resources.
"""
path: String
"""
Target attribute for the menu item link.
"""
target: String
"""
Title attribute for the menu item link
"""
title: String
"""
URL or destination of the menu item.
"""
url: String
}
type WpMenuItemConnection {
distinct(field: WpMenuItemFieldsEnum!): [String!]!
edges: [WpMenuItemEdge!]!
group(field: WpMenuItemFieldsEnum!, limit: Int, skip: Int): [WpMenuItemGroupConnection!]!
max(field: WpMenuItemFieldsEnum!): Float
min(field: WpMenuItemFieldsEnum!): Float
nodes: [WpMenuItem!]!
pageInfo: PageInfo!
sum(field: WpMenuItemFieldsEnum!): Float
totalCount: Int!
}
type WpMenuItemEdge {
next: WpMenuItem
node: WpMenuItem!
previous: WpMenuItem
}
enum WpMenuItemFieldsEnum {
childItems___nodes
childItems___nodes___childItems___nodes
childItems___nodes___children
childItems___nodes___children___children
childItems___nodes___children___id
childItems___nodes___cssClasses
childItems___nodes___databaseId
childItems___nodes___description
childItems___nodes___id
childItems___nodes___internal___content
childItems___nodes___internal___contentDigest
childItems___nodes___internal___description
childItems___nodes___internal___fieldOwners
childItems___nodes___internal___ignoreType
childItems___nodes___internal___mediaType
childItems___nodes___internal___owner
childItems___nodes___internal___type
childItems___nodes___label
childItems___nodes___linkRelationship
childItems___nodes___locations
childItems___nodes___nodeType
childItems___nodes___order
childItems___nodes___parentDatabaseId
childItems___nodes___parentId
childItems___nodes___parent___children
childItems___nodes___parent___id
childItems___nodes___path
childItems___nodes___target
childItems___nodes___title
childItems___nodes___url
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
connectedNode___node___databaseId
connectedNode___node___id
connectedNode___node___uri
cssClasses
databaseId
description
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
label
linkRelationship
locations
menu___node___children
menu___node___children___children
menu___node___children___id
menu___node___count
menu___node___databaseId
menu___node___id
menu___node___internal___content
menu___node___internal___contentDigest
menu___node___internal___description
menu___node___internal___fieldOwners
menu___node___internal___ignoreType
menu___node___internal___mediaType
menu___node___internal___owner
menu___node___internal___type
menu___node___locations
menu___node___menuItems___nodes
menu___node___name
menu___node___nodeType
menu___node___parent___children
menu___node___parent___id
menu___node___slug
nodeType
order
parentDatabaseId
parentId
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
path
target
title
url
}
input WpMenuItemFilterInput {
childItems: WpMenuItemToMenuItemConnectionFilterInput
children: NodeFilterListInput
connectedNode: WpMenuItemToMenuItemLinkableConnectionEdgeFilterInput
cssClasses: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
label: StringQueryOperatorInput
linkRelationship: StringQueryOperatorInput
locations: WpMenuLocationEnumQueryOperatorInput
menu: WpMenuItemToMenuConnectionEdgeFilterInput
nodeType: StringQueryOperatorInput
order: IntQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
path: StringQueryOperatorInput
target: StringQueryOperatorInput
title: StringQueryOperatorInput
url: StringQueryOperatorInput
}
input WpMenuItemFilterListInput {
elemMatch: WpMenuItemFilterInput
}
type WpMenuItemGroupConnection {
distinct(field: WpMenuItemFieldsEnum!): [String!]!
edges: [WpMenuItemEdge!]!
field: String!
fieldValue: String
group(field: WpMenuItemFieldsEnum!, limit: Int, skip: Int): [WpMenuItemGroupConnection!]!
max(field: WpMenuItemFieldsEnum!): Float
min(field: WpMenuItemFieldsEnum!): Float
nodes: [WpMenuItem!]!
pageInfo: PageInfo!
sum(field: WpMenuItemFieldsEnum!): Float
totalCount: Int!
}
interface WpMenuItemLinkable {
"""
The unique resource identifier path
"""
databaseId: Int!
"""
The unique resource identifier path
"""
id: ID!
"""
The unique resource identifier path
"""
uri: String
}
input WpMenuItemLinkableFilterInput {
databaseId: IntQueryOperatorInput
id: IDQueryOperatorInput
uri: StringQueryOperatorInput
}
input WpMenuItemSortInput {
fields: [WpMenuItemFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the MenuItem type and the Menu type
"""
type WpMenuItemToMenuConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpMenu
}
input WpMenuItemToMenuConnectionEdgeFilterInput {
node: WpMenuFilterInput
}
"""
Connection between the MenuItem type and the MenuItem type
"""
type WpMenuItemToMenuItemConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpMenuItem]
}
input WpMenuItemToMenuItemConnectionFilterInput {
nodes: WpMenuItemFilterListInput
}
"""
Connection between the MenuItem type and the MenuItemLinkable type
"""
type WpMenuItemToMenuItemLinkableConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpMenuItemLinkable
}
input WpMenuItemToMenuItemLinkableConnectionEdgeFilterInput {
node: WpMenuItemLinkableFilterInput
}
"""
Registered menu locations
"""
enum WpMenuLocationEnum {
EMPTY
}
input WpMenuLocationEnumQueryOperatorInput {
eq: WpMenuLocationEnum
in: [WpMenuLocationEnum]
ne: WpMenuLocationEnum
nin: [WpMenuLocationEnum]
}
input WpMenuSortInput {
fields: [WpMenuFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the Menu type and the MenuItem type
"""
type WpMenuToMenuItemConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpMenuItem]
}
input WpMenuToMenuItemConnectionFilterInput {
nodes: WpMenuItemFilterListInput
}
interface WpNode {
"""
The globally unique ID for the object
"""
id: ID!
}
input WpNodeFilterInput {
id: IDQueryOperatorInput
}
interface WpNodeWithAuthor {
"""
Connection between the NodeWithAuthor type and the User type
"""
author: WpNodeWithAuthorToUserConnectionEdge
"""
The database identifier of the author of the node
"""
authorDatabaseId: Int
"""
The globally unique identifier of the author of the node
"""
authorId: ID
}
"""
Connection between the NodeWithAuthor type and the User type
"""
type WpNodeWithAuthorToUserConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpUser
}
input WpNodeWithAuthorToUserConnectionEdgeFilterInput {
node: WpUserFilterInput
}
interface WpNodeWithComments {
"""
The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility.
"""
commentCount: Int
"""
Whether the comments are open or closed for this particular post.
"""
commentStatus: String
}
interface WpNodeWithContentEditor {
"""
The content of the post.
"""
content: String
}
interface WpNodeWithExcerpt {
"""
The excerpt of the post.
"""
excerpt: String
}
interface WpNodeWithFeaturedImage {
"""
Connection between the ContentNode type and the ContentType type
"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""
The name of the Content Type the node belongs to
"""
contentTypeName: String!
"""
The unique identifier stored in the database
"""
databaseId: Int!
"""
Post publishing date.
"""
date: Date
"""
The publishing date set in GMT.
"""
dateGmt: Date
"""
The desired slug of the post
"""
desiredSlug: String
"""
The RSS enclosure for the object
"""
enclosure: String
"""
Connection between the NodeWithFeaturedImage type and the MediaItem type
"""
featuredImage: WpNodeWithFeaturedImageToMediaItemConnectionEdge
"""
The database identifier for the featured image node assigned to the content node
"""
featuredImageDatabaseId: Int
"""
Globally unique ID of the featured image assigned to the node
"""
featuredImageId: ID
"""
The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table.
"""
guid: String
"""
The unique resource identifier path
"""
id: ID!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The user that most recently edited the node
"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
"""
The permalink of the post
"""
link: String
"""
The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time.
"""
modified: Date
"""
The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT.
"""
modifiedGmt: Date
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table.
"""
slug: String
"""
The current status of the object
"""
status: String
"""
The template assigned to a node of content
"""
template: WpContentTemplate
"""
The unique resource identifier path
"""
uri: String
}
"""
Connection between the NodeWithFeaturedImage type and the MediaItem type
"""
type WpNodeWithFeaturedImageToMediaItemConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpMediaItem
}
input WpNodeWithFeaturedImageToMediaItemConnectionEdgeFilterInput {
node: WpMediaItemFilterInput
}
interface WpNodeWithPageAttributes {
"""
A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types.
"""
menuOrder: Int
}
interface WpNodeWithRevisions {
"""
True if the node is a revision of another node
"""
isRevision: Boolean
}
"""
Connection between the NodeWithRevisions type and the ContentNode type
"""
type WpNodeWithRevisionsToContentNodeConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpContentNode
}
interface WpNodeWithTemplate {
"""
The template assigned to the node
"""
template: WpContentTemplate
}
interface WpNodeWithTitle {
"""
The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made.
"""
title: String
}
interface WpNodeWithTrackbacks {
"""
Whether the pings are open or closed for this particular post.
"""
pingStatus: String
"""
URLs that have been pinged.
"""
pinged: [String]
"""
URLs queued to be pinged.
"""
toPing: [String]
}
"""
The page type
"""
type WpPage implements Node & WpBlockEditorContentNode & WpContentNode & WpDatabaseIdentifier & WpHierarchicalContentNode & WpMenuItemLinkable & WpNode & WpNodeWithAuthor & WpNodeWithComments & WpNodeWithContentEditor & WpNodeWithFeaturedImage & WpNodeWithPageAttributes & WpNodeWithRevisions & WpNodeWithTemplate & WpNodeWithTitle & WpUniformResourceIdentifiable {
"""
Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root).
"""
ancestors: WpHierarchicalContentNodeToContentNodeAncestorsConnection
"""
Connection between the NodeWithAuthor type and the User type
"""
author: WpNodeWithAuthorToUserConnectionEdge
"""
The database identifier of the author of the node
"""
authorDatabaseId: Int
"""
The globally unique identifier of the author of the node
"""
authorId: ID
"""
Gutenberg blocks
"""
blocks: [WpBlock!]
"""
Gutenberg blocks as json string
"""
blocksJSON: String
children: [Node!]!
"""
The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility.
"""
commentCount: Int
"""
Whether the comments are open or closed for this particular post.
"""
commentStatus: String
"""
Connection between the page type and the Comment type
"""
comments: WpPageToCommentConnection
"""
The content of the post.
"""
content: String
"""
Connection between the ContentNode type and the ContentType type
"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""
The name of the Content Type the node belongs to
"""
contentTypeName: String!
"""
The unique resource identifier path
"""
databaseId: Int!
"""
Post publishing date.
"""
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The publishing date set in GMT.
"""
dateGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The desired slug of the post
"""
desiredSlug: String
"""
The RSS enclosure for the object
"""
enclosure: String
"""
Connection between the NodeWithFeaturedImage type and the MediaItem type
"""
featuredImage: WpNodeWithFeaturedImageToMediaItemConnectionEdge
"""
The database identifier for the featured image node assigned to the content node
"""
featuredImageDatabaseId: Int
"""
Globally unique ID of the featured image assigned to the node
"""
featuredImageId: ID
"""
The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table.
"""
guid: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether this page is set to the static front page.
"""
isFrontPage: Boolean!
"""
Whether this page is set to the blog posts page.
"""
isPostsPage: Boolean!
"""
Whether this page is set to the privacy page.
"""
isPrivacyPage: Boolean!
"""
True if the node is a revision of another node
"""
isRevision: Boolean
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The user that most recently edited the node
"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
"""
The permalink of the post
"""
link: String
"""
A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types.
"""
menuOrder: Int
"""
The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time.
"""
modified(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT.
"""
modifiedGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
nodeType: String
parent: Node
"""
Database id of the parent node
"""
parentDatabaseId: Int
"""
The globally unique identifier of the parent node.
"""
parentId: ID
"""
Previewed gutenberg blocks
"""
previewBlocks: [WpBlock!]
"""
Previewed Gutenberg blocks as json string
"""
previewBlocksJSON: String
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table.
"""
slug: String
"""
The current status of the object
"""
status: String
"""
The template assigned to a node of content
"""
template: WpContentTemplate
"""
The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made.
"""
title: String
"""
The unique resource identifier path
"""
uri: String
"""
Connection between the HierarchicalContentNode type and the ContentNode type
"""
wpChildren: WpHierarchicalContentNodeToContentNodeChildrenConnection
"""
The parent of the node. The parent object can be of various types
"""
wpParent: WpHierarchicalContentNodeToParentContentNodeConnectionEdge
}
type WpPageConnection {
distinct(field: WpPageFieldsEnum!): [String!]!
edges: [WpPageEdge!]!
group(field: WpPageFieldsEnum!, limit: Int, skip: Int): [WpPageGroupConnection!]!
max(field: WpPageFieldsEnum!): Float
min(field: WpPageFieldsEnum!): Float
nodes: [WpPage!]!
pageInfo: PageInfo!
sum(field: WpPageFieldsEnum!): Float
totalCount: Int!
}
type WpPageEdge {
next: WpPage
node: WpPage!
previous: WpPage
}
enum WpPageFieldsEnum {
ancestors___nodes
ancestors___nodes___children
ancestors___nodes___children___children
ancestors___nodes___children___id
ancestors___nodes___contentTypeName
ancestors___nodes___databaseId
ancestors___nodes___date
ancestors___nodes___dateGmt
ancestors___nodes___desiredSlug
ancestors___nodes___enclosure
ancestors___nodes___guid
ancestors___nodes___id
ancestors___nodes___internal___content
ancestors___nodes___internal___contentDigest
ancestors___nodes___internal___description
ancestors___nodes___internal___fieldOwners
ancestors___nodes___internal___ignoreType
ancestors___nodes___internal___mediaType
ancestors___nodes___internal___owner
ancestors___nodes___internal___type
ancestors___nodes___isContentNode
ancestors___nodes___isTermNode
ancestors___nodes___link
ancestors___nodes___modified
ancestors___nodes___modifiedGmt
ancestors___nodes___nodeType
ancestors___nodes___parent___children
ancestors___nodes___parent___id
ancestors___nodes___slug
ancestors___nodes___status
ancestors___nodes___template___templateName
ancestors___nodes___uri
authorDatabaseId
authorId
author___node___avatar___default
author___node___avatar___extraAttr
author___node___avatar___forceDefault
author___node___avatar___foundAvatar
author___node___avatar___height
author___node___avatar___rating
author___node___avatar___scheme
author___node___avatar___size
author___node___avatar___url
author___node___avatar___width
author___node___blockEditorPreviews___nodes
author___node___capKey
author___node___capabilities
author___node___children
author___node___children___children
author___node___children___id
author___node___comments___nodes
author___node___databaseId
author___node___description
author___node___email
author___node___extraCapabilities
author___node___firstName
author___node___id
author___node___internal___content
author___node___internal___contentDigest
author___node___internal___description
author___node___internal___fieldOwners
author___node___internal___ignoreType
author___node___internal___mediaType
author___node___internal___owner
author___node___internal___type
author___node___isContentNode
author___node___isTermNode
author___node___lastName
author___node___locale
author___node___name
author___node___nicename
author___node___nickname
author___node___nodeType
author___node___pages___nodes
author___node___parent___children
author___node___parent___id
author___node___posts___nodes
author___node___registeredDate
author___node___roles___nodes
author___node___slug
author___node___uri
author___node___url
author___node___username
blocks
blocksJSON
blocks___attributesJSON
blocks___dynamicContent
blocks___innerBlocks
blocks___innerBlocks___attributesJSON
blocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___attributesJSON
blocks___innerBlocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___isDynamic
blocks___innerBlocks___innerBlocks___name
blocks___innerBlocks___innerBlocks___order
blocks___innerBlocks___innerBlocks___originalContent
blocks___innerBlocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___innerBlocks___saveContent
blocks___innerBlocks___isDynamic
blocks___innerBlocks___name
blocks___innerBlocks___order
blocks___innerBlocks___originalContent
blocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___parentNode___id
blocks___innerBlocks___saveContent
blocks___isDynamic
blocks___name
blocks___order
blocks___originalContent
blocks___parentNodeDatabaseId
blocks___parentNode___id
blocks___saveContent
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
commentCount
commentStatus
comments___nodes
comments___nodes___agent
comments___nodes___approved
comments___nodes___authorIp
comments___nodes___children
comments___nodes___children___children
comments___nodes___children___id
comments___nodes___content
comments___nodes___databaseId
comments___nodes___date
comments___nodes___dateGmt
comments___nodes___id
comments___nodes___internal___content
comments___nodes___internal___contentDigest
comments___nodes___internal___description
comments___nodes___internal___fieldOwners
comments___nodes___internal___ignoreType
comments___nodes___internal___mediaType
comments___nodes___internal___owner
comments___nodes___internal___type
comments___nodes___karma
comments___nodes___nodeType
comments___nodes___parentDatabaseId
comments___nodes___parentId
comments___nodes___parent___children
comments___nodes___parent___id
comments___nodes___replies___nodes
comments___nodes___type
content
contentTypeName
contentType___node___archivePath
contentType___node___canExport
contentType___node___children
contentType___node___children___children
contentType___node___children___id
contentType___node___connectedTaxonomies___nodes
contentType___node___contentNodes___nodes
contentType___node___deleteWithUser
contentType___node___description
contentType___node___excludeFromSearch
contentType___node___graphqlPluralName
contentType___node___graphqlSingleName
contentType___node___hasArchive
contentType___node___hierarchical
contentType___node___id
contentType___node___internal___content
contentType___node___internal___contentDigest
contentType___node___internal___description
contentType___node___internal___fieldOwners
contentType___node___internal___ignoreType
contentType___node___internal___mediaType
contentType___node___internal___owner
contentType___node___internal___type
contentType___node___isContentNode
contentType___node___isFrontPage
contentType___node___isPostsPage
contentType___node___isTermNode
contentType___node___label
contentType___node___labels___addNew
contentType___node___labels___addNewItem
contentType___node___labels___allItems
contentType___node___labels___archives
contentType___node___labels___attributes
contentType___node___labels___editItem
contentType___node___labels___featuredImage
contentType___node___labels___filterItemsList
contentType___node___labels___insertIntoItem
contentType___node___labels___itemsList
contentType___node___labels___itemsListNavigation
contentType___node___labels___menuName
contentType___node___labels___name
contentType___node___labels___newItem
contentType___node___labels___notFound
contentType___node___labels___notFoundInTrash
contentType___node___labels___parentItemColon
contentType___node___labels___removeFeaturedImage
contentType___node___labels___searchItems
contentType___node___labels___setFeaturedImage
contentType___node___labels___singularName
contentType___node___labels___uploadedToThisItem
contentType___node___labels___useFeaturedImage
contentType___node___labels___viewItem
contentType___node___labels___viewItems
contentType___node___menuIcon
contentType___node___menuPosition
contentType___node___name
contentType___node___nodeType
contentType___node___parent___children
contentType___node___parent___id
contentType___node___public
contentType___node___publiclyQueryable
contentType___node___restBase
contentType___node___restControllerClass
contentType___node___showInAdminBar
contentType___node___showInGraphql
contentType___node___showInMenu
contentType___node___showInNavMenus
contentType___node___showInRest
contentType___node___showUi
contentType___node___uri
databaseId
date
dateGmt
desiredSlug
enclosure
featuredImageDatabaseId
featuredImageId
featuredImage___node___altText
featuredImage___node___ancestors___nodes
featuredImage___node___authorDatabaseId
featuredImage___node___authorId
featuredImage___node___caption
featuredImage___node___children
featuredImage___node___children___children
featuredImage___node___children___id
featuredImage___node___commentCount
featuredImage___node___commentStatus
featuredImage___node___comments___nodes
featuredImage___node___contentTypeName
featuredImage___node___databaseId
featuredImage___node___date
featuredImage___node___dateGmt
featuredImage___node___description
featuredImage___node___desiredSlug
featuredImage___node___enclosure
featuredImage___node___fileSize
featuredImage___node___filename
featuredImage___node___filesize
featuredImage___node___gatsbyImage
featuredImage___node___guid
featuredImage___node___height
featuredImage___node___id
featuredImage___node___internal___content
featuredImage___node___internal___contentDigest
featuredImage___node___internal___description
featuredImage___node___internal___fieldOwners
featuredImage___node___internal___ignoreType
featuredImage___node___internal___mediaType
featuredImage___node___internal___owner
featuredImage___node___internal___type
featuredImage___node___isContentNode
featuredImage___node___isTermNode
featuredImage___node___link
featuredImage___node___localFile___absolutePath
featuredImage___node___localFile___accessTime
featuredImage___node___localFile___atime
featuredImage___node___localFile___atimeMs
featuredImage___node___localFile___base
featuredImage___node___localFile___birthTime
featuredImage___node___localFile___birthtime
featuredImage___node___localFile___birthtimeMs
featuredImage___node___localFile___blksize
featuredImage___node___localFile___blocks
featuredImage___node___localFile___changeTime
featuredImage___node___localFile___children
featuredImage___node___localFile___childrenImageSharp
featuredImage___node___localFile___ctime
featuredImage___node___localFile___ctimeMs
featuredImage___node___localFile___dev
featuredImage___node___localFile___dir
featuredImage___node___localFile___ext
featuredImage___node___localFile___extension
featuredImage___node___localFile___gid
featuredImage___node___localFile___hash
featuredImage___node___localFile___id
featuredImage___node___localFile___ino
featuredImage___node___localFile___mode
featuredImage___node___localFile___modifiedTime
featuredImage___node___localFile___mtime
featuredImage___node___localFile___mtimeMs
featuredImage___node___localFile___name
featuredImage___node___localFile___nlink
featuredImage___node___localFile___prettySize
featuredImage___node___localFile___publicURL
featuredImage___node___localFile___rdev
featuredImage___node___localFile___relativeDirectory
featuredImage___node___localFile___relativePath
featuredImage___node___localFile___root
featuredImage___node___localFile___size
featuredImage___node___localFile___sourceInstanceName
featuredImage___node___localFile___uid
featuredImage___node___mediaDetails___file
featuredImage___node___mediaDetails___height
featuredImage___node___mediaDetails___sizes
featuredImage___node___mediaDetails___width
featuredImage___node___mediaItemUrl
featuredImage___node___mediaType
featuredImage___node___mimeType
featuredImage___node___modified
featuredImage___node___modifiedGmt
featuredImage___node___nodeType
featuredImage___node___parentDatabaseId
featuredImage___node___parentId
featuredImage___node___parent___children
featuredImage___node___parent___id
featuredImage___node___publicUrl
featuredImage___node___remoteFile___absolutePath
featuredImage___node___remoteFile___accessTime
featuredImage___node___remoteFile___atime
featuredImage___node___remoteFile___atimeMs
featuredImage___node___remoteFile___base
featuredImage___node___remoteFile___birthTime
featuredImage___node___remoteFile___birthtime
featuredImage___node___remoteFile___birthtimeMs
featuredImage___node___remoteFile___blksize
featuredImage___node___remoteFile___blocks
featuredImage___node___remoteFile___changeTime
featuredImage___node___remoteFile___children
featuredImage___node___remoteFile___childrenImageSharp
featuredImage___node___remoteFile___ctime
featuredImage___node___remoteFile___ctimeMs
featuredImage___node___remoteFile___dev
featuredImage___node___remoteFile___dir
featuredImage___node___remoteFile___ext
featuredImage___node___remoteFile___extension
featuredImage___node___remoteFile___gid
featuredImage___node___remoteFile___hash
featuredImage___node___remoteFile___id
featuredImage___node___remoteFile___ino
featuredImage___node___remoteFile___mode
featuredImage___node___remoteFile___modifiedTime
featuredImage___node___remoteFile___mtime
featuredImage___node___remoteFile___mtimeMs
featuredImage___node___remoteFile___name
featuredImage___node___remoteFile___nlink
featuredImage___node___remoteFile___prettySize
featuredImage___node___remoteFile___publicURL
featuredImage___node___remoteFile___rdev
featuredImage___node___remoteFile___relativeDirectory
featuredImage___node___remoteFile___relativePath
featuredImage___node___remoteFile___root
featuredImage___node___remoteFile___size
featuredImage___node___remoteFile___sourceInstanceName
featuredImage___node___remoteFile___uid
featuredImage___node___resize___height
featuredImage___node___resize___src
featuredImage___node___resize___width
featuredImage___node___sizes
featuredImage___node___slug
featuredImage___node___sourceUrl
featuredImage___node___srcSet
featuredImage___node___status
featuredImage___node___template___templateName
featuredImage___node___title
featuredImage___node___uri
featuredImage___node___width
featuredImage___node___wpChildren___nodes
guid
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isFrontPage
isPostsPage
isPrivacyPage
isRevision
isTermNode
lastEditedBy___node___avatar___default
lastEditedBy___node___avatar___extraAttr
lastEditedBy___node___avatar___forceDefault
lastEditedBy___node___avatar___foundAvatar
lastEditedBy___node___avatar___height
lastEditedBy___node___avatar___rating
lastEditedBy___node___avatar___scheme
lastEditedBy___node___avatar___size
lastEditedBy___node___avatar___url
lastEditedBy___node___avatar___width
lastEditedBy___node___blockEditorPreviews___nodes
lastEditedBy___node___capKey
lastEditedBy___node___capabilities
lastEditedBy___node___children
lastEditedBy___node___children___children
lastEditedBy___node___children___id
lastEditedBy___node___comments___nodes
lastEditedBy___node___databaseId
lastEditedBy___node___description
lastEditedBy___node___email
lastEditedBy___node___extraCapabilities
lastEditedBy___node___firstName
lastEditedBy___node___id
lastEditedBy___node___internal___content
lastEditedBy___node___internal___contentDigest
lastEditedBy___node___internal___description
lastEditedBy___node___internal___fieldOwners
lastEditedBy___node___internal___ignoreType
lastEditedBy___node___internal___mediaType
lastEditedBy___node___internal___owner
lastEditedBy___node___internal___type
lastEditedBy___node___isContentNode
lastEditedBy___node___isTermNode
lastEditedBy___node___lastName
lastEditedBy___node___locale
lastEditedBy___node___name
lastEditedBy___node___nicename
lastEditedBy___node___nickname
lastEditedBy___node___nodeType
lastEditedBy___node___pages___nodes
lastEditedBy___node___parent___children
lastEditedBy___node___parent___id
lastEditedBy___node___posts___nodes
lastEditedBy___node___registeredDate
lastEditedBy___node___roles___nodes
lastEditedBy___node___slug
lastEditedBy___node___uri
lastEditedBy___node___url
lastEditedBy___node___username
link
menuOrder
modified
modifiedGmt
nodeType
parentDatabaseId
parentId
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
previewBlocks
previewBlocksJSON
previewBlocks___attributesJSON
previewBlocks___dynamicContent
previewBlocks___innerBlocks
previewBlocks___innerBlocks___attributesJSON
previewBlocks___innerBlocks___dynamicContent
previewBlocks___innerBlocks___innerBlocks
previewBlocks___innerBlocks___innerBlocks___attributesJSON
previewBlocks___innerBlocks___innerBlocks___dynamicContent
previewBlocks___innerBlocks___innerBlocks___innerBlocks
previewBlocks___innerBlocks___innerBlocks___isDynamic
previewBlocks___innerBlocks___innerBlocks___name
previewBlocks___innerBlocks___innerBlocks___order
previewBlocks___innerBlocks___innerBlocks___originalContent
previewBlocks___innerBlocks___innerBlocks___parentNodeDatabaseId
previewBlocks___innerBlocks___innerBlocks___saveContent
previewBlocks___innerBlocks___isDynamic
previewBlocks___innerBlocks___name
previewBlocks___innerBlocks___order
previewBlocks___innerBlocks___originalContent
previewBlocks___innerBlocks___parentNodeDatabaseId
previewBlocks___innerBlocks___parentNode___id
previewBlocks___innerBlocks___saveContent
previewBlocks___isDynamic
previewBlocks___name
previewBlocks___order
previewBlocks___originalContent
previewBlocks___parentNodeDatabaseId
previewBlocks___parentNode___id
previewBlocks___saveContent
slug
status
template___templateName
title
uri
wpChildren___nodes
wpChildren___nodes___children
wpChildren___nodes___children___children
wpChildren___nodes___children___id
wpChildren___nodes___contentTypeName
wpChildren___nodes___databaseId
wpChildren___nodes___date
wpChildren___nodes___dateGmt
wpChildren___nodes___desiredSlug
wpChildren___nodes___enclosure
wpChildren___nodes___guid
wpChildren___nodes___id
wpChildren___nodes___internal___content
wpChildren___nodes___internal___contentDigest
wpChildren___nodes___internal___description
wpChildren___nodes___internal___fieldOwners
wpChildren___nodes___internal___ignoreType
wpChildren___nodes___internal___mediaType
wpChildren___nodes___internal___owner
wpChildren___nodes___internal___type
wpChildren___nodes___isContentNode
wpChildren___nodes___isTermNode
wpChildren___nodes___link
wpChildren___nodes___modified
wpChildren___nodes___modifiedGmt
wpChildren___nodes___nodeType
wpChildren___nodes___parent___children
wpChildren___nodes___parent___id
wpChildren___nodes___slug
wpChildren___nodes___status
wpChildren___nodes___template___templateName
wpChildren___nodes___uri
wpParent___node___children
wpParent___node___children___children
wpParent___node___children___id
wpParent___node___contentTypeName
wpParent___node___databaseId
wpParent___node___date
wpParent___node___dateGmt
wpParent___node___desiredSlug
wpParent___node___enclosure
wpParent___node___guid
wpParent___node___id
wpParent___node___internal___content
wpParent___node___internal___contentDigest
wpParent___node___internal___description
wpParent___node___internal___fieldOwners
wpParent___node___internal___ignoreType
wpParent___node___internal___mediaType
wpParent___node___internal___owner
wpParent___node___internal___type
wpParent___node___isContentNode
wpParent___node___isTermNode
wpParent___node___link
wpParent___node___modified
wpParent___node___modifiedGmt
wpParent___node___nodeType
wpParent___node___parent___children
wpParent___node___parent___id
wpParent___node___slug
wpParent___node___status
wpParent___node___template___templateName
wpParent___node___uri
}
input WpPageFilterInput {
ancestors: WpHierarchicalContentNodeToContentNodeAncestorsConnectionFilterInput
author: WpNodeWithAuthorToUserConnectionEdgeFilterInput
authorDatabaseId: IntQueryOperatorInput
authorId: IDQueryOperatorInput
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
children: NodeFilterListInput
commentCount: IntQueryOperatorInput
commentStatus: StringQueryOperatorInput
comments: WpPageToCommentConnectionFilterInput
content: StringQueryOperatorInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
featuredImage: WpNodeWithFeaturedImageToMediaItemConnectionEdgeFilterInput
featuredImageDatabaseId: IntQueryOperatorInput
featuredImageId: IDQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isFrontPage: BooleanQueryOperatorInput
isPostsPage: BooleanQueryOperatorInput
isPrivacyPage: BooleanQueryOperatorInput
isRevision: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
menuOrder: IntQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
parentDatabaseId: IntQueryOperatorInput
parentId: IDQueryOperatorInput
previewBlocks: WpBlockFilterListInput
previewBlocksJSON: StringQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
title: StringQueryOperatorInput
uri: StringQueryOperatorInput
wpChildren: WpHierarchicalContentNodeToContentNodeChildrenConnectionFilterInput
wpParent: WpHierarchicalContentNodeToParentContentNodeConnectionEdgeFilterInput
}
input WpPageFilterListInput {
elemMatch: WpPageFilterInput
}
type WpPageGroupConnection {
distinct(field: WpPageFieldsEnum!): [String!]!
edges: [WpPageEdge!]!
field: String!
fieldValue: String
group(field: WpPageFieldsEnum!, limit: Int, skip: Int): [WpPageGroupConnection!]!
max(field: WpPageFieldsEnum!): Float
min(field: WpPageFieldsEnum!): Float
nodes: [WpPage!]!
pageInfo: PageInfo!
sum(field: WpPageFieldsEnum!): Float
totalCount: Int!
}
input WpPageSortInput {
fields: [WpPageFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the page type and the Comment type
"""
type WpPageToCommentConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpComment]
}
input WpPageToCommentConnectionFilterInput {
nodes: WpCommentFilterListInput
}
"""
The post type
"""
type WpPost implements Node & WpBlockEditorContentNode & WpContentNode & WpDatabaseIdentifier & WpMenuItemLinkable & WpNode & WpNodeWithAuthor & WpNodeWithComments & WpNodeWithContentEditor & WpNodeWithExcerpt & WpNodeWithFeaturedImage & WpNodeWithRevisions & WpNodeWithTemplate & WpNodeWithTitle & WpNodeWithTrackbacks & WpUniformResourceIdentifiable {
"""
Connection between the NodeWithAuthor type and the User type
"""
author: WpNodeWithAuthorToUserConnectionEdge
"""
The database identifier of the author of the node
"""
authorDatabaseId: Int
"""
The globally unique identifier of the author of the node
"""
authorId: ID
"""
Gutenberg blocks
"""
blocks: [WpBlock!]
"""
Gutenberg blocks as json string
"""
blocksJSON: String
"""
Connection between the post type and the category type
"""
categories: WpPostToCategoryConnection
children: [Node!]!
"""
The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility.
"""
commentCount: Int
"""
Whether the comments are open or closed for this particular post.
"""
commentStatus: String
"""
Connection between the post type and the Comment type
"""
comments: WpPostToCommentConnection
"""
The content of the post.
"""
content: String
"""
Connection between the ContentNode type and the ContentType type
"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""
The name of the Content Type the node belongs to
"""
contentTypeName: String!
"""
The unique resource identifier path
"""
databaseId: Int!
"""
Post publishing date.
"""
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The publishing date set in GMT.
"""
dateGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The desired slug of the post
"""
desiredSlug: String
"""
The RSS enclosure for the object
"""
enclosure: String
"""
The excerpt of the post.
"""
excerpt: String
"""
Connection between the NodeWithFeaturedImage type and the MediaItem type
"""
featuredImage: WpNodeWithFeaturedImageToMediaItemConnectionEdge
"""
The database identifier for the featured image node assigned to the content node
"""
featuredImageDatabaseId: Int
"""
Globally unique ID of the featured image assigned to the node
"""
featuredImageId: ID
"""
The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table.
"""
guid: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
True if the node is a revision of another node
"""
isRevision: Boolean
"""
Whether this page is sticky
"""
isSticky: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The user that most recently edited the node
"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
"""
The permalink of the post
"""
link: String
"""
The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time.
"""
modified(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT.
"""
modifiedGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
nodeType: String
parent: Node
"""
Whether the pings are open or closed for this particular post.
"""
pingStatus: String
"""
URLs that have been pinged.
"""
pinged: [String]
"""
Connection between the post type and the postFormat type
"""
postFormats: WpPostToPostFormatConnection
"""
Previewed gutenberg blocks
"""
previewBlocks: [WpBlock!]
"""
Previewed Gutenberg blocks as json string
"""
previewBlocksJSON: String
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table.
"""
slug: String
"""
The current status of the object
"""
status: String
"""
Connection between the post type and the tag type
"""
tags: WpPostToTagConnection
"""
The template assigned to a node of content
"""
template: WpContentTemplate
"""
Connection between the post type and the TermNode type
"""
terms: WpPostToTermNodeConnection
"""
The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made.
"""
title: String
"""
URLs queued to be pinged.
"""
toPing: [String]
"""
The unique resource identifier path
"""
uri: String
}
type WpPostConnection {
distinct(field: WpPostFieldsEnum!): [String!]!
edges: [WpPostEdge!]!
group(field: WpPostFieldsEnum!, limit: Int, skip: Int): [WpPostGroupConnection!]!
max(field: WpPostFieldsEnum!): Float
min(field: WpPostFieldsEnum!): Float
nodes: [WpPost!]!
pageInfo: PageInfo!
sum(field: WpPostFieldsEnum!): Float
totalCount: Int!
}
type WpPostEdge {
next: WpPost
node: WpPost!
previous: WpPost
}
enum WpPostFieldsEnum {
authorDatabaseId
authorId
author___node___avatar___default
author___node___avatar___extraAttr
author___node___avatar___forceDefault
author___node___avatar___foundAvatar
author___node___avatar___height
author___node___avatar___rating
author___node___avatar___scheme
author___node___avatar___size
author___node___avatar___url
author___node___avatar___width
author___node___blockEditorPreviews___nodes
author___node___capKey
author___node___capabilities
author___node___children
author___node___children___children
author___node___children___id
author___node___comments___nodes
author___node___databaseId
author___node___description
author___node___email
author___node___extraCapabilities
author___node___firstName
author___node___id
author___node___internal___content
author___node___internal___contentDigest
author___node___internal___description
author___node___internal___fieldOwners
author___node___internal___ignoreType
author___node___internal___mediaType
author___node___internal___owner
author___node___internal___type
author___node___isContentNode
author___node___isTermNode
author___node___lastName
author___node___locale
author___node___name
author___node___nicename
author___node___nickname
author___node___nodeType
author___node___pages___nodes
author___node___parent___children
author___node___parent___id
author___node___posts___nodes
author___node___registeredDate
author___node___roles___nodes
author___node___slug
author___node___uri
author___node___url
author___node___username
blocks
blocksJSON
blocks___attributesJSON
blocks___dynamicContent
blocks___innerBlocks
blocks___innerBlocks___attributesJSON
blocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___attributesJSON
blocks___innerBlocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___isDynamic
blocks___innerBlocks___innerBlocks___name
blocks___innerBlocks___innerBlocks___order
blocks___innerBlocks___innerBlocks___originalContent
blocks___innerBlocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___innerBlocks___saveContent
blocks___innerBlocks___isDynamic
blocks___innerBlocks___name
blocks___innerBlocks___order
blocks___innerBlocks___originalContent
blocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___parentNode___id
blocks___innerBlocks___saveContent
blocks___isDynamic
blocks___name
blocks___order
blocks___originalContent
blocks___parentNodeDatabaseId
blocks___parentNode___id
blocks___saveContent
categories___nodes
categories___nodes___ancestors___nodes
categories___nodes___children
categories___nodes___children___children
categories___nodes___children___id
categories___nodes___contentNodes___nodes
categories___nodes___count
categories___nodes___databaseId
categories___nodes___description
categories___nodes___id
categories___nodes___internal___content
categories___nodes___internal___contentDigest
categories___nodes___internal___description
categories___nodes___internal___fieldOwners
categories___nodes___internal___ignoreType
categories___nodes___internal___mediaType
categories___nodes___internal___owner
categories___nodes___internal___type
categories___nodes___isContentNode
categories___nodes___isTermNode
categories___nodes___link
categories___nodes___name
categories___nodes___nodeType
categories___nodes___parentDatabaseId
categories___nodes___parentId
categories___nodes___parent___children
categories___nodes___parent___id
categories___nodes___posts___nodes
categories___nodes___slug
categories___nodes___taxonomyName
categories___nodes___termGroupId
categories___nodes___termTaxonomyId
categories___nodes___uri
categories___nodes___wpChildren___nodes
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
commentCount
commentStatus
comments___nodes
comments___nodes___agent
comments___nodes___approved
comments___nodes___authorIp
comments___nodes___children
comments___nodes___children___children
comments___nodes___children___id
comments___nodes___content
comments___nodes___databaseId
comments___nodes___date
comments___nodes___dateGmt
comments___nodes___id
comments___nodes___internal___content
comments___nodes___internal___contentDigest
comments___nodes___internal___description
comments___nodes___internal___fieldOwners
comments___nodes___internal___ignoreType
comments___nodes___internal___mediaType
comments___nodes___internal___owner
comments___nodes___internal___type
comments___nodes___karma
comments___nodes___nodeType
comments___nodes___parentDatabaseId
comments___nodes___parentId
comments___nodes___parent___children
comments___nodes___parent___id
comments___nodes___replies___nodes
comments___nodes___type
content
contentTypeName
contentType___node___archivePath
contentType___node___canExport
contentType___node___children
contentType___node___children___children
contentType___node___children___id
contentType___node___connectedTaxonomies___nodes
contentType___node___contentNodes___nodes
contentType___node___deleteWithUser
contentType___node___description
contentType___node___excludeFromSearch
contentType___node___graphqlPluralName
contentType___node___graphqlSingleName
contentType___node___hasArchive
contentType___node___hierarchical
contentType___node___id
contentType___node___internal___content
contentType___node___internal___contentDigest
contentType___node___internal___description
contentType___node___internal___fieldOwners
contentType___node___internal___ignoreType
contentType___node___internal___mediaType
contentType___node___internal___owner
contentType___node___internal___type
contentType___node___isContentNode
contentType___node___isFrontPage
contentType___node___isPostsPage
contentType___node___isTermNode
contentType___node___label
contentType___node___labels___addNew
contentType___node___labels___addNewItem
contentType___node___labels___allItems
contentType___node___labels___archives
contentType___node___labels___attributes
contentType___node___labels___editItem
contentType___node___labels___featuredImage
contentType___node___labels___filterItemsList
contentType___node___labels___insertIntoItem
contentType___node___labels___itemsList
contentType___node___labels___itemsListNavigation
contentType___node___labels___menuName
contentType___node___labels___name
contentType___node___labels___newItem
contentType___node___labels___notFound
contentType___node___labels___notFoundInTrash
contentType___node___labels___parentItemColon
contentType___node___labels___removeFeaturedImage
contentType___node___labels___searchItems
contentType___node___labels___setFeaturedImage
contentType___node___labels___singularName
contentType___node___labels___uploadedToThisItem
contentType___node___labels___useFeaturedImage
contentType___node___labels___viewItem
contentType___node___labels___viewItems
contentType___node___menuIcon
contentType___node___menuPosition
contentType___node___name
contentType___node___nodeType
contentType___node___parent___children
contentType___node___parent___id
contentType___node___public
contentType___node___publiclyQueryable
contentType___node___restBase
contentType___node___restControllerClass
contentType___node___showInAdminBar
contentType___node___showInGraphql
contentType___node___showInMenu
contentType___node___showInNavMenus
contentType___node___showInRest
contentType___node___showUi
contentType___node___uri
databaseId
date
dateGmt
desiredSlug
enclosure
excerpt
featuredImageDatabaseId
featuredImageId
featuredImage___node___altText
featuredImage___node___ancestors___nodes
featuredImage___node___authorDatabaseId
featuredImage___node___authorId
featuredImage___node___caption
featuredImage___node___children
featuredImage___node___children___children
featuredImage___node___children___id
featuredImage___node___commentCount
featuredImage___node___commentStatus
featuredImage___node___comments___nodes
featuredImage___node___contentTypeName
featuredImage___node___databaseId
featuredImage___node___date
featuredImage___node___dateGmt
featuredImage___node___description
featuredImage___node___desiredSlug
featuredImage___node___enclosure
featuredImage___node___fileSize
featuredImage___node___filename
featuredImage___node___filesize
featuredImage___node___gatsbyImage
featuredImage___node___guid
featuredImage___node___height
featuredImage___node___id
featuredImage___node___internal___content
featuredImage___node___internal___contentDigest
featuredImage___node___internal___description
featuredImage___node___internal___fieldOwners
featuredImage___node___internal___ignoreType
featuredImage___node___internal___mediaType
featuredImage___node___internal___owner
featuredImage___node___internal___type
featuredImage___node___isContentNode
featuredImage___node___isTermNode
featuredImage___node___link
featuredImage___node___localFile___absolutePath
featuredImage___node___localFile___accessTime
featuredImage___node___localFile___atime
featuredImage___node___localFile___atimeMs
featuredImage___node___localFile___base
featuredImage___node___localFile___birthTime
featuredImage___node___localFile___birthtime
featuredImage___node___localFile___birthtimeMs
featuredImage___node___localFile___blksize
featuredImage___node___localFile___blocks
featuredImage___node___localFile___changeTime
featuredImage___node___localFile___children
featuredImage___node___localFile___childrenImageSharp
featuredImage___node___localFile___ctime
featuredImage___node___localFile___ctimeMs
featuredImage___node___localFile___dev
featuredImage___node___localFile___dir
featuredImage___node___localFile___ext
featuredImage___node___localFile___extension
featuredImage___node___localFile___gid
featuredImage___node___localFile___hash
featuredImage___node___localFile___id
featuredImage___node___localFile___ino
featuredImage___node___localFile___mode
featuredImage___node___localFile___modifiedTime
featuredImage___node___localFile___mtime
featuredImage___node___localFile___mtimeMs
featuredImage___node___localFile___name
featuredImage___node___localFile___nlink
featuredImage___node___localFile___prettySize
featuredImage___node___localFile___publicURL
featuredImage___node___localFile___rdev
featuredImage___node___localFile___relativeDirectory
featuredImage___node___localFile___relativePath
featuredImage___node___localFile___root
featuredImage___node___localFile___size
featuredImage___node___localFile___sourceInstanceName
featuredImage___node___localFile___uid
featuredImage___node___mediaDetails___file
featuredImage___node___mediaDetails___height
featuredImage___node___mediaDetails___sizes
featuredImage___node___mediaDetails___width
featuredImage___node___mediaItemUrl
featuredImage___node___mediaType
featuredImage___node___mimeType
featuredImage___node___modified
featuredImage___node___modifiedGmt
featuredImage___node___nodeType
featuredImage___node___parentDatabaseId
featuredImage___node___parentId
featuredImage___node___parent___children
featuredImage___node___parent___id
featuredImage___node___publicUrl
featuredImage___node___remoteFile___absolutePath
featuredImage___node___remoteFile___accessTime
featuredImage___node___remoteFile___atime
featuredImage___node___remoteFile___atimeMs
featuredImage___node___remoteFile___base
featuredImage___node___remoteFile___birthTime
featuredImage___node___remoteFile___birthtime
featuredImage___node___remoteFile___birthtimeMs
featuredImage___node___remoteFile___blksize
featuredImage___node___remoteFile___blocks
featuredImage___node___remoteFile___changeTime
featuredImage___node___remoteFile___children
featuredImage___node___remoteFile___childrenImageSharp
featuredImage___node___remoteFile___ctime
featuredImage___node___remoteFile___ctimeMs
featuredImage___node___remoteFile___dev
featuredImage___node___remoteFile___dir
featuredImage___node___remoteFile___ext
featuredImage___node___remoteFile___extension
featuredImage___node___remoteFile___gid
featuredImage___node___remoteFile___hash
featuredImage___node___remoteFile___id
featuredImage___node___remoteFile___ino
featuredImage___node___remoteFile___mode
featuredImage___node___remoteFile___modifiedTime
featuredImage___node___remoteFile___mtime
featuredImage___node___remoteFile___mtimeMs
featuredImage___node___remoteFile___name
featuredImage___node___remoteFile___nlink
featuredImage___node___remoteFile___prettySize
featuredImage___node___remoteFile___publicURL
featuredImage___node___remoteFile___rdev
featuredImage___node___remoteFile___relativeDirectory
featuredImage___node___remoteFile___relativePath
featuredImage___node___remoteFile___root
featuredImage___node___remoteFile___size
featuredImage___node___remoteFile___sourceInstanceName
featuredImage___node___remoteFile___uid
featuredImage___node___resize___height
featuredImage___node___resize___src
featuredImage___node___resize___width
featuredImage___node___sizes
featuredImage___node___slug
featuredImage___node___sourceUrl
featuredImage___node___srcSet
featuredImage___node___status
featuredImage___node___template___templateName
featuredImage___node___title
featuredImage___node___uri
featuredImage___node___width
featuredImage___node___wpChildren___nodes
guid
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isRevision
isSticky
isTermNode
lastEditedBy___node___avatar___default
lastEditedBy___node___avatar___extraAttr
lastEditedBy___node___avatar___forceDefault
lastEditedBy___node___avatar___foundAvatar
lastEditedBy___node___avatar___height
lastEditedBy___node___avatar___rating
lastEditedBy___node___avatar___scheme
lastEditedBy___node___avatar___size
lastEditedBy___node___avatar___url
lastEditedBy___node___avatar___width
lastEditedBy___node___blockEditorPreviews___nodes
lastEditedBy___node___capKey
lastEditedBy___node___capabilities
lastEditedBy___node___children
lastEditedBy___node___children___children
lastEditedBy___node___children___id
lastEditedBy___node___comments___nodes
lastEditedBy___node___databaseId
lastEditedBy___node___description
lastEditedBy___node___email
lastEditedBy___node___extraCapabilities
lastEditedBy___node___firstName
lastEditedBy___node___id
lastEditedBy___node___internal___content
lastEditedBy___node___internal___contentDigest
lastEditedBy___node___internal___description
lastEditedBy___node___internal___fieldOwners
lastEditedBy___node___internal___ignoreType
lastEditedBy___node___internal___mediaType
lastEditedBy___node___internal___owner
lastEditedBy___node___internal___type
lastEditedBy___node___isContentNode
lastEditedBy___node___isTermNode
lastEditedBy___node___lastName
lastEditedBy___node___locale
lastEditedBy___node___name
lastEditedBy___node___nicename
lastEditedBy___node___nickname
lastEditedBy___node___nodeType
lastEditedBy___node___pages___nodes
lastEditedBy___node___parent___children
lastEditedBy___node___parent___id
lastEditedBy___node___posts___nodes
lastEditedBy___node___registeredDate
lastEditedBy___node___roles___nodes
lastEditedBy___node___slug
lastEditedBy___node___uri
lastEditedBy___node___url
lastEditedBy___node___username
link
modified
modifiedGmt
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
pingStatus
pinged
postFormats___nodes
postFormats___nodes___children
postFormats___nodes___children___children
postFormats___nodes___children___id
postFormats___nodes___contentNodes___nodes
postFormats___nodes___count
postFormats___nodes___databaseId
postFormats___nodes___description
postFormats___nodes___id
postFormats___nodes___internal___content
postFormats___nodes___internal___contentDigest
postFormats___nodes___internal___description
postFormats___nodes___internal___fieldOwners
postFormats___nodes___internal___ignoreType
postFormats___nodes___internal___mediaType
postFormats___nodes___internal___owner
postFormats___nodes___internal___type
postFormats___nodes___isContentNode
postFormats___nodes___isTermNode
postFormats___nodes___link
postFormats___nodes___name
postFormats___nodes___nodeType
postFormats___nodes___parent___children
postFormats___nodes___parent___id
postFormats___nodes___posts___nodes
postFormats___nodes___slug
postFormats___nodes___taxonomyName
postFormats___nodes___termGroupId
postFormats___nodes___termTaxonomyId
postFormats___nodes___uri
previewBlocks
previewBlocksJSON
previewBlocks___attributesJSON
previewBlocks___dynamicContent
previewBlocks___innerBlocks
previewBlocks___innerBlocks___attributesJSON
previewBlocks___innerBlocks___dynamicContent
previewBlocks___innerBlocks___innerBlocks
previewBlocks___innerBlocks___innerBlocks___attributesJSON
previewBlocks___innerBlocks___innerBlocks___dynamicContent
previewBlocks___innerBlocks___innerBlocks___innerBlocks
previewBlocks___innerBlocks___innerBlocks___isDynamic
previewBlocks___innerBlocks___innerBlocks___name
previewBlocks___innerBlocks___innerBlocks___order
previewBlocks___innerBlocks___innerBlocks___originalContent
previewBlocks___innerBlocks___innerBlocks___parentNodeDatabaseId
previewBlocks___innerBlocks___innerBlocks___saveContent
previewBlocks___innerBlocks___isDynamic
previewBlocks___innerBlocks___name
previewBlocks___innerBlocks___order
previewBlocks___innerBlocks___originalContent
previewBlocks___innerBlocks___parentNodeDatabaseId
previewBlocks___innerBlocks___parentNode___id
previewBlocks___innerBlocks___saveContent
previewBlocks___isDynamic
previewBlocks___name
previewBlocks___order
previewBlocks___originalContent
previewBlocks___parentNodeDatabaseId
previewBlocks___parentNode___id
previewBlocks___saveContent
slug
status
tags___nodes
tags___nodes___children
tags___nodes___children___children
tags___nodes___children___id
tags___nodes___contentNodes___nodes
tags___nodes___count
tags___nodes___databaseId
tags___nodes___description
tags___nodes___id
tags___nodes___internal___content
tags___nodes___internal___contentDigest
tags___nodes___internal___description
tags___nodes___internal___fieldOwners
tags___nodes___internal___ignoreType
tags___nodes___internal___mediaType
tags___nodes___internal___owner
tags___nodes___internal___type
tags___nodes___isContentNode
tags___nodes___isTermNode
tags___nodes___link
tags___nodes___name
tags___nodes___nodeType
tags___nodes___parent___children
tags___nodes___parent___id
tags___nodes___posts___nodes
tags___nodes___slug
tags___nodes___taxonomyName
tags___nodes___termGroupId
tags___nodes___termTaxonomyId
tags___nodes___uri
template___templateName
terms___nodes
terms___nodes___children
terms___nodes___children___children
terms___nodes___children___id
terms___nodes___count
terms___nodes___databaseId
terms___nodes___description
terms___nodes___id
terms___nodes___internal___content
terms___nodes___internal___contentDigest
terms___nodes___internal___description
terms___nodes___internal___fieldOwners
terms___nodes___internal___ignoreType
terms___nodes___internal___mediaType
terms___nodes___internal___owner
terms___nodes___internal___type
terms___nodes___isContentNode
terms___nodes___isTermNode
terms___nodes___link
terms___nodes___name
terms___nodes___nodeType
terms___nodes___parent___children
terms___nodes___parent___id
terms___nodes___slug
terms___nodes___taxonomyName
terms___nodes___termGroupId
terms___nodes___termTaxonomyId
terms___nodes___uri
title
toPing
uri
}
input WpPostFilterInput {
author: WpNodeWithAuthorToUserConnectionEdgeFilterInput
authorDatabaseId: IntQueryOperatorInput
authorId: IDQueryOperatorInput
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
categories: WpPostToCategoryConnectionFilterInput
children: NodeFilterListInput
commentCount: IntQueryOperatorInput
commentStatus: StringQueryOperatorInput
comments: WpPostToCommentConnectionFilterInput
content: StringQueryOperatorInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
excerpt: StringQueryOperatorInput
featuredImage: WpNodeWithFeaturedImageToMediaItemConnectionEdgeFilterInput
featuredImageDatabaseId: IntQueryOperatorInput
featuredImageId: IDQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isRevision: BooleanQueryOperatorInput
isSticky: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
pingStatus: StringQueryOperatorInput
pinged: StringQueryOperatorInput
postFormats: WpPostToPostFormatConnectionFilterInput
previewBlocks: WpBlockFilterListInput
previewBlocksJSON: StringQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
tags: WpPostToTagConnectionFilterInput
template: WpContentTemplateFilterInput
terms: WpPostToTermNodeConnectionFilterInput
title: StringQueryOperatorInput
toPing: StringQueryOperatorInput
uri: StringQueryOperatorInput
}
input WpPostFilterListInput {
elemMatch: WpPostFilterInput
}
"""
The postFormat type
"""
type WpPostFormat implements Node & WpDatabaseIdentifier & WpNode & WpTermNode & WpUniformResourceIdentifiable {
children: [Node!]!
"""
Connection between the postFormat type and the ContentNode type
"""
contentNodes: WpPostFormatToContentNodeConnection
"""
The number of objects connected to the object
"""
count: Int
"""
The unique identifier stored in the database
"""
databaseId: Int!
"""
The description of the object
"""
description: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The link to the term
"""
link: String
"""
The human friendly name of the object.
"""
name: String
nodeType: String
parent: Node
"""
Connection between the postFormat type and the post type
"""
posts: WpPostFormatToPostConnection
"""
An alphanumeric identifier for the object unique to its type.
"""
slug: String
"""
Connection between the postFormat type and the Taxonomy type
"""
taxonomy: WpPostFormatToTaxonomyConnectionEdge
"""
The name of the taxonomy that the object is associated with
"""
taxonomyName: String
"""
The ID of the term group that this term object belongs to
"""
termGroupId: Int
"""
The taxonomy ID that the object is associated with
"""
termTaxonomyId: Int
"""
The unique resource identifier path
"""
uri: String
}
type WpPostFormatConnection {
distinct(field: WpPostFormatFieldsEnum!): [String!]!
edges: [WpPostFormatEdge!]!
group(field: WpPostFormatFieldsEnum!, limit: Int, skip: Int): [WpPostFormatGroupConnection!]!
max(field: WpPostFormatFieldsEnum!): Float
min(field: WpPostFormatFieldsEnum!): Float
nodes: [WpPostFormat!]!
pageInfo: PageInfo!
sum(field: WpPostFormatFieldsEnum!): Float
totalCount: Int!
}
type WpPostFormatEdge {
next: WpPostFormat
node: WpPostFormat!
previous: WpPostFormat
}
enum WpPostFormatFieldsEnum {
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
contentNodes___nodes
contentNodes___nodes___children
contentNodes___nodes___children___children
contentNodes___nodes___children___id
contentNodes___nodes___contentTypeName
contentNodes___nodes___databaseId
contentNodes___nodes___date
contentNodes___nodes___dateGmt
contentNodes___nodes___desiredSlug
contentNodes___nodes___enclosure
contentNodes___nodes___guid
contentNodes___nodes___id
contentNodes___nodes___internal___content
contentNodes___nodes___internal___contentDigest
contentNodes___nodes___internal___description
contentNodes___nodes___internal___fieldOwners
contentNodes___nodes___internal___ignoreType
contentNodes___nodes___internal___mediaType
contentNodes___nodes___internal___owner
contentNodes___nodes___internal___type
contentNodes___nodes___isContentNode
contentNodes___nodes___isTermNode
contentNodes___nodes___link
contentNodes___nodes___modified
contentNodes___nodes___modifiedGmt
contentNodes___nodes___nodeType
contentNodes___nodes___parent___children
contentNodes___nodes___parent___id
contentNodes___nodes___slug
contentNodes___nodes___status
contentNodes___nodes___template___templateName
contentNodes___nodes___uri
count
databaseId
description
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isTermNode
link
name
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
posts___nodes
posts___nodes___authorDatabaseId
posts___nodes___authorId
posts___nodes___blocks
posts___nodes___blocksJSON
posts___nodes___blocks___attributesJSON
posts___nodes___blocks___dynamicContent
posts___nodes___blocks___innerBlocks
posts___nodes___blocks___isDynamic
posts___nodes___blocks___name
posts___nodes___blocks___order
posts___nodes___blocks___originalContent
posts___nodes___blocks___parentNodeDatabaseId
posts___nodes___blocks___saveContent
posts___nodes___categories___nodes
posts___nodes___children
posts___nodes___children___children
posts___nodes___children___id
posts___nodes___commentCount
posts___nodes___commentStatus
posts___nodes___comments___nodes
posts___nodes___content
posts___nodes___contentTypeName
posts___nodes___databaseId
posts___nodes___date
posts___nodes___dateGmt
posts___nodes___desiredSlug
posts___nodes___enclosure
posts___nodes___excerpt
posts___nodes___featuredImageDatabaseId
posts___nodes___featuredImageId
posts___nodes___guid
posts___nodes___id
posts___nodes___internal___content
posts___nodes___internal___contentDigest
posts___nodes___internal___description
posts___nodes___internal___fieldOwners
posts___nodes___internal___ignoreType
posts___nodes___internal___mediaType
posts___nodes___internal___owner
posts___nodes___internal___type
posts___nodes___isContentNode
posts___nodes___isRevision
posts___nodes___isSticky
posts___nodes___isTermNode
posts___nodes___link
posts___nodes___modified
posts___nodes___modifiedGmt
posts___nodes___nodeType
posts___nodes___parent___children
posts___nodes___parent___id
posts___nodes___pingStatus
posts___nodes___pinged
posts___nodes___postFormats___nodes
posts___nodes___previewBlocks
posts___nodes___previewBlocksJSON
posts___nodes___previewBlocks___attributesJSON
posts___nodes___previewBlocks___dynamicContent
posts___nodes___previewBlocks___innerBlocks
posts___nodes___previewBlocks___isDynamic
posts___nodes___previewBlocks___name
posts___nodes___previewBlocks___order
posts___nodes___previewBlocks___originalContent
posts___nodes___previewBlocks___parentNodeDatabaseId
posts___nodes___previewBlocks___saveContent
posts___nodes___slug
posts___nodes___status
posts___nodes___tags___nodes
posts___nodes___template___templateName
posts___nodes___terms___nodes
posts___nodes___title
posts___nodes___toPing
posts___nodes___uri
slug
taxonomyName
taxonomy___node___archivePath
taxonomy___node___children
taxonomy___node___children___children
taxonomy___node___children___id
taxonomy___node___connectedContentTypes___nodes
taxonomy___node___description
taxonomy___node___graphqlPluralName
taxonomy___node___graphqlSingleName
taxonomy___node___hierarchical
taxonomy___node___id
taxonomy___node___internal___content
taxonomy___node___internal___contentDigest
taxonomy___node___internal___description
taxonomy___node___internal___fieldOwners
taxonomy___node___internal___ignoreType
taxonomy___node___internal___mediaType
taxonomy___node___internal___owner
taxonomy___node___internal___type
taxonomy___node___label
taxonomy___node___name
taxonomy___node___nodeType
taxonomy___node___parent___children
taxonomy___node___parent___id
taxonomy___node___public
taxonomy___node___restBase
taxonomy___node___restControllerClass
taxonomy___node___showCloud
taxonomy___node___showInAdminColumn
taxonomy___node___showInGraphql
taxonomy___node___showInMenu
taxonomy___node___showInNavMenus
taxonomy___node___showInQuickEdit
taxonomy___node___showInRest
taxonomy___node___showUi
termGroupId
termTaxonomyId
uri
}
input WpPostFormatFilterInput {
children: NodeFilterListInput
contentNodes: WpPostFormatToContentNodeConnectionFilterInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
link: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
posts: WpPostFormatToPostConnectionFilterInput
slug: StringQueryOperatorInput
taxonomy: WpPostFormatToTaxonomyConnectionEdgeFilterInput
taxonomyName: StringQueryOperatorInput
termGroupId: IntQueryOperatorInput
termTaxonomyId: IntQueryOperatorInput
uri: StringQueryOperatorInput
}
input WpPostFormatFilterListInput {
elemMatch: WpPostFormatFilterInput
}
type WpPostFormatGroupConnection {
distinct(field: WpPostFormatFieldsEnum!): [String!]!
edges: [WpPostFormatEdge!]!
field: String!
fieldValue: String
group(field: WpPostFormatFieldsEnum!, limit: Int, skip: Int): [WpPostFormatGroupConnection!]!
max(field: WpPostFormatFieldsEnum!): Float
min(field: WpPostFormatFieldsEnum!): Float
nodes: [WpPostFormat!]!
pageInfo: PageInfo!
sum(field: WpPostFormatFieldsEnum!): Float
totalCount: Int!
}
input WpPostFormatSortInput {
fields: [WpPostFormatFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the postFormat type and the ContentNode type
"""
type WpPostFormatToContentNodeConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpContentNode]
}
input WpPostFormatToContentNodeConnectionFilterInput {
nodes: WpContentNodeFilterListInput
}
"""
Connection between the postFormat type and the post type
"""
type WpPostFormatToPostConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpPost]
}
input WpPostFormatToPostConnectionFilterInput {
nodes: WpPostFilterListInput
}
"""
Connection between the postFormat type and the Taxonomy type
"""
type WpPostFormatToTaxonomyConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpTaxonomy
}
input WpPostFormatToTaxonomyConnectionEdgeFilterInput {
node: WpTaxonomyFilterInput
}
type WpPostGroupConnection {
distinct(field: WpPostFieldsEnum!): [String!]!
edges: [WpPostEdge!]!
field: String!
fieldValue: String
group(field: WpPostFieldsEnum!, limit: Int, skip: Int): [WpPostGroupConnection!]!
max(field: WpPostFieldsEnum!): Float
min(field: WpPostFieldsEnum!): Float
nodes: [WpPost!]!
pageInfo: PageInfo!
sum(field: WpPostFieldsEnum!): Float
totalCount: Int!
}
input WpPostSortInput {
fields: [WpPostFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the post type and the category type
"""
type WpPostToCategoryConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpCategory]
}
input WpPostToCategoryConnectionFilterInput {
nodes: WpCategoryFilterListInput
}
"""
Connection between the post type and the Comment type
"""
type WpPostToCommentConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpComment]
}
input WpPostToCommentConnectionFilterInput {
nodes: WpCommentFilterListInput
}
"""
Connection between the post type and the postFormat type
"""
type WpPostToPostFormatConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpPostFormat]
}
input WpPostToPostFormatConnectionFilterInput {
nodes: WpPostFormatFilterListInput
}
"""
Connection between the post type and the tag type
"""
type WpPostToTagConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpTag]
}
input WpPostToTagConnectionFilterInput {
nodes: WpTagFilterListInput
}
"""
Connection between the post type and the TermNode type
"""
type WpPostToTermNodeConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpTermNode]
}
input WpPostToTermNodeConnectionFilterInput {
nodes: WpTermNodeFilterListInput
}
"""
Details for labels of the PostType
"""
type WpPostTypeLabelDetails {
"""
Default is ‘Add New’ for both hierarchical and non-hierarchical types.
"""
addNew: String
"""
Label for adding a new singular item.
"""
addNewItem: String
"""
Label to signify all items in a submenu link.
"""
allItems: String
"""
Label for archives in nav menus
"""
archives: String
"""
Label for the attributes meta box.
"""
attributes: String
"""
Label for editing a singular item.
"""
editItem: String
"""
Label for the Featured Image meta box title.
"""
featuredImage: String
"""
Label for the table views hidden heading.
"""
filterItemsList: String
"""
Label for the media frame button.
"""
insertIntoItem: String
"""
Label for the table hidden heading.
"""
itemsList: String
"""
Label for the table pagination hidden heading.
"""
itemsListNavigation: String
"""
Label for the menu name.
"""
menuName: String
"""
General name for the post type, usually plural.
"""
name: String
"""
Label for the new item page title.
"""
newItem: String
"""
Label used when no items are found.
"""
notFound: String
"""
Label used when no items are in the trash.
"""
notFoundInTrash: String
"""
Label used to prefix parents of hierarchical items.
"""
parentItemColon: String
"""
Label for removing the featured image.
"""
removeFeaturedImage: String
"""
Label for searching plural items.
"""
searchItems: String
"""
Label for setting the featured image.
"""
setFeaturedImage: String
"""
Name for one object of this post type.
"""
singularName: String
"""
Label for the media frame filter.
"""
uploadedToThisItem: String
"""
Label in the media frame for using a featured image.
"""
useFeaturedImage: String
"""
Label for viewing a singular item.
"""
viewItem: String
"""
Label for viewing post type archives.
"""
viewItems: String
}
input WpPostTypeLabelDetailsFilterInput {
addNew: StringQueryOperatorInput
addNewItem: StringQueryOperatorInput
allItems: StringQueryOperatorInput
archives: StringQueryOperatorInput
attributes: StringQueryOperatorInput
editItem: StringQueryOperatorInput
featuredImage: StringQueryOperatorInput
filterItemsList: StringQueryOperatorInput
insertIntoItem: StringQueryOperatorInput
itemsList: StringQueryOperatorInput
itemsListNavigation: StringQueryOperatorInput
menuName: StringQueryOperatorInput
name: StringQueryOperatorInput
newItem: StringQueryOperatorInput
notFound: StringQueryOperatorInput
notFoundInTrash: StringQueryOperatorInput
parentItemColon: StringQueryOperatorInput
removeFeaturedImage: StringQueryOperatorInput
searchItems: StringQueryOperatorInput
setFeaturedImage: StringQueryOperatorInput
singularName: StringQueryOperatorInput
uploadedToThisItem: StringQueryOperatorInput
useFeaturedImage: StringQueryOperatorInput
viewItem: StringQueryOperatorInput
viewItems: StringQueryOperatorInput
}
"""
The reading setting type
"""
type WpReadingSettings {
"""
Maximal angezeigte Beiträge.
"""
postsPerPage: Int
}
input WpReadingSettingsFilterInput {
postsPerPage: IntQueryOperatorInput
}
"""
real-media-library/gallery block
"""
type WpRealMediaLibraryGalleryBlock implements WpBlock {
attributes: WpRealMediaLibraryGalleryBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpRealMediaLibraryGalleryBlockAttributes {
align: String
captions: Boolean!
className: String
columns: Float!
fid: Float!
imageCrop: Boolean!
lastEditReload: Float!
linkTo: String!
lock: JSON
}
"""
The ReusableBlock type
"""
type WpReusableBlock implements Node & WpBlockEditorContentNode & WpContentNode & WpDatabaseIdentifier & WpNode & WpNodeWithContentEditor & WpNodeWithRevisions & WpNodeWithTemplate & WpNodeWithTitle & WpUniformResourceIdentifiable {
"""
Gutenberg blocks
"""
blocks: [WpBlock!]
"""
Gutenberg blocks as json string
"""
blocksJSON: String
children: [Node!]!
"""
The content of the post.
"""
content: String
"""
Connection between the ContentNode type and the ContentType type
"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""
The name of the Content Type the node belongs to
"""
contentTypeName: String!
"""
The unique identifier stored in the database
"""
databaseId: Int!
"""
Post publishing date.
"""
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The publishing date set in GMT.
"""
dateGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The desired slug of the post
"""
desiredSlug: String
"""
The RSS enclosure for the object
"""
enclosure: String
"""
The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table.
"""
guid: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
True if the node is a revision of another node
"""
isRevision: Boolean
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The user that most recently edited the node
"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
"""
The permalink of the post
"""
link: String
"""
The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time.
"""
modified(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
"""
The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT.
"""
modifiedGmt(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
nodeType: String
parent: Node
"""
Previewed gutenberg blocks
"""
previewBlocks: [WpBlock!]
"""
Previewed Gutenberg blocks as json string
"""
previewBlocksJSON: String
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table.
"""
slug: String
"""
The current status of the object
"""
status: String
"""
The template assigned to the node
"""
template: WpContentTemplate
"""
The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made.
"""
title: String
"""
The unique resource identifier path
"""
uri: String
}
type WpReusableBlockConnection {
distinct(field: WpReusableBlockFieldsEnum!): [String!]!
edges: [WpReusableBlockEdge!]!
group(field: WpReusableBlockFieldsEnum!, limit: Int, skip: Int): [WpReusableBlockGroupConnection!]!
max(field: WpReusableBlockFieldsEnum!): Float
min(field: WpReusableBlockFieldsEnum!): Float
nodes: [WpReusableBlock!]!
pageInfo: PageInfo!
sum(field: WpReusableBlockFieldsEnum!): Float
totalCount: Int!
}
type WpReusableBlockEdge {
next: WpReusableBlock
node: WpReusableBlock!
previous: WpReusableBlock
}
enum WpReusableBlockFieldsEnum {
blocks
blocksJSON
blocks___attributesJSON
blocks___dynamicContent
blocks___innerBlocks
blocks___innerBlocks___attributesJSON
blocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___attributesJSON
blocks___innerBlocks___innerBlocks___dynamicContent
blocks___innerBlocks___innerBlocks___innerBlocks
blocks___innerBlocks___innerBlocks___isDynamic
blocks___innerBlocks___innerBlocks___name
blocks___innerBlocks___innerBlocks___order
blocks___innerBlocks___innerBlocks___originalContent
blocks___innerBlocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___innerBlocks___saveContent
blocks___innerBlocks___isDynamic
blocks___innerBlocks___name
blocks___innerBlocks___order
blocks___innerBlocks___originalContent
blocks___innerBlocks___parentNodeDatabaseId
blocks___innerBlocks___parentNode___id
blocks___innerBlocks___saveContent
blocks___isDynamic
blocks___name
blocks___order
blocks___originalContent
blocks___parentNodeDatabaseId
blocks___parentNode___id
blocks___saveContent
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
content
contentTypeName
contentType___node___archivePath
contentType___node___canExport
contentType___node___children
contentType___node___children___children
contentType___node___children___id
contentType___node___connectedTaxonomies___nodes
contentType___node___contentNodes___nodes
contentType___node___deleteWithUser
contentType___node___description
contentType___node___excludeFromSearch
contentType___node___graphqlPluralName
contentType___node___graphqlSingleName
contentType___node___hasArchive
contentType___node___hierarchical
contentType___node___id
contentType___node___internal___content
contentType___node___internal___contentDigest
contentType___node___internal___description
contentType___node___internal___fieldOwners
contentType___node___internal___ignoreType
contentType___node___internal___mediaType
contentType___node___internal___owner
contentType___node___internal___type
contentType___node___isContentNode
contentType___node___isFrontPage
contentType___node___isPostsPage
contentType___node___isTermNode
contentType___node___label
contentType___node___labels___addNew
contentType___node___labels___addNewItem
contentType___node___labels___allItems
contentType___node___labels___archives
contentType___node___labels___attributes
contentType___node___labels___editItem
contentType___node___labels___featuredImage
contentType___node___labels___filterItemsList
contentType___node___labels___insertIntoItem
contentType___node___labels___itemsList
contentType___node___labels___itemsListNavigation
contentType___node___labels___menuName
contentType___node___labels___name
contentType___node___labels___newItem
contentType___node___labels___notFound
contentType___node___labels___notFoundInTrash
contentType___node___labels___parentItemColon
contentType___node___labels___removeFeaturedImage
contentType___node___labels___searchItems
contentType___node___labels___setFeaturedImage
contentType___node___labels___singularName
contentType___node___labels___uploadedToThisItem
contentType___node___labels___useFeaturedImage
contentType___node___labels___viewItem
contentType___node___labels___viewItems
contentType___node___menuIcon
contentType___node___menuPosition
contentType___node___name
contentType___node___nodeType
contentType___node___parent___children
contentType___node___parent___id
contentType___node___public
contentType___node___publiclyQueryable
contentType___node___restBase
contentType___node___restControllerClass
contentType___node___showInAdminBar
contentType___node___showInGraphql
contentType___node___showInMenu
contentType___node___showInNavMenus
contentType___node___showInRest
contentType___node___showUi
contentType___node___uri
databaseId
date
dateGmt
desiredSlug
enclosure
guid
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isRevision
isTermNode
lastEditedBy___node___avatar___default
lastEditedBy___node___avatar___extraAttr
lastEditedBy___node___avatar___forceDefault
lastEditedBy___node___avatar___foundAvatar
lastEditedBy___node___avatar___height
lastEditedBy___node___avatar___rating
lastEditedBy___node___avatar___scheme
lastEditedBy___node___avatar___size
lastEditedBy___node___avatar___url
lastEditedBy___node___avatar___width
lastEditedBy___node___blockEditorPreviews___nodes
lastEditedBy___node___capKey
lastEditedBy___node___capabilities
lastEditedBy___node___children
lastEditedBy___node___children___children
lastEditedBy___node___children___id
lastEditedBy___node___comments___nodes
lastEditedBy___node___databaseId
lastEditedBy___node___description
lastEditedBy___node___email
lastEditedBy___node___extraCapabilities
lastEditedBy___node___firstName
lastEditedBy___node___id
lastEditedBy___node___internal___content
lastEditedBy___node___internal___contentDigest
lastEditedBy___node___internal___description
lastEditedBy___node___internal___fieldOwners
lastEditedBy___node___internal___ignoreType
lastEditedBy___node___internal___mediaType
lastEditedBy___node___internal___owner
lastEditedBy___node___internal___type
lastEditedBy___node___isContentNode
lastEditedBy___node___isTermNode
lastEditedBy___node___lastName
lastEditedBy___node___locale
lastEditedBy___node___name
lastEditedBy___node___nicename
lastEditedBy___node___nickname
lastEditedBy___node___nodeType
lastEditedBy___node___pages___nodes
lastEditedBy___node___parent___children
lastEditedBy___node___parent___id
lastEditedBy___node___posts___nodes
lastEditedBy___node___registeredDate
lastEditedBy___node___roles___nodes
lastEditedBy___node___slug
lastEditedBy___node___uri
lastEditedBy___node___url
lastEditedBy___node___username
link
modified
modifiedGmt
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
previewBlocks
previewBlocksJSON
previewBlocks___attributesJSON
previewBlocks___dynamicContent
previewBlocks___innerBlocks
previewBlocks___innerBlocks___attributesJSON
previewBlocks___innerBlocks___dynamicContent
previewBlocks___innerBlocks___innerBlocks
previewBlocks___innerBlocks___innerBlocks___attributesJSON
previewBlocks___innerBlocks___innerBlocks___dynamicContent
previewBlocks___innerBlocks___innerBlocks___innerBlocks
previewBlocks___innerBlocks___innerBlocks___isDynamic
previewBlocks___innerBlocks___innerBlocks___name
previewBlocks___innerBlocks___innerBlocks___order
previewBlocks___innerBlocks___innerBlocks___originalContent
previewBlocks___innerBlocks___innerBlocks___parentNodeDatabaseId
previewBlocks___innerBlocks___innerBlocks___saveContent
previewBlocks___innerBlocks___isDynamic
previewBlocks___innerBlocks___name
previewBlocks___innerBlocks___order
previewBlocks___innerBlocks___originalContent
previewBlocks___innerBlocks___parentNodeDatabaseId
previewBlocks___innerBlocks___parentNode___id
previewBlocks___innerBlocks___saveContent
previewBlocks___isDynamic
previewBlocks___name
previewBlocks___order
previewBlocks___originalContent
previewBlocks___parentNodeDatabaseId
previewBlocks___parentNode___id
previewBlocks___saveContent
slug
status
template___templateName
title
uri
}
input WpReusableBlockFilterInput {
blocks: WpBlockFilterListInput
blocksJSON: StringQueryOperatorInput
children: NodeFilterListInput
content: StringQueryOperatorInput
contentType: WpContentNodeToContentTypeConnectionEdgeFilterInput
contentTypeName: StringQueryOperatorInput
databaseId: IntQueryOperatorInput
date: DateQueryOperatorInput
dateGmt: DateQueryOperatorInput
desiredSlug: StringQueryOperatorInput
enclosure: StringQueryOperatorInput
guid: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isRevision: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastEditedBy: WpContentNodeToEditLastConnectionEdgeFilterInput
link: StringQueryOperatorInput
modified: DateQueryOperatorInput
modifiedGmt: DateQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
previewBlocks: WpBlockFilterListInput
previewBlocksJSON: StringQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
template: WpContentTemplateFilterInput
title: StringQueryOperatorInput
uri: StringQueryOperatorInput
}
type WpReusableBlockGroupConnection {
distinct(field: WpReusableBlockFieldsEnum!): [String!]!
edges: [WpReusableBlockEdge!]!
field: String!
fieldValue: String
group(field: WpReusableBlockFieldsEnum!, limit: Int, skip: Int): [WpReusableBlockGroupConnection!]!
max(field: WpReusableBlockFieldsEnum!): Float
min(field: WpReusableBlockFieldsEnum!): Float
nodes: [WpReusableBlock!]!
pageInfo: PageInfo!
sum(field: WpReusableBlockFieldsEnum!): Float
totalCount: Int!
}
input WpReusableBlockSortInput {
fields: [WpReusableBlockFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
All of the registered settings
"""
type WpSettings {
"""
Settings of the the string Settings Group
"""
discussionSettingsDefaultCommentStatus: String
"""
Settings of the the string Settings Group
"""
discussionSettingsDefaultPingStatus: String
"""
Settings of the the string Settings Group
"""
generalSettingsDateFormat: String
"""
Settings of the the string Settings Group
"""
generalSettingsDescription: String
"""
Settings of the the string Settings Group
"""
generalSettingsEmail: String
"""
Settings of the the string Settings Group
"""
generalSettingsLanguage: String
"""
Settings of the the integer Settings Group
"""
generalSettingsStartOfWeek: Int
"""
Settings of the the string Settings Group
"""
generalSettingsTimeFormat: String
"""
Settings of the the string Settings Group
"""
generalSettingsTimezone: String
"""
Settings of the the string Settings Group
"""
generalSettingsTitle: String
"""
Settings of the the string Settings Group
"""
generalSettingsUrl: String
"""
Settings of the the integer Settings Group
"""
readingSettingsPostsPerPage: Int
"""
Settings of the the integer Settings Group
"""
writingSettingsDefaultCategory: Int
"""
Settings of the the string Settings Group
"""
writingSettingsDefaultPostFormat: String
"""
Settings of the the boolean Settings Group
"""
writingSettingsUseSmilies: Boolean
}
input WpSettingsFilterInput {
discussionSettingsDefaultCommentStatus: StringQueryOperatorInput
discussionSettingsDefaultPingStatus: StringQueryOperatorInput
generalSettingsDateFormat: StringQueryOperatorInput
generalSettingsDescription: StringQueryOperatorInput
generalSettingsEmail: StringQueryOperatorInput
generalSettingsLanguage: StringQueryOperatorInput
generalSettingsStartOfWeek: IntQueryOperatorInput
generalSettingsTimeFormat: StringQueryOperatorInput
generalSettingsTimezone: StringQueryOperatorInput
generalSettingsTitle: StringQueryOperatorInput
generalSettingsUrl: StringQueryOperatorInput
readingSettingsPostsPerPage: IntQueryOperatorInput
writingSettingsDefaultCategory: IntQueryOperatorInput
writingSettingsDefaultPostFormat: StringQueryOperatorInput
writingSettingsUseSmilies: BooleanQueryOperatorInput
}
input WpSortInput {
fields: [WpFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
tadv/classic-paragraph block
"""
type WpTadvClassicParagraphBlock implements WpBlock {
attributes: WpTadvClassicParagraphBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpTadvClassicParagraphBlockAttributes {
align: String
content: String
lock: JSON
}
"""
The tag type
"""
type WpTag implements Node & WpDatabaseIdentifier & WpMenuItemLinkable & WpNode & WpTermNode & WpUniformResourceIdentifiable {
children: [Node!]!
"""
Connection between the tag type and the ContentNode type
"""
contentNodes: WpTagToContentNodeConnection
"""
The number of objects connected to the object
"""
count: Int
"""
The unique resource identifier path
"""
databaseId: Int!
"""
The description of the object
"""
description: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The link to the term
"""
link: String
"""
The human friendly name of the object.
"""
name: String
nodeType: String
parent: Node
"""
Connection between the tag type and the post type
"""
posts: WpTagToPostConnection
"""
An alphanumeric identifier for the object unique to its type.
"""
slug: String
"""
Connection between the tag type and the Taxonomy type
"""
taxonomy: WpTagToTaxonomyConnectionEdge
"""
The name of the taxonomy that the object is associated with
"""
taxonomyName: String
"""
The ID of the term group that this term object belongs to
"""
termGroupId: Int
"""
The taxonomy ID that the object is associated with
"""
termTaxonomyId: Int
"""
The unique resource identifier path
"""
uri: String
}
type WpTagConnection {
distinct(field: WpTagFieldsEnum!): [String!]!
edges: [WpTagEdge!]!
group(field: WpTagFieldsEnum!, limit: Int, skip: Int): [WpTagGroupConnection!]!
max(field: WpTagFieldsEnum!): Float
min(field: WpTagFieldsEnum!): Float
nodes: [WpTag!]!
pageInfo: PageInfo!
sum(field: WpTagFieldsEnum!): Float
totalCount: Int!
}
type WpTagEdge {
next: WpTag
node: WpTag!
previous: WpTag
}
enum WpTagFieldsEnum {
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
contentNodes___nodes
contentNodes___nodes___children
contentNodes___nodes___children___children
contentNodes___nodes___children___id
contentNodes___nodes___contentTypeName
contentNodes___nodes___databaseId
contentNodes___nodes___date
contentNodes___nodes___dateGmt
contentNodes___nodes___desiredSlug
contentNodes___nodes___enclosure
contentNodes___nodes___guid
contentNodes___nodes___id
contentNodes___nodes___internal___content
contentNodes___nodes___internal___contentDigest
contentNodes___nodes___internal___description
contentNodes___nodes___internal___fieldOwners
contentNodes___nodes___internal___ignoreType
contentNodes___nodes___internal___mediaType
contentNodes___nodes___internal___owner
contentNodes___nodes___internal___type
contentNodes___nodes___isContentNode
contentNodes___nodes___isTermNode
contentNodes___nodes___link
contentNodes___nodes___modified
contentNodes___nodes___modifiedGmt
contentNodes___nodes___nodeType
contentNodes___nodes___parent___children
contentNodes___nodes___parent___id
contentNodes___nodes___slug
contentNodes___nodes___status
contentNodes___nodes___template___templateName
contentNodes___nodes___uri
count
databaseId
description
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isTermNode
link
name
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
posts___nodes
posts___nodes___authorDatabaseId
posts___nodes___authorId
posts___nodes___blocks
posts___nodes___blocksJSON
posts___nodes___blocks___attributesJSON
posts___nodes___blocks___dynamicContent
posts___nodes___blocks___innerBlocks
posts___nodes___blocks___isDynamic
posts___nodes___blocks___name
posts___nodes___blocks___order
posts___nodes___blocks___originalContent
posts___nodes___blocks___parentNodeDatabaseId
posts___nodes___blocks___saveContent
posts___nodes___categories___nodes
posts___nodes___children
posts___nodes___children___children
posts___nodes___children___id
posts___nodes___commentCount
posts___nodes___commentStatus
posts___nodes___comments___nodes
posts___nodes___content
posts___nodes___contentTypeName
posts___nodes___databaseId
posts___nodes___date
posts___nodes___dateGmt
posts___nodes___desiredSlug
posts___nodes___enclosure
posts___nodes___excerpt
posts___nodes___featuredImageDatabaseId
posts___nodes___featuredImageId
posts___nodes___guid
posts___nodes___id
posts___nodes___internal___content
posts___nodes___internal___contentDigest
posts___nodes___internal___description
posts___nodes___internal___fieldOwners
posts___nodes___internal___ignoreType
posts___nodes___internal___mediaType
posts___nodes___internal___owner
posts___nodes___internal___type
posts___nodes___isContentNode
posts___nodes___isRevision
posts___nodes___isSticky
posts___nodes___isTermNode
posts___nodes___link
posts___nodes___modified
posts___nodes___modifiedGmt
posts___nodes___nodeType
posts___nodes___parent___children
posts___nodes___parent___id
posts___nodes___pingStatus
posts___nodes___pinged
posts___nodes___postFormats___nodes
posts___nodes___previewBlocks
posts___nodes___previewBlocksJSON
posts___nodes___previewBlocks___attributesJSON
posts___nodes___previewBlocks___dynamicContent
posts___nodes___previewBlocks___innerBlocks
posts___nodes___previewBlocks___isDynamic
posts___nodes___previewBlocks___name
posts___nodes___previewBlocks___order
posts___nodes___previewBlocks___originalContent
posts___nodes___previewBlocks___parentNodeDatabaseId
posts___nodes___previewBlocks___saveContent
posts___nodes___slug
posts___nodes___status
posts___nodes___tags___nodes
posts___nodes___template___templateName
posts___nodes___terms___nodes
posts___nodes___title
posts___nodes___toPing
posts___nodes___uri
slug
taxonomyName
taxonomy___node___archivePath
taxonomy___node___children
taxonomy___node___children___children
taxonomy___node___children___id
taxonomy___node___connectedContentTypes___nodes
taxonomy___node___description
taxonomy___node___graphqlPluralName
taxonomy___node___graphqlSingleName
taxonomy___node___hierarchical
taxonomy___node___id
taxonomy___node___internal___content
taxonomy___node___internal___contentDigest
taxonomy___node___internal___description
taxonomy___node___internal___fieldOwners
taxonomy___node___internal___ignoreType
taxonomy___node___internal___mediaType
taxonomy___node___internal___owner
taxonomy___node___internal___type
taxonomy___node___label
taxonomy___node___name
taxonomy___node___nodeType
taxonomy___node___parent___children
taxonomy___node___parent___id
taxonomy___node___public
taxonomy___node___restBase
taxonomy___node___restControllerClass
taxonomy___node___showCloud
taxonomy___node___showInAdminColumn
taxonomy___node___showInGraphql
taxonomy___node___showInMenu
taxonomy___node___showInNavMenus
taxonomy___node___showInQuickEdit
taxonomy___node___showInRest
taxonomy___node___showUi
termGroupId
termTaxonomyId
uri
}
input WpTagFilterInput {
children: NodeFilterListInput
contentNodes: WpTagToContentNodeConnectionFilterInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
link: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
posts: WpTagToPostConnectionFilterInput
slug: StringQueryOperatorInput
taxonomy: WpTagToTaxonomyConnectionEdgeFilterInput
taxonomyName: StringQueryOperatorInput
termGroupId: IntQueryOperatorInput
termTaxonomyId: IntQueryOperatorInput
uri: StringQueryOperatorInput
}
input WpTagFilterListInput {
elemMatch: WpTagFilterInput
}
type WpTagGroupConnection {
distinct(field: WpTagFieldsEnum!): [String!]!
edges: [WpTagEdge!]!
field: String!
fieldValue: String
group(field: WpTagFieldsEnum!, limit: Int, skip: Int): [WpTagGroupConnection!]!
max(field: WpTagFieldsEnum!): Float
min(field: WpTagFieldsEnum!): Float
nodes: [WpTag!]!
pageInfo: PageInfo!
sum(field: WpTagFieldsEnum!): Float
totalCount: Int!
}
input WpTagSortInput {
fields: [WpTagFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the tag type and the ContentNode type
"""
type WpTagToContentNodeConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpContentNode]
}
input WpTagToContentNodeConnectionFilterInput {
nodes: WpContentNodeFilterListInput
}
"""
Connection between the tag type and the post type
"""
type WpTagToPostConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpPost]
}
input WpTagToPostConnectionFilterInput {
nodes: WpPostFilterListInput
}
"""
Connection between the tag type and the Taxonomy type
"""
type WpTagToTaxonomyConnectionEdge {
"""
The node of the connection, without the edges
"""
node: WpTaxonomy
}
input WpTagToTaxonomyConnectionEdgeFilterInput {
node: WpTaxonomyFilterInput
}
"""
A taxonomy object
"""
type WpTaxonomy implements Node & WpNode {
"""
The url path of the first page of the archive page for this content type.
"""
archivePath: String
children: [Node!]!
"""
List of Content Types associated with the Taxonomy
"""
connectedContentTypes: WpTaxonomyToContentTypeConnection
"""
Description of the taxonomy. This field is equivalent to WP_Taxonomy->description
"""
description: String
"""
The plural name of the post type within the GraphQL Schema.
"""
graphqlPluralName: String
"""
The singular name of the post type within the GraphQL Schema.
"""
graphqlSingleName: String
"""
Whether the taxonomy is hierarchical
"""
hierarchical: Boolean
id: ID!
internal: Internal!
"""
Name of the taxonomy shown in the menu. Usually plural.
"""
label: String
"""
The display name of the taxonomy. This field is equivalent to WP_Taxonomy->label
"""
name: String
nodeType: String
parent: Node
"""
Whether the taxonomy is publicly queryable
"""
public: Boolean
"""
Name of content type to diplay in REST API "wp/v2" namespace.
"""
restBase: String
"""
The REST Controller class assigned to handling this content type.
"""
restControllerClass: String
"""
Whether to show the taxonomy as part of a tag cloud widget. This field is equivalent to WP_Taxonomy->show_tagcloud
"""
showCloud: Boolean
"""
Whether to display a column for the taxonomy on its post type listing screens.
"""
showInAdminColumn: Boolean
"""
Whether to add the post type to the GraphQL Schema.
"""
showInGraphql: Boolean
"""
Whether to show the taxonomy in the admin menu
"""
showInMenu: Boolean
"""
Whether the taxonomy is available for selection in navigation menus.
"""
showInNavMenus: Boolean
"""
Whether to show the taxonomy in the quick/bulk edit panel.
"""
showInQuickEdit: Boolean
"""
Whether to add the post type route in the REST API "wp/v2" namespace.
"""
showInRest: Boolean
"""
Whether to generate and allow a UI for managing terms in this taxonomy in the admin
"""
showUi: Boolean
}
type WpTaxonomyConnection {
distinct(field: WpTaxonomyFieldsEnum!): [String!]!
edges: [WpTaxonomyEdge!]!
group(field: WpTaxonomyFieldsEnum!, limit: Int, skip: Int): [WpTaxonomyGroupConnection!]!
max(field: WpTaxonomyFieldsEnum!): Float
min(field: WpTaxonomyFieldsEnum!): Float
nodes: [WpTaxonomy!]!
pageInfo: PageInfo!
sum(field: WpTaxonomyFieldsEnum!): Float
totalCount: Int!
}
type WpTaxonomyEdge {
next: WpTaxonomy
node: WpTaxonomy!
previous: WpTaxonomy
}
enum WpTaxonomyFieldsEnum {
archivePath
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
connectedContentTypes___nodes
connectedContentTypes___nodes___archivePath
connectedContentTypes___nodes___canExport
connectedContentTypes___nodes___children
connectedContentTypes___nodes___children___children
connectedContentTypes___nodes___children___id
connectedContentTypes___nodes___connectedTaxonomies___nodes
connectedContentTypes___nodes___contentNodes___nodes
connectedContentTypes___nodes___deleteWithUser
connectedContentTypes___nodes___description
connectedContentTypes___nodes___excludeFromSearch
connectedContentTypes___nodes___graphqlPluralName
connectedContentTypes___nodes___graphqlSingleName
connectedContentTypes___nodes___hasArchive
connectedContentTypes___nodes___hierarchical
connectedContentTypes___nodes___id
connectedContentTypes___nodes___internal___content
connectedContentTypes___nodes___internal___contentDigest
connectedContentTypes___nodes___internal___description
connectedContentTypes___nodes___internal___fieldOwners
connectedContentTypes___nodes___internal___ignoreType
connectedContentTypes___nodes___internal___mediaType
connectedContentTypes___nodes___internal___owner
connectedContentTypes___nodes___internal___type
connectedContentTypes___nodes___isContentNode
connectedContentTypes___nodes___isFrontPage
connectedContentTypes___nodes___isPostsPage
connectedContentTypes___nodes___isTermNode
connectedContentTypes___nodes___label
connectedContentTypes___nodes___labels___addNew
connectedContentTypes___nodes___labels___addNewItem
connectedContentTypes___nodes___labels___allItems
connectedContentTypes___nodes___labels___archives
connectedContentTypes___nodes___labels___attributes
connectedContentTypes___nodes___labels___editItem
connectedContentTypes___nodes___labels___featuredImage
connectedContentTypes___nodes___labels___filterItemsList
connectedContentTypes___nodes___labels___insertIntoItem
connectedContentTypes___nodes___labels___itemsList
connectedContentTypes___nodes___labels___itemsListNavigation
connectedContentTypes___nodes___labels___menuName
connectedContentTypes___nodes___labels___name
connectedContentTypes___nodes___labels___newItem
connectedContentTypes___nodes___labels___notFound
connectedContentTypes___nodes___labels___notFoundInTrash
connectedContentTypes___nodes___labels___parentItemColon
connectedContentTypes___nodes___labels___removeFeaturedImage
connectedContentTypes___nodes___labels___searchItems
connectedContentTypes___nodes___labels___setFeaturedImage
connectedContentTypes___nodes___labels___singularName
connectedContentTypes___nodes___labels___uploadedToThisItem
connectedContentTypes___nodes___labels___useFeaturedImage
connectedContentTypes___nodes___labels___viewItem
connectedContentTypes___nodes___labels___viewItems
connectedContentTypes___nodes___menuIcon
connectedContentTypes___nodes___menuPosition
connectedContentTypes___nodes___name
connectedContentTypes___nodes___nodeType
connectedContentTypes___nodes___parent___children
connectedContentTypes___nodes___parent___id
connectedContentTypes___nodes___public
connectedContentTypes___nodes___publiclyQueryable
connectedContentTypes___nodes___restBase
connectedContentTypes___nodes___restControllerClass
connectedContentTypes___nodes___showInAdminBar
connectedContentTypes___nodes___showInGraphql
connectedContentTypes___nodes___showInMenu
connectedContentTypes___nodes___showInNavMenus
connectedContentTypes___nodes___showInRest
connectedContentTypes___nodes___showUi
connectedContentTypes___nodes___uri
description
graphqlPluralName
graphqlSingleName
hierarchical
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
label
name
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
public
restBase
restControllerClass
showCloud
showInAdminColumn
showInGraphql
showInMenu
showInNavMenus
showInQuickEdit
showInRest
showUi
}
input WpTaxonomyFilterInput {
archivePath: StringQueryOperatorInput
children: NodeFilterListInput
connectedContentTypes: WpTaxonomyToContentTypeConnectionFilterInput
description: StringQueryOperatorInput
graphqlPluralName: StringQueryOperatorInput
graphqlSingleName: StringQueryOperatorInput
hierarchical: BooleanQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
label: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
public: BooleanQueryOperatorInput
restBase: StringQueryOperatorInput
restControllerClass: StringQueryOperatorInput
showCloud: BooleanQueryOperatorInput
showInAdminColumn: BooleanQueryOperatorInput
showInGraphql: BooleanQueryOperatorInput
showInMenu: BooleanQueryOperatorInput
showInNavMenus: BooleanQueryOperatorInput
showInQuickEdit: BooleanQueryOperatorInput
showInRest: BooleanQueryOperatorInput
showUi: BooleanQueryOperatorInput
}
input WpTaxonomyFilterListInput {
elemMatch: WpTaxonomyFilterInput
}
type WpTaxonomyGroupConnection {
distinct(field: WpTaxonomyFieldsEnum!): [String!]!
edges: [WpTaxonomyEdge!]!
field: String!
fieldValue: String
group(field: WpTaxonomyFieldsEnum!, limit: Int, skip: Int): [WpTaxonomyGroupConnection!]!
max(field: WpTaxonomyFieldsEnum!): Float
min(field: WpTaxonomyFieldsEnum!): Float
nodes: [WpTaxonomy!]!
pageInfo: PageInfo!
sum(field: WpTaxonomyFieldsEnum!): Float
totalCount: Int!
}
input WpTaxonomySortInput {
fields: [WpTaxonomyFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the Taxonomy type and the ContentType type
"""
type WpTaxonomyToContentTypeConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpContentType]
}
input WpTaxonomyToContentTypeConnectionFilterInput {
nodes: WpContentTypeFilterListInput
}
interface WpTermNode implements Node {
children: [Node!]!
"""
The number of objects connected to the object
"""
count: Int
"""
Identifies the primary key from the database.
"""
databaseId: Int!
"""
The description of the object
"""
description: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The link to the term
"""
link: String
"""
The human friendly name of the object.
"""
name: String
nodeType: String
parent: Node
"""
An alphanumeric identifier for the object unique to its type.
"""
slug: String
"""
The name of the taxonomy that the object is associated with
"""
taxonomyName: String
"""
The ID of the term group that this term object belongs to
"""
termGroupId: Int
"""
The taxonomy ID that the object is associated with
"""
termTaxonomyId: Int
"""
The unique resource identifier path
"""
uri: String
}
type WpTermNodeConnection {
distinct(field: WpTermNodeFieldsEnum!): [String!]!
edges: [WpTermNodeEdge!]!
group(field: WpTermNodeFieldsEnum!, limit: Int, skip: Int): [WpTermNodeGroupConnection!]!
max(field: WpTermNodeFieldsEnum!): Float
min(field: WpTermNodeFieldsEnum!): Float
nodes: [WpTermNode!]!
pageInfo: PageInfo!
sum(field: WpTermNodeFieldsEnum!): Float
totalCount: Int!
}
type WpTermNodeEdge {
next: WpTermNode
node: WpTermNode!
previous: WpTermNode
}
enum WpTermNodeFieldsEnum {
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
count
databaseId
description
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isTermNode
link
name
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
slug
taxonomyName
termGroupId
termTaxonomyId
uri
}
input WpTermNodeFilterInput {
children: NodeFilterListInput
count: IntQueryOperatorInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
link: StringQueryOperatorInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
slug: StringQueryOperatorInput
taxonomyName: StringQueryOperatorInput
termGroupId: IntQueryOperatorInput
termTaxonomyId: IntQueryOperatorInput
uri: StringQueryOperatorInput
}
input WpTermNodeFilterListInput {
elemMatch: WpTermNodeFilterInput
}
type WpTermNodeGroupConnection {
distinct(field: WpTermNodeFieldsEnum!): [String!]!
edges: [WpTermNodeEdge!]!
field: String!
fieldValue: String
group(field: WpTermNodeFieldsEnum!, limit: Int, skip: Int): [WpTermNodeGroupConnection!]!
max(field: WpTermNodeFieldsEnum!): Float
min(field: WpTermNodeFieldsEnum!): Float
nodes: [WpTermNode!]!
pageInfo: PageInfo!
sum(field: WpTermNodeFieldsEnum!): Float
totalCount: Int!
}
input WpTermNodeSortInput {
fields: [WpTermNodeFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
tribe/events-list block
"""
type WpTribeEventsListBlock implements WpBlock {
attributes: WpTribeEventsListBlockAttributes
"""
Block attributes, JSON encoded
"""
attributesJSON: String
"""
Server side rendered content.
"""
dynamicContent: String
"""
Gutenberg blocks
"""
innerBlocks: [WpBlock!]
"""
Is block rendered server side.
"""
isDynamic: Boolean!
"""
Name of the block.
"""
name: String!
order: Int!
"""
Original HTML content.
"""
originalContent: String
"""
Parent post.
"""
parentNode: WpNode!
"""
Parent post id.
"""
parentNodeDatabaseId: Int!
"""
Original HTML content with inner blocks.
"""
saveContent: String
}
type WpTribeEventsListBlockAttributes {
className: String
lock: JSON
}
interface WpUniformResourceIdentifiable {
"""
The unique resource identifier path
"""
id: ID!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
The unique resource identifier path
"""
uri: String
}
"""
A User object
"""
type WpUser implements Node & WpCommenter & WpDatabaseIdentifier & WpNode & WpUniformResourceIdentifiable {
"""
Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument.
"""
avatar: WpAvatar
"""
Connection between the User type and the BlockEditorPreview type
"""
blockEditorPreviews: WpUserToBlockEditorPreviewConnection
"""
User metadata option name. Usually it will be "wp_capabilities".
"""
capKey: String
"""
A list of capabilities (permissions) granted to the user
"""
capabilities: [String]
children: [Node!]!
"""
Connection between the User type and the Comment type
"""
comments: WpUserToCommentConnection
"""
Identifies the primary key from the database.
"""
databaseId: Int!
"""
Description of the user.
"""
description: String
"""
Email address of the user. This is equivalent to the WP_User->user_email property.
"""
email: String
"""
A complete list of capabilities including capabilities inherited from a role. This is equivalent to the array keys of WP_User->allcaps.
"""
extraCapabilities: [String]
"""
First name of the user. This is equivalent to the WP_User->user_first_name property.
"""
firstName: String
id: ID!
internal: Internal!
"""
Whether the node is a Content Node
"""
isContentNode: Boolean!
"""
Whether the node is a Term
"""
isTermNode: Boolean!
"""
Last name of the user. This is equivalent to the WP_User->user_last_name property.
"""
lastName: String
"""
The preferred language locale set for the user. Value derived from get_user_locale().
"""
locale: String
"""
Display name of the user. This is equivalent to the WP_User->dispaly_name property.
"""
name: String
"""
The nicename for the user. This field is equivalent to WP_User->user_nicename
"""
nicename: String
"""
Nickname of the user.
"""
nickname: String
nodeType: String
"""
Connection between the User type and the page type
"""
pages: WpUserToPageConnection
parent: Node
"""
Connection between the User type and the post type
"""
posts: WpUserToPostConnection
"""
The date the user registered or was created. The field follows a full ISO8601 date string format.
"""
registeredDate: String
"""
Connection between the User type and the UserRole type
"""
roles: WpUserToUserRoleConnection
"""
The slug for the user. This field is equivalent to WP_User->user_nicename
"""
slug: String
"""
The unique resource identifier path
"""
uri: String
"""
A website url that is associated with the user.
"""
url: String
"""
Username for the user. This field is equivalent to WP_User->user_login.
"""
username: String
}
type WpUserConnection {
distinct(field: WpUserFieldsEnum!): [String!]!
edges: [WpUserEdge!]!
group(field: WpUserFieldsEnum!, limit: Int, skip: Int): [WpUserGroupConnection!]!
max(field: WpUserFieldsEnum!): Float
min(field: WpUserFieldsEnum!): Float
nodes: [WpUser!]!
pageInfo: PageInfo!
sum(field: WpUserFieldsEnum!): Float
totalCount: Int!
}
type WpUserEdge {
next: WpUser
node: WpUser!
previous: WpUser
}
enum WpUserFieldsEnum {
avatar___default
avatar___extraAttr
avatar___forceDefault
avatar___foundAvatar
avatar___height
avatar___rating
avatar___scheme
avatar___size
avatar___url
avatar___width
blockEditorPreviews___nodes
blockEditorPreviews___nodes___authorDatabaseId
blockEditorPreviews___nodes___authorId
blockEditorPreviews___nodes___blocks
blockEditorPreviews___nodes___blocksJSON
blockEditorPreviews___nodes___blocks___attributesJSON
blockEditorPreviews___nodes___blocks___dynamicContent
blockEditorPreviews___nodes___blocks___innerBlocks
blockEditorPreviews___nodes___blocks___isDynamic
blockEditorPreviews___nodes___blocks___name
blockEditorPreviews___nodes___blocks___order
blockEditorPreviews___nodes___blocks___originalContent
blockEditorPreviews___nodes___blocks___parentNodeDatabaseId
blockEditorPreviews___nodes___blocks___saveContent
blockEditorPreviews___nodes___children
blockEditorPreviews___nodes___children___children
blockEditorPreviews___nodes___children___id
blockEditorPreviews___nodes___content
blockEditorPreviews___nodes___contentTypeName
blockEditorPreviews___nodes___databaseId
blockEditorPreviews___nodes___date
blockEditorPreviews___nodes___dateGmt
blockEditorPreviews___nodes___desiredSlug
blockEditorPreviews___nodes___enclosure
blockEditorPreviews___nodes___guid
blockEditorPreviews___nodes___id
blockEditorPreviews___nodes___internal___content
blockEditorPreviews___nodes___internal___contentDigest
blockEditorPreviews___nodes___internal___description
blockEditorPreviews___nodes___internal___fieldOwners
blockEditorPreviews___nodes___internal___ignoreType
blockEditorPreviews___nodes___internal___mediaType
blockEditorPreviews___nodes___internal___owner
blockEditorPreviews___nodes___internal___type
blockEditorPreviews___nodes___isContentNode
blockEditorPreviews___nodes___isTermNode
blockEditorPreviews___nodes___lastUpdateTime
blockEditorPreviews___nodes___link
blockEditorPreviews___nodes___modified
blockEditorPreviews___nodes___modifiedGmt
blockEditorPreviews___nodes___nodeType
blockEditorPreviews___nodes___parent___children
blockEditorPreviews___nodes___parent___id
blockEditorPreviews___nodes___previewedDatabaseId
blockEditorPreviews___nodes___previewedParentDatabaseId
blockEditorPreviews___nodes___previewed___blocks
blockEditorPreviews___nodes___previewed___blocksJSON
blockEditorPreviews___nodes___previewed___children
blockEditorPreviews___nodes___previewed___id
blockEditorPreviews___nodes___previewed___nodeType
blockEditorPreviews___nodes___previewed___previewBlocks
blockEditorPreviews___nodes___previewed___previewBlocksJSON
blockEditorPreviews___nodes___slug
blockEditorPreviews___nodes___status
blockEditorPreviews___nodes___template___templateName
blockEditorPreviews___nodes___title
blockEditorPreviews___nodes___uri
capKey
capabilities
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
comments___nodes
comments___nodes___agent
comments___nodes___approved
comments___nodes___authorIp
comments___nodes___children
comments___nodes___children___children
comments___nodes___children___id
comments___nodes___content
comments___nodes___databaseId
comments___nodes___date
comments___nodes___dateGmt
comments___nodes___id
comments___nodes___internal___content
comments___nodes___internal___contentDigest
comments___nodes___internal___description
comments___nodes___internal___fieldOwners
comments___nodes___internal___ignoreType
comments___nodes___internal___mediaType
comments___nodes___internal___owner
comments___nodes___internal___type
comments___nodes___karma
comments___nodes___nodeType
comments___nodes___parentDatabaseId
comments___nodes___parentId
comments___nodes___parent___children
comments___nodes___parent___id
comments___nodes___replies___nodes
comments___nodes___type
databaseId
description
email
extraCapabilities
firstName
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
isContentNode
isTermNode
lastName
locale
name
nicename
nickname
nodeType
pages___nodes
pages___nodes___ancestors___nodes
pages___nodes___authorDatabaseId
pages___nodes___authorId
pages___nodes___blocks
pages___nodes___blocksJSON
pages___nodes___blocks___attributesJSON
pages___nodes___blocks___dynamicContent
pages___nodes___blocks___innerBlocks
pages___nodes___blocks___isDynamic
pages___nodes___blocks___name
pages___nodes___blocks___order
pages___nodes___blocks___originalContent
pages___nodes___blocks___parentNodeDatabaseId
pages___nodes___blocks___saveContent
pages___nodes___children
pages___nodes___children___children
pages___nodes___children___id
pages___nodes___commentCount
pages___nodes___commentStatus
pages___nodes___comments___nodes
pages___nodes___content
pages___nodes___contentTypeName
pages___nodes___databaseId
pages___nodes___date
pages___nodes___dateGmt
pages___nodes___desiredSlug
pages___nodes___enclosure
pages___nodes___featuredImageDatabaseId
pages___nodes___featuredImageId
pages___nodes___guid
pages___nodes___id
pages___nodes___internal___content
pages___nodes___internal___contentDigest
pages___nodes___internal___description
pages___nodes___internal___fieldOwners
pages___nodes___internal___ignoreType
pages___nodes___internal___mediaType
pages___nodes___internal___owner
pages___nodes___internal___type
pages___nodes___isContentNode
pages___nodes___isFrontPage
pages___nodes___isPostsPage
pages___nodes___isPrivacyPage
pages___nodes___isRevision
pages___nodes___isTermNode
pages___nodes___link
pages___nodes___menuOrder
pages___nodes___modified
pages___nodes___modifiedGmt
pages___nodes___nodeType
pages___nodes___parentDatabaseId
pages___nodes___parentId
pages___nodes___parent___children
pages___nodes___parent___id
pages___nodes___previewBlocks
pages___nodes___previewBlocksJSON
pages___nodes___previewBlocks___attributesJSON
pages___nodes___previewBlocks___dynamicContent
pages___nodes___previewBlocks___innerBlocks
pages___nodes___previewBlocks___isDynamic
pages___nodes___previewBlocks___name
pages___nodes___previewBlocks___order
pages___nodes___previewBlocks___originalContent
pages___nodes___previewBlocks___parentNodeDatabaseId
pages___nodes___previewBlocks___saveContent
pages___nodes___slug
pages___nodes___status
pages___nodes___template___templateName
pages___nodes___title
pages___nodes___uri
pages___nodes___wpChildren___nodes
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
posts___nodes
posts___nodes___authorDatabaseId
posts___nodes___authorId
posts___nodes___blocks
posts___nodes___blocksJSON
posts___nodes___blocks___attributesJSON
posts___nodes___blocks___dynamicContent
posts___nodes___blocks___innerBlocks
posts___nodes___blocks___isDynamic
posts___nodes___blocks___name
posts___nodes___blocks___order
posts___nodes___blocks___originalContent
posts___nodes___blocks___parentNodeDatabaseId
posts___nodes___blocks___saveContent
posts___nodes___categories___nodes
posts___nodes___children
posts___nodes___children___children
posts___nodes___children___id
posts___nodes___commentCount
posts___nodes___commentStatus
posts___nodes___comments___nodes
posts___nodes___content
posts___nodes___contentTypeName
posts___nodes___databaseId
posts___nodes___date
posts___nodes___dateGmt
posts___nodes___desiredSlug
posts___nodes___enclosure
posts___nodes___excerpt
posts___nodes___featuredImageDatabaseId
posts___nodes___featuredImageId
posts___nodes___guid
posts___nodes___id
posts___nodes___internal___content
posts___nodes___internal___contentDigest
posts___nodes___internal___description
posts___nodes___internal___fieldOwners
posts___nodes___internal___ignoreType
posts___nodes___internal___mediaType
posts___nodes___internal___owner
posts___nodes___internal___type
posts___nodes___isContentNode
posts___nodes___isRevision
posts___nodes___isSticky
posts___nodes___isTermNode
posts___nodes___link
posts___nodes___modified
posts___nodes___modifiedGmt
posts___nodes___nodeType
posts___nodes___parent___children
posts___nodes___parent___id
posts___nodes___pingStatus
posts___nodes___pinged
posts___nodes___postFormats___nodes
posts___nodes___previewBlocks
posts___nodes___previewBlocksJSON
posts___nodes___previewBlocks___attributesJSON
posts___nodes___previewBlocks___dynamicContent
posts___nodes___previewBlocks___innerBlocks
posts___nodes___previewBlocks___isDynamic
posts___nodes___previewBlocks___name
posts___nodes___previewBlocks___order
posts___nodes___previewBlocks___originalContent
posts___nodes___previewBlocks___parentNodeDatabaseId
posts___nodes___previewBlocks___saveContent
posts___nodes___slug
posts___nodes___status
posts___nodes___tags___nodes
posts___nodes___template___templateName
posts___nodes___terms___nodes
posts___nodes___title
posts___nodes___toPing
posts___nodes___uri
registeredDate
roles___nodes
roles___nodes___capabilities
roles___nodes___children
roles___nodes___children___children
roles___nodes___children___id
roles___nodes___displayName
roles___nodes___id
roles___nodes___internal___content
roles___nodes___internal___contentDigest
roles___nodes___internal___description
roles___nodes___internal___fieldOwners
roles___nodes___internal___ignoreType
roles___nodes___internal___mediaType
roles___nodes___internal___owner
roles___nodes___internal___type
roles___nodes___name
roles___nodes___nodeType
roles___nodes___parent___children
roles___nodes___parent___id
slug
uri
url
username
}
input WpUserFilterInput {
avatar: WpAvatarFilterInput
blockEditorPreviews: WpUserToBlockEditorPreviewConnectionFilterInput
capKey: StringQueryOperatorInput
capabilities: StringQueryOperatorInput
children: NodeFilterListInput
comments: WpUserToCommentConnectionFilterInput
databaseId: IntQueryOperatorInput
description: StringQueryOperatorInput
email: StringQueryOperatorInput
extraCapabilities: StringQueryOperatorInput
firstName: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
isContentNode: BooleanQueryOperatorInput
isTermNode: BooleanQueryOperatorInput
lastName: StringQueryOperatorInput
locale: StringQueryOperatorInput
name: StringQueryOperatorInput
nicename: StringQueryOperatorInput
nickname: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
pages: WpUserToPageConnectionFilterInput
parent: NodeFilterInput
posts: WpUserToPostConnectionFilterInput
registeredDate: StringQueryOperatorInput
roles: WpUserToUserRoleConnectionFilterInput
slug: StringQueryOperatorInput
uri: StringQueryOperatorInput
url: StringQueryOperatorInput
username: StringQueryOperatorInput
}
type WpUserGroupConnection {
distinct(field: WpUserFieldsEnum!): [String!]!
edges: [WpUserEdge!]!
field: String!
fieldValue: String
group(field: WpUserFieldsEnum!, limit: Int, skip: Int): [WpUserGroupConnection!]!
max(field: WpUserFieldsEnum!): Float
min(field: WpUserFieldsEnum!): Float
nodes: [WpUser!]!
pageInfo: PageInfo!
sum(field: WpUserFieldsEnum!): Float
totalCount: Int!
}
"""
A user role object
"""
type WpUserRole implements Node & WpNode {
"""
The capabilities that belong to this role
"""
capabilities: [String]
children: [Node!]!
"""
The display name of the role
"""
displayName: String
id: ID!
internal: Internal!
"""
The registered name of the role
"""
name: String
nodeType: String
parent: Node
}
type WpUserRoleConnection {
distinct(field: WpUserRoleFieldsEnum!): [String!]!
edges: [WpUserRoleEdge!]!
group(field: WpUserRoleFieldsEnum!, limit: Int, skip: Int): [WpUserRoleGroupConnection!]!
max(field: WpUserRoleFieldsEnum!): Float
min(field: WpUserRoleFieldsEnum!): Float
nodes: [WpUserRole!]!
pageInfo: PageInfo!
sum(field: WpUserRoleFieldsEnum!): Float
totalCount: Int!
}
type WpUserRoleEdge {
next: WpUserRole
node: WpUserRole!
previous: WpUserRole
}
enum WpUserRoleFieldsEnum {
capabilities
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
displayName
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
name
nodeType
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
}
input WpUserRoleFilterInput {
capabilities: StringQueryOperatorInput
children: NodeFilterListInput
displayName: StringQueryOperatorInput
id: StringQueryOperatorInput
internal: InternalFilterInput
name: StringQueryOperatorInput
nodeType: StringQueryOperatorInput
parent: NodeFilterInput
}
input WpUserRoleFilterListInput {
elemMatch: WpUserRoleFilterInput
}
type WpUserRoleGroupConnection {
distinct(field: WpUserRoleFieldsEnum!): [String!]!
edges: [WpUserRoleEdge!]!
field: String!
fieldValue: String
group(field: WpUserRoleFieldsEnum!, limit: Int, skip: Int): [WpUserRoleGroupConnection!]!
max(field: WpUserRoleFieldsEnum!): Float
min(field: WpUserRoleFieldsEnum!): Float
nodes: [WpUserRole!]!
pageInfo: PageInfo!
sum(field: WpUserRoleFieldsEnum!): Float
totalCount: Int!
}
input WpUserRoleSortInput {
fields: [WpUserRoleFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
input WpUserSortInput {
fields: [WpUserFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
"""
Connection between the User type and the BlockEditorPreview type
"""
type WpUserToBlockEditorPreviewConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpBlockEditorPreview]
}
input WpUserToBlockEditorPreviewConnectionFilterInput {
nodes: WpBlockEditorPreviewFilterListInput
}
"""
Connection between the User type and the Comment type
"""
type WpUserToCommentConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpComment]
}
input WpUserToCommentConnectionFilterInput {
nodes: WpCommentFilterListInput
}
"""
Connection between the User type and the page type
"""
type WpUserToPageConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpPage]
}
input WpUserToPageConnectionFilterInput {
nodes: WpPageFilterListInput
}
"""
Connection between the User type and the post type
"""
type WpUserToPostConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpPost]
}
input WpUserToPostConnectionFilterInput {
nodes: WpPostFilterListInput
}
"""
Connection between the User type and the UserRole type
"""
type WpUserToUserRoleConnection {
"""
The nodes of the connection, without the edges
"""
nodes: [WpUserRole]
}
input WpUserToUserRoleConnectionFilterInput {
nodes: WpUserRoleFilterListInput
}
"""
Information needed by gatsby-source-wordpress.
"""
type WpWPGatsby {
"""
Returns wether or not pretty permalinks are enabled.
"""
arePrettyPermalinksEnabled: Boolean
"""
Wether or not the Preview frontend URL is online.
"""
isPreviewFrontendOnline: Boolean
}
input WpWPGatsbyFilterInput {
arePrettyPermalinksEnabled: BooleanQueryOperatorInput
isPreviewFrontendOnline: BooleanQueryOperatorInput
}
"""
The writing setting type
"""
type WpWritingSettings {
"""
Standard-Beitragskategorie.
"""
defaultCategory: Int
"""
Standard-Beitragsformat.
"""
defaultPostFormat: String
"""
Emoticons wie :-) und :-P als Grafiken anzeigen.
"""
useSmilies: Boolean
}
input WpWritingSettingsFilterInput {
defaultCategory: IntQueryOperatorInput
defaultPostFormat: StringQueryOperatorInput
useSmilies: BooleanQueryOperatorInput
}
type internal__events implements Node {
children: [Node!]!
events: [internal__eventsEvents]
id: ID!
internal: Internal!
next_rest_url: String
parent: Node
previous_rest_url: String
rest_url: String
total: Int
total_pages: Int
}
type internal__eventsConnection {
distinct(field: internal__eventsFieldsEnum!): [String!]!
edges: [internal__eventsEdge!]!
group(field: internal__eventsFieldsEnum!, limit: Int, skip: Int): [internal__eventsGroupConnection!]!
max(field: internal__eventsFieldsEnum!): Float
min(field: internal__eventsFieldsEnum!): Float
nodes: [internal__events!]!
pageInfo: PageInfo!
sum(field: internal__eventsFieldsEnum!): Float
totalCount: Int!
}
type internal__eventsEdge {
next: internal__events
node: internal__events!
previous: internal__events
}
type internal__eventsEvents {
all_day: Boolean
alternative_id: Int
author: String
categories: [internal__eventsEventsCategories]
cost: String
cost_details: internal__eventsEventsCost_details
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
date_utc(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
description: String
end_date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
end_date_details: internal__eventsEventsEnd_date_details
excerpt: String
featured: Boolean
global_id: String
global_id_lineage: [String]
hide_from_listings: Boolean
image: Boolean
modified(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
modified_utc(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
rest_url: String
show_map: Boolean
show_map_link: Boolean
slug: String
start_date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
start_date_details: internal__eventsEventsStart_date_details
status: String
sticky: Boolean
timezone: String
timezone_abbr: String
title: String
url: String
utc_end_date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
utc_end_date_details: internal__eventsEventsUtc_end_date_details
utc_start_date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
utc_start_date_details: internal__eventsEventsUtc_start_date_details
venue: internal__eventsEventsVenue
website: String
}
type internal__eventsEventsCategories {
alternative_id: Int
alternative_parent: Int
count: Int
description: String
filter: String
name: String
slug: String
taxonomy: String
term_group: Int
term_taxonomy_id: Int
urls: internal__eventsEventsCategoriesUrls
}
input internal__eventsEventsCategoriesFilterInput {
alternative_id: IntQueryOperatorInput
alternative_parent: IntQueryOperatorInput
count: IntQueryOperatorInput
description: StringQueryOperatorInput
filter: StringQueryOperatorInput
name: StringQueryOperatorInput
slug: StringQueryOperatorInput
taxonomy: StringQueryOperatorInput
term_group: IntQueryOperatorInput
term_taxonomy_id: IntQueryOperatorInput
urls: internal__eventsEventsCategoriesUrlsFilterInput
}
input internal__eventsEventsCategoriesFilterListInput {
elemMatch: internal__eventsEventsCategoriesFilterInput
}
type internal__eventsEventsCategoriesUrls {
collection: String
self: String
up: String
}
input internal__eventsEventsCategoriesUrlsFilterInput {
collection: StringQueryOperatorInput
self: StringQueryOperatorInput
up: StringQueryOperatorInput
}
type internal__eventsEventsCost_details {
currency_code: String
currency_position: String
currency_symbol: String
}
input internal__eventsEventsCost_detailsFilterInput {
currency_code: StringQueryOperatorInput
currency_position: StringQueryOperatorInput
currency_symbol: StringQueryOperatorInput
}
type internal__eventsEventsEnd_date_details {
day: String
hour: String
minutes: String
month: String
seconds: String
year(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
}
input internal__eventsEventsEnd_date_detailsFilterInput {
day: StringQueryOperatorInput
hour: StringQueryOperatorInput
minutes: StringQueryOperatorInput
month: StringQueryOperatorInput
seconds: StringQueryOperatorInput
year: DateQueryOperatorInput
}
input internal__eventsEventsFilterInput {
all_day: BooleanQueryOperatorInput
alternative_id: IntQueryOperatorInput
author: StringQueryOperatorInput
categories: internal__eventsEventsCategoriesFilterListInput
cost: StringQueryOperatorInput
cost_details: internal__eventsEventsCost_detailsFilterInput
date: DateQueryOperatorInput
date_utc: DateQueryOperatorInput
description: StringQueryOperatorInput
end_date: DateQueryOperatorInput
end_date_details: internal__eventsEventsEnd_date_detailsFilterInput
excerpt: StringQueryOperatorInput
featured: BooleanQueryOperatorInput
global_id: StringQueryOperatorInput
global_id_lineage: StringQueryOperatorInput
hide_from_listings: BooleanQueryOperatorInput
image: BooleanQueryOperatorInput
modified: DateQueryOperatorInput
modified_utc: DateQueryOperatorInput
rest_url: StringQueryOperatorInput
show_map: BooleanQueryOperatorInput
show_map_link: BooleanQueryOperatorInput
slug: StringQueryOperatorInput
start_date: DateQueryOperatorInput
start_date_details: internal__eventsEventsStart_date_detailsFilterInput
status: StringQueryOperatorInput
sticky: BooleanQueryOperatorInput
timezone: StringQueryOperatorInput
timezone_abbr: StringQueryOperatorInput
title: StringQueryOperatorInput
url: StringQueryOperatorInput
utc_end_date: DateQueryOperatorInput
utc_end_date_details: internal__eventsEventsUtc_end_date_detailsFilterInput
utc_start_date: DateQueryOperatorInput
utc_start_date_details: internal__eventsEventsUtc_start_date_detailsFilterInput
venue: internal__eventsEventsVenueFilterInput
website: StringQueryOperatorInput
}
input internal__eventsEventsFilterListInput {
elemMatch: internal__eventsEventsFilterInput
}
type internal__eventsEventsStart_date_details {
day: String
hour: String
minutes: String
month: String
seconds: String
year(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
}
input internal__eventsEventsStart_date_detailsFilterInput {
day: StringQueryOperatorInput
hour: StringQueryOperatorInput
minutes: StringQueryOperatorInput
month: StringQueryOperatorInput
seconds: StringQueryOperatorInput
year: DateQueryOperatorInput
}
type internal__eventsEventsUtc_end_date_details {
day: String
hour: String
minutes: String
month: String
seconds: String
year(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
}
input internal__eventsEventsUtc_end_date_detailsFilterInput {
day: StringQueryOperatorInput
hour: StringQueryOperatorInput
minutes: StringQueryOperatorInput
month: StringQueryOperatorInput
seconds: StringQueryOperatorInput
year: DateQueryOperatorInput
}
type internal__eventsEventsUtc_start_date_details {
day: String
hour: String
minutes: String
month: String
seconds: String
year(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
}
input internal__eventsEventsUtc_start_date_detailsFilterInput {
day: StringQueryOperatorInput
hour: StringQueryOperatorInput
minutes: StringQueryOperatorInput
month: StringQueryOperatorInput
seconds: StringQueryOperatorInput
year: DateQueryOperatorInput
}
type internal__eventsEventsVenue {
alternative_id: Int
author: String
country: String
date(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
date_utc(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
global_id: String
global_id_lineage: [String]
modified(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
modified_utc(
"""
Returns the difference between this date and the current time. Defaults to "milliseconds" but you can also pass in as the measurement "years", "months", "weeks", "days", "hours", "minutes", and "seconds".
"""
difference: String
"""
Format the date using Moment.js' date tokens, e.g. `date(formatString: "YYYY MMMM DD")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens.
"""
formatString: String
"""
Returns a string generated with Moment.js' `fromNow` function
"""
fromNow: Boolean
"""
Configures the locale Moment.js will use to format the date.
"""
locale: String
): Date
show_map: Boolean
show_map_link: Boolean
slug: String
status: String
url: String
venue: String
}
input internal__eventsEventsVenueFilterInput {
alternative_id: IntQueryOperatorInput
author: StringQueryOperatorInput
country: StringQueryOperatorInput
date: DateQueryOperatorInput
date_utc: DateQueryOperatorInput
global_id: StringQueryOperatorInput
global_id_lineage: StringQueryOperatorInput
modified: DateQueryOperatorInput
modified_utc: DateQueryOperatorInput
show_map: BooleanQueryOperatorInput
show_map_link: BooleanQueryOperatorInput
slug: StringQueryOperatorInput
status: StringQueryOperatorInput
url: StringQueryOperatorInput
venue: StringQueryOperatorInput
}
enum internal__eventsFieldsEnum {
children
children___children
children___children___children
children___children___children___children
children___children___children___id
children___children___id
children___children___internal___content
children___children___internal___contentDigest
children___children___internal___description
children___children___internal___fieldOwners
children___children___internal___ignoreType
children___children___internal___mediaType
children___children___internal___owner
children___children___internal___type
children___children___parent___children
children___children___parent___id
children___id
children___internal___content
children___internal___contentDigest
children___internal___description
children___internal___fieldOwners
children___internal___ignoreType
children___internal___mediaType
children___internal___owner
children___internal___type
children___parent___children
children___parent___children___children
children___parent___children___id
children___parent___id
children___parent___internal___content
children___parent___internal___contentDigest
children___parent___internal___description
children___parent___internal___fieldOwners
children___parent___internal___ignoreType
children___parent___internal___mediaType
children___parent___internal___owner
children___parent___internal___type
children___parent___parent___children
children___parent___parent___id
events
events___all_day
events___alternative_id
events___author
events___categories
events___categories___alternative_id
events___categories___alternative_parent
events___categories___count
events___categories___description
events___categories___filter
events___categories___name
events___categories___slug
events___categories___taxonomy
events___categories___term_group
events___categories___term_taxonomy_id
events___categories___urls___collection
events___categories___urls___self
events___categories___urls___up
events___cost
events___cost_details___currency_code
events___cost_details___currency_position
events___cost_details___currency_symbol
events___date
events___date_utc
events___description
events___end_date
events___end_date_details___day
events___end_date_details___hour
events___end_date_details___minutes
events___end_date_details___month
events___end_date_details___seconds
events___end_date_details___year
events___excerpt
events___featured
events___global_id
events___global_id_lineage
events___hide_from_listings
events___image
events___modified
events___modified_utc
events___rest_url
events___show_map
events___show_map_link
events___slug
events___start_date
events___start_date_details___day
events___start_date_details___hour
events___start_date_details___minutes
events___start_date_details___month
events___start_date_details___seconds
events___start_date_details___year
events___status
events___sticky
events___timezone
events___timezone_abbr
events___title
events___url
events___utc_end_date
events___utc_end_date_details___day
events___utc_end_date_details___hour
events___utc_end_date_details___minutes
events___utc_end_date_details___month
events___utc_end_date_details___seconds
events___utc_end_date_details___year
events___utc_start_date
events___utc_start_date_details___day
events___utc_start_date_details___hour
events___utc_start_date_details___minutes
events___utc_start_date_details___month
events___utc_start_date_details___seconds
events___utc_start_date_details___year
events___venue___alternative_id
events___venue___author
events___venue___country
events___venue___date
events___venue___date_utc
events___venue___global_id
events___venue___global_id_lineage
events___venue___modified
events___venue___modified_utc
events___venue___show_map
events___venue___show_map_link
events___venue___slug
events___venue___status
events___venue___url
events___venue___venue
events___website
id
internal___content
internal___contentDigest
internal___description
internal___fieldOwners
internal___ignoreType
internal___mediaType
internal___owner
internal___type
next_rest_url
parent___children
parent___children___children
parent___children___children___children
parent___children___children___id
parent___children___id
parent___children___internal___content
parent___children___internal___contentDigest
parent___children___internal___description
parent___children___internal___fieldOwners
parent___children___internal___ignoreType
parent___children___internal___mediaType
parent___children___internal___owner
parent___children___internal___type
parent___children___parent___children
parent___children___parent___id
parent___id
parent___internal___content
parent___internal___contentDigest
parent___internal___description
parent___internal___fieldOwners
parent___internal___ignoreType
parent___internal___mediaType
parent___internal___owner
parent___internal___type
parent___parent___children
parent___parent___children___children
parent___parent___children___id
parent___parent___id
parent___parent___internal___content
parent___parent___internal___contentDigest
parent___parent___internal___description
parent___parent___internal___fieldOwners
parent___parent___internal___ignoreType
parent___parent___internal___mediaType
parent___parent___internal___owner
parent___parent___internal___type
parent___parent___parent___children
parent___parent___parent___id
previous_rest_url
rest_url
total
total_pages
}
input internal__eventsFilterInput {
children: NodeFilterListInput
events: internal__eventsEventsFilterListInput
id: StringQueryOperatorInput
internal: InternalFilterInput
next_rest_url: StringQueryOperatorInput
parent: NodeFilterInput
previous_rest_url: StringQueryOperatorInput
rest_url: StringQueryOperatorInput
total: IntQueryOperatorInput
total_pages: IntQueryOperatorInput
}
type internal__eventsGroupConnection {
distinct(field: internal__eventsFieldsEnum!): [String!]!
edges: [internal__eventsEdge!]!
field: String!
fieldValue: String
group(field: internal__eventsFieldsEnum!, limit: Int, skip: Int): [internal__eventsGroupConnection!]!
max(field: internal__eventsFieldsEnum!): Float
min(field: internal__eventsFieldsEnum!): Float
nodes: [internal__events!]!
pageInfo: PageInfo!
sum(field: internal__eventsFieldsEnum!): Float
totalCount: Int!
}
input internal__eventsSortInput {
fields: [internal__eventsFieldsEnum]
order: [SortOrderEnum] = [ASC]
}
================================================
FILE: dev-test/githunt/comment-added.subscription.graphql
================================================
subscription onCommentAdded($repoFullName: String!) {
commentAdded(repoFullName: $repoFullName) {
id
postedBy {
login
html_url
}
createdAt
content
}
}
================================================
FILE: dev-test/githunt/comment.query.graphql
================================================
# import './comments-page-comment.fragment.graphql'
query Comment($repoFullName: String!, $limit: Int, $offset: Int) {
# Eventually move this into a no fetch query right on the entry
# since we literally just need this info to determine whether to
# show upvote/downvote buttons
currentUser {
login
html_url
}
entry(repoFullName: $repoFullName) {
id
postedBy {
login
html_url
}
createdAt
comments(limit: $limit, offset: $offset) {
...CommentsPageComment
}
commentCount
repository {
full_name
html_url
... on Repository {
description
open_issues_count
stargazers_count
}
}
}
}
================================================
FILE: dev-test/githunt/comments-page-comment.fragment.graphql
================================================
fragment CommentsPageComment on Comment {
id
postedBy {
login
html_url
}
createdAt
content
}
================================================
FILE: dev-test/githunt/current-user.query.graphql
================================================
query CurrentUserForProfile {
currentUser {
login
avatar_url
}
}
================================================
FILE: dev-test/githunt/feed-entry.fragment.graphql
================================================
fragment FeedEntry on Entry {
id
commentCount
repository {
full_name
html_url
owner {
avatar_url
}
}
...VoteButtons
...RepoInfo
}
================================================
FILE: dev-test/githunt/feed.query.graphql
================================================
query Feed($type: FeedType!, $offset: Int, $limit: Int) {
currentUser {
login
}
feed(type: $type, offset: $offset, limit: $limit) {
...FeedEntry
}
}
================================================
FILE: dev-test/githunt/graphql-declared-modules.d.ts
================================================
declare module '*/current-user.query.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const CurrentUserForProfileFromOutsideDirectory: DocumentNode;
export const CurrentUserForProfile: DocumentNode;
export default defaultDocument;
}
declare module '*/comment-added.subscription.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const onCommentAdded: DocumentNode;
export default defaultDocument;
}
declare module '*/comment.query.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const Comment: DocumentNode;
export default defaultDocument;
}
declare module '*/comments-page-comment.fragment.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const CommentsPageComment: DocumentNode;
export default defaultDocument;
}
declare module '*/feed-entry.fragment.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const FeedEntry: DocumentNode;
export default defaultDocument;
}
declare module '*/feed.query.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const Feed: DocumentNode;
export default defaultDocument;
}
declare module '*/new-entry.mutation.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const submitRepository: DocumentNode;
export default defaultDocument;
}
declare module '*/repo-info.fragment.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const RepoInfo: DocumentNode;
export default defaultDocument;
}
declare module '*/submit-comment.mutation.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const submitComment: DocumentNode;
export default defaultDocument;
}
declare module '*/vote-buttons.fragment.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const VoteButtons: DocumentNode;
export default defaultDocument;
}
declare module '*/vote.mutation.graphql' {
import { DocumentNode } from 'graphql';
const defaultDocument: DocumentNode;
export const vote: DocumentNode;
export default defaultDocument;
}
================================================
FILE: dev-test/githunt/new-entry.mutation.graphql
================================================
mutation submitRepository($repoFullName: String!) {
submitRepository(repoFullName: $repoFullName) {
createdAt
}
}
================================================
FILE: dev-test/githunt/repo-info.fragment.graphql
================================================
fragment RepoInfo on Entry {
createdAt
repository {
description
stargazers_count
open_issues_count
}
postedBy {
html_url
login
}
}
================================================
FILE: dev-test/githunt/schema.json
================================================
{
"__schema": {
"queryType": {
"name": "Query"
},
"mutationType": {
"name": "Mutation"
},
"subscriptionType": {
"name": "Subscription"
},
"types": [
{
"kind": "OBJECT",
"name": "Query",
"description": "",
"fields": [
{
"name": "feed",
"description": "A feed of repository submissions",
"args": [
{
"name": "type",
"description": "The sort order for the feed",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "FeedType",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "offset",
"description": "The number of items to skip, for pagination",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "limit",
"description": "The number of items to fetch starting from the offset, for pagination",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Entry",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "entry",
"description": "A single entry",
"args": [
{
"name": "repoFullName",
"description": "The full repository name from GitHub, e.g. \"apollostack/GitHunt-API\"",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Entry",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "currentUser",
"description": "Return the currently logged in user, or null if nobody is logged in",
"args": [],
"type": {
"kind": "OBJECT",
"name": "User",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "FeedType",
"description": "A list of options for the sort order of the feed",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "HOT",
"description": "Sort by a combination of freshness and score, using Reddit's algorithm",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "NEW",
"description": "Newest entries first",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "TOP",
"description": "Highest score entries first",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Int",
"description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Entry",
"description": "Information about a GitHub repository submitted to GitHunt",
"fields": [
{
"name": "repository",
"description": "Information about the repository from GitHub",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Repository",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "postedBy",
"description": "The GitHub user who submitted this entry",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "User",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "createdAt",
"description": "A timestamp of when the entry was submitted",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "score",
"description": "The score of this repository, upvotes - downvotes",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "hotScore",
"description": "The hot score of this repository",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "comments",
"description": "Comments posted about this repository",
"args": [
{
"name": "limit",
"description": "",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
},
{
"name": "offset",
"description": "",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Comment",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "commentCount",
"description": "The number of comments posted about this repository",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "The SQL ID of this entry",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "vote",
"description": "XXX to be changed",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "Vote",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Repository",
"description": "A repository object from the GitHub API. This uses the exact field names returned by the\nGitHub API for simplicity, even though the convention for GraphQL is usually to camel case.",
"fields": [
{
"name": "name",
"description": "Just the name of the repository, e.g. GitHunt-API",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "full_name",
"description": "The full name of the repository with the username, e.g. apollostack/GitHunt-API",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": "The description of the repository",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "html_url",
"description": "The link to the repository on GitHub",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "stargazers_count",
"description": "The number of people who have starred this repository on GitHub",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "open_issues_count",
"description": "The number of open issues on this repository on GitHub",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "owner",
"description": "The owner of this repository on GitHub, e.g. apollostack",
"args": [],
"type": {
"kind": "OBJECT",
"name": "User",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "String",
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "User",
"description": "A user object from the GitHub API. This uses the exact field names returned from the GitHub API.",
"fields": [
{
"name": "login",
"description": "The name of the user, e.g. apollostack",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "avatar_url",
"description": "The URL to a directly embeddable image for this user's avatar",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "html_url",
"description": "The URL of this user's GitHub page",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Float",
"description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Comment",
"description": "A comment about an entry, submitted by a user",
"fields": [
{
"name": "id",
"description": "The SQL ID of this entry",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "postedBy",
"description": "The GitHub user who posted the comment",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "User",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "createdAt",
"description": "A timestamp of when the comment was posted",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Float",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "content",
"description": "The text of the comment",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "repoName",
"description": "The repository which this comment is about",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Vote",
"description": "XXX to be removed",
"fields": [
{
"name": "vote_value",
"description": "",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Mutation",
"description": "",
"fields": [
{
"name": "submitRepository",
"description": "Submit a new repository, returns the new submission",
"args": [
{
"name": "repoFullName",
"description": "The full repository name from GitHub, e.g. \"apollostack/GitHunt-API\"",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Entry",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "vote",
"description": "Vote on a repository submission, returns the submission that was voted on",
"args": [
{
"name": "repoFullName",
"description": "The full repository name from GitHub, e.g. \"apollostack/GitHunt-API\"",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "type",
"description": "The type of vote - UP, DOWN, or CANCEL",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "VoteType",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Entry",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "submitComment",
"description": "Comment on a repository, returns the new comment",
"args": [
{
"name": "repoFullName",
"description": "The full repository name from GitHub, e.g. \"apollostack/GitHunt-API\"",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "commentContent",
"description": "The text content for the new comment",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Comment",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "VoteType",
"description": "The type of vote to record, when submitting a vote",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "UP",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "DOWN",
"description": "",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "CANCEL",
"description": "",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Subscription",
"description": "",
"fields": [
{
"name": "commentAdded",
"description": "Subscription fires on every comment added",
"args": [
{
"name": "repoFullName",
"description": "",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "Comment",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Schema",
"description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",
"fields": [
{
"name": "types",
"description": "A list of all types supported by this server.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "queryType",
"description": "The type that query operations will be rooted at.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mutationType",
"description": "If this server supports mutation, the type that mutation operations will be rooted at.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "subscriptionType",
"description": "If this server support subscription, the type that subscription operations will be rooted at.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "directives",
"description": "A list of all directives supported by this server.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Directive",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Type",
"description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",
"fields": [
{
"name": "kind",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "__TypeKind",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fields",
"description": null,
"args": [
{
"name": "includeDeprecated",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Field",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "interfaces",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "possibleTypes",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "enumValues",
"description": null,
"args": [
{
"name": "includeDeprecated",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": "false"
}
],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__EnumValue",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "inputFields",
"description": null,
"args": [],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ofType",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "__TypeKind",
"description": "An enum describing what kind of type a given `__Type` is.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "SCALAR",
"description": "Indicates this type is a scalar.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "OBJECT",
"description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INTERFACE",
"description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "UNION",
"description": "Indicates this type is a union. `possibleTypes` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM",
"description": "Indicates this type is an enum. `enumValues` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_OBJECT",
"description": "Indicates this type is an input object. `inputFields` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "LIST",
"description": "Indicates this type is a list. `ofType` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "NON_NULL",
"description": "Indicates this type is a non-null. `ofType` is a valid field.",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "Boolean",
"description": "The `Boolean` scalar type represents `true` or `false`.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Field",
"description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "args",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "type",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isDeprecated",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "deprecationReason",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__InputValue",
"description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "type",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__Type",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "defaultValue",
"description": "A GraphQL-formatted string representing the default value for this input value.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__EnumValue",
"description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isDeprecated",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "deprecationReason",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "__Directive",
"description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",
"fields": [
{
"name": "name",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "locations",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "__DirectiveLocation",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "args",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "__InputValue",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "onOperation",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": true,
"deprecationReason": "Use `locations`."
},
{
"name": "onFragment",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": true,
"deprecationReason": "Use `locations`."
},
{
"name": "onField",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": true,
"deprecationReason": "Use `locations`."
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "__DirectiveLocation",
"description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "QUERY",
"description": "Location adjacent to a query operation.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "MUTATION",
"description": "Location adjacent to a mutation operation.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "SUBSCRIPTION",
"description": "Location adjacent to a subscription operation.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FIELD",
"description": "Location adjacent to a field.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FRAGMENT_DEFINITION",
"description": "Location adjacent to a fragment definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FRAGMENT_SPREAD",
"description": "Location adjacent to a fragment spread.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INLINE_FRAGMENT",
"description": "Location adjacent to an inline fragment.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "SCHEMA",
"description": "Location adjacent to a schema definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "SCALAR",
"description": "Location adjacent to a scalar definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "OBJECT",
"description": "Location adjacent to an object type definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FIELD_DEFINITION",
"description": "Location adjacent to a field definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ARGUMENT_DEFINITION",
"description": "Location adjacent to an argument definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INTERFACE",
"description": "Location adjacent to an interface definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "UNION",
"description": "Location adjacent to a union definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM",
"description": "Location adjacent to an enum definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "ENUM_VALUE",
"description": "Location adjacent to an enum value definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_OBJECT",
"description": "Location adjacent to an input object type definition.",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "INPUT_FIELD_DEFINITION",
"description": "Location adjacent to an input object field definition.",
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
}
],
"directives": [
{
"name": "skip",
"description": "Directs the executor to skip this field or fragment when the `if` argument is true.",
"locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"],
"args": [
{
"name": "if",
"description": "Skipped when true.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"defaultValue": null
}
]
},
{
"name": "include",
"description": "Directs the executor to include this field or fragment only when the `if` argument is true.",
"locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"],
"args": [
{
"name": "if",
"description": "Included when true.",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"defaultValue": null
}
]
},
{
"name": "deprecated",
"description": "Marks an element of a GraphQL schema as no longer supported.",
"locations": ["FIELD_DEFINITION", "ENUM_VALUE"],
"args": [
{
"name": "reason",
"description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": "\"No longer supported\""
}
]
}
]
}
}
================================================
FILE: dev-test/githunt/submit-comment.mutation.graphql
================================================
mutation submitComment($repoFullName: String!, $commentContent: String!) {
submitComment(repoFullName: $repoFullName, commentContent: $commentContent) {
...CommentsPageComment
}
}
================================================
FILE: dev-test/githunt/typed-document-nodes.ts
================================================
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe };
export type MakeEmpty = { [_ in K]?: never };
export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string };
String: { input: string; output: string };
Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number };
Float: { input: number; output: number };
};
/** A comment about an entry, submitted by a user */
export type Comment = {
__typename?: 'Comment';
/** The text of the comment */
content: Scalars['String']['output'];
/** A timestamp of when the comment was posted */
createdAt: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who posted the comment */
postedBy: User;
/** The repository which this comment is about */
repoName: Scalars['String']['output'];
};
/** Information about a GitHub repository submitted to GitHunt */
export type Entry = {
__typename?: 'Entry';
/** The number of comments posted about this repository */
commentCount: Scalars['Int']['output'];
/** Comments posted about this repository */
comments: Array>;
/** A timestamp of when the entry was submitted */
createdAt: Scalars['Float']['output'];
/** The hot score of this repository */
hotScore: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who submitted this entry */
postedBy: User;
/** Information about the repository from GitHub */
repository: Repository;
/** The score of this repository, upvotes - downvotes */
score: Scalars['Int']['output'];
/** XXX to be changed */
vote: Vote;
};
/** Information about a GitHub repository submitted to GitHunt */
export type EntryCommentsArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
};
/** A list of options for the sort order of the feed */
export enum FeedType {
/** Sort by a combination of freshness and score, using Reddit's algorithm */
Hot = 'HOT',
/** Newest entries first */
New = 'NEW',
/** Highest score entries first */
Top = 'TOP',
}
export type Mutation = {
__typename?: 'Mutation';
/** Comment on a repository, returns the new comment */
submitComment?: Maybe;
/** Submit a new repository, returns the new submission */
submitRepository?: Maybe;
/** Vote on a repository submission, returns the submission that was voted on */
vote?: Maybe;
};
export type MutationSubmitCommentArgs = {
commentContent: Scalars['String']['input'];
repoFullName: Scalars['String']['input'];
};
export type MutationSubmitRepositoryArgs = {
repoFullName: Scalars['String']['input'];
};
export type MutationVoteArgs = {
repoFullName: Scalars['String']['input'];
type: VoteType;
};
export type Query = {
__typename?: 'Query';
/** Return the currently logged in user, or null if nobody is logged in */
currentUser?: Maybe;
/** A single entry */
entry?: Maybe;
/** A feed of repository submissions */
feed?: Maybe>>;
};
export type QueryEntryArgs = {
repoFullName: Scalars['String']['input'];
};
export type QueryFeedArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
type: FeedType;
};
/**
* A repository object from the GitHub API. This uses the exact field names returned by the
* GitHub API for simplicity, even though the convention for GraphQL is usually to camel case.
*/
export type Repository = {
__typename?: 'Repository';
/** The description of the repository */
description?: Maybe;
/** The full name of the repository with the username, e.g. apollostack/GitHunt-API */
full_name: Scalars['String']['output'];
/** The link to the repository on GitHub */
html_url: Scalars['String']['output'];
/** Just the name of the repository, e.g. GitHunt-API */
name: Scalars['String']['output'];
/** The number of open issues on this repository on GitHub */
open_issues_count?: Maybe;
/** The owner of this repository on GitHub, e.g. apollostack */
owner?: Maybe;
/** The number of people who have starred this repository on GitHub */
stargazers_count: Scalars['Int']['output'];
};
export type Subscription = {
__typename?: 'Subscription';
/** Subscription fires on every comment added */
commentAdded?: Maybe;
};
export type SubscriptionCommentAddedArgs = {
repoFullName: Scalars['String']['input'];
};
/** A user object from the GitHub API. This uses the exact field names returned from the GitHub API. */
export type User = {
__typename?: 'User';
/** The URL to a directly embeddable image for this user's avatar */
avatar_url: Scalars['String']['output'];
/** The URL of this user's GitHub page */
html_url: Scalars['String']['output'];
/** The name of the user, e.g. apollostack */
login: Scalars['String']['output'];
};
/** XXX to be removed */
export type Vote = {
__typename?: 'Vote';
vote_value: Scalars['Int']['output'];
};
/** The type of vote to record, when submitting a vote */
export enum VoteType {
Cancel = 'CANCEL',
Down = 'DOWN',
Up = 'UP',
}
export type OnCommentAddedSubscriptionVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type OnCommentAddedSubscription = {
__typename?: 'Subscription';
commentAdded?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type CommentQueryVariables = Exact<{
repoFullName: Scalars['String']['input'];
limit?: InputMaybe;
offset?: InputMaybe;
}>;
export type CommentQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; html_url: string } | null;
entry?: {
__typename?: 'Entry';
id: number;
createdAt: number;
commentCount: number;
postedBy: { __typename?: 'User'; login: string; html_url: string };
comments: Array<{
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null>;
repository: {
__typename?: 'Repository';
description?: string | null;
open_issues_count?: number | null;
stargazers_count: number;
full_name: string;
html_url: string;
};
} | null;
};
export type CommentsPageCommentFragment = {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
};
export type CurrentUserForProfileQueryVariables = Exact<{ [key: string]: never }>;
export type CurrentUserForProfileQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; avatar_url: string } | null;
};
export type FeedEntryFragment = {
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type FeedQueryVariables = Exact<{
type: FeedType;
offset?: InputMaybe;
limit?: InputMaybe;
}>;
export type FeedQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string } | null;
feed?: Array<{
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
} | null> | null;
};
export type SubmitRepositoryMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type SubmitRepositoryMutation = {
__typename?: 'Mutation';
submitRepository?: { __typename?: 'Entry'; createdAt: number } | null;
};
export type RepoInfoFragment = {
__typename?: 'Entry';
createdAt: number;
repository: {
__typename?: 'Repository';
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
};
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type SubmitCommentMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
commentContent: Scalars['String']['input'];
}>;
export type SubmitCommentMutation = {
__typename?: 'Mutation';
submitComment?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type VoteButtonsFragment = {
__typename?: 'Entry';
score: number;
vote: { __typename?: 'Vote'; vote_value: number };
};
export type VoteMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
type: VoteType;
}>;
export type VoteMutation = {
__typename?: 'Mutation';
vote?: { __typename?: 'Entry'; score: number; id: number; vote: { __typename?: 'Vote'; vote_value: number } } | null;
};
export const CommentsPageCommentFragmentDoc = {
kind: 'Document',
definitions: [
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'CommentsPageComment' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Comment' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'postedBy' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
],
},
},
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
{ kind: 'Field', name: { kind: 'Name', value: 'content' } },
],
},
},
],
} as unknown as DocumentNode;
export const VoteButtonsFragmentDoc = {
kind: 'Document',
definitions: [
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'VoteButtons' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Entry' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'score' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'vote' },
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'vote_value' } }],
},
},
],
},
},
],
} as unknown as DocumentNode;
export const RepoInfoFragmentDoc = {
kind: 'Document',
definitions: [
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'RepoInfo' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Entry' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'repository' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
{ kind: 'Field', name: { kind: 'Name', value: 'stargazers_count' } },
{ kind: 'Field', name: { kind: 'Name', value: 'open_issues_count' } },
],
},
},
{
kind: 'Field',
name: { kind: 'Name', value: 'postedBy' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
],
},
},
],
},
},
],
} as unknown as DocumentNode;
export const FeedEntryFragmentDoc = {
kind: 'Document',
definitions: [
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'FeedEntry' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Entry' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
{ kind: 'Field', name: { kind: 'Name', value: 'commentCount' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'repository' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'full_name' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'owner' },
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'avatar_url' } }],
},
},
],
},
},
{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'VoteButtons' } },
{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'RepoInfo' } },
],
},
},
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'VoteButtons' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Entry' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'score' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'vote' },
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'vote_value' } }],
},
},
],
},
},
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'RepoInfo' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Entry' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'repository' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
{ kind: 'Field', name: { kind: 'Name', value: 'stargazers_count' } },
{ kind: 'Field', name: { kind: 'Name', value: 'open_issues_count' } },
],
},
},
{
kind: 'Field',
name: { kind: 'Name', value: 'postedBy' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
],
},
},
],
},
},
],
} as unknown as DocumentNode;
export const OnCommentAddedDocument = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'subscription',
name: { kind: 'Name', value: 'onCommentAdded' },
variableDefinitions: [
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
name: { kind: 'Name', value: 'commentAdded' },
arguments: [
{
kind: 'Argument',
name: { kind: 'Name', value: 'repoFullName' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'postedBy' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
],
},
},
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
{ kind: 'Field', name: { kind: 'Name', value: 'content' } },
],
},
},
],
},
},
],
} as unknown as DocumentNode;
export const CommentDocument = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'query',
name: { kind: 'Name', value: 'Comment' },
variableDefinitions: [
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } },
},
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
},
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
name: { kind: 'Name', value: 'currentUser' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
],
},
},
{
kind: 'Field',
name: { kind: 'Name', value: 'entry' },
arguments: [
{
kind: 'Argument',
name: { kind: 'Name', value: 'repoFullName' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'postedBy' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
],
},
},
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'comments' },
arguments: [
{
kind: 'Argument',
name: { kind: 'Name', value: 'limit' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
},
{
kind: 'Argument',
name: { kind: 'Name', value: 'offset' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommentsPageComment' } }],
},
},
{ kind: 'Field', name: { kind: 'Name', value: 'commentCount' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'repository' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'full_name' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
{
kind: 'InlineFragment',
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Repository' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
{ kind: 'Field', name: { kind: 'Name', value: 'open_issues_count' } },
{ kind: 'Field', name: { kind: 'Name', value: 'stargazers_count' } },
],
},
},
],
},
},
],
},
},
],
},
},
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'CommentsPageComment' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Comment' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'postedBy' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
],
},
},
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
{ kind: 'Field', name: { kind: 'Name', value: 'content' } },
],
},
},
],
} as unknown as DocumentNode;
export const CurrentUserForProfileDocument = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'query',
name: { kind: 'Name', value: 'CurrentUserForProfile' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
name: { kind: 'Name', value: 'currentUser' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
{ kind: 'Field', name: { kind: 'Name', value: 'avatar_url' } },
],
},
},
],
},
},
],
} as unknown as DocumentNode;
export const FeedDocument = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'query',
name: { kind: 'Name', value: 'Feed' },
variableDefinitions: [
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'type' } },
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'FeedType' } } },
},
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
},
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
name: { kind: 'Name', value: 'currentUser' },
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'login' } }],
},
},
{
kind: 'Field',
name: { kind: 'Name', value: 'feed' },
arguments: [
{
kind: 'Argument',
name: { kind: 'Name', value: 'type' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'type' } },
},
{
kind: 'Argument',
name: { kind: 'Name', value: 'offset' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
},
{
kind: 'Argument',
name: { kind: 'Name', value: 'limit' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'FeedEntry' } }],
},
},
],
},
},
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'VoteButtons' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Entry' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'score' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'vote' },
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'vote_value' } }],
},
},
],
},
},
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'RepoInfo' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Entry' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'repository' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
{ kind: 'Field', name: { kind: 'Name', value: 'stargazers_count' } },
{ kind: 'Field', name: { kind: 'Name', value: 'open_issues_count' } },
],
},
},
{
kind: 'Field',
name: { kind: 'Name', value: 'postedBy' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
],
},
},
],
},
},
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'FeedEntry' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Entry' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
{ kind: 'Field', name: { kind: 'Name', value: 'commentCount' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'repository' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'full_name' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'owner' },
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'avatar_url' } }],
},
},
],
},
},
{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'VoteButtons' } },
{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'RepoInfo' } },
],
},
},
],
} as unknown as DocumentNode;
export const SubmitRepositoryDocument = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'mutation',
name: { kind: 'Name', value: 'submitRepository' },
variableDefinitions: [
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
name: { kind: 'Name', value: 'submitRepository' },
arguments: [
{
kind: 'Argument',
name: { kind: 'Name', value: 'repoFullName' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }],
},
},
],
},
},
],
} as unknown as DocumentNode;
export const SubmitCommentDocument = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'mutation',
name: { kind: 'Name', value: 'submitComment' },
variableDefinitions: [
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } },
},
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'commentContent' } },
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
name: { kind: 'Name', value: 'submitComment' },
arguments: [
{
kind: 'Argument',
name: { kind: 'Name', value: 'repoFullName' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
},
{
kind: 'Argument',
name: { kind: 'Name', value: 'commentContent' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'commentContent' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CommentsPageComment' } }],
},
},
],
},
},
{
kind: 'FragmentDefinition',
name: { kind: 'Name', value: 'CommentsPageComment' },
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Comment' } },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'postedBy' },
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'login' } },
{ kind: 'Field', name: { kind: 'Name', value: 'html_url' } },
],
},
},
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
{ kind: 'Field', name: { kind: 'Name', value: 'content' } },
],
},
},
],
} as unknown as DocumentNode;
export const VoteDocument = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'mutation',
name: { kind: 'Name', value: 'vote' },
variableDefinitions: [
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } },
},
{
kind: 'VariableDefinition',
variable: { kind: 'Variable', name: { kind: 'Name', value: 'type' } },
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'VoteType' } } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
name: { kind: 'Name', value: 'vote' },
arguments: [
{
kind: 'Argument',
name: { kind: 'Name', value: 'repoFullName' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'repoFullName' } },
},
{
kind: 'Argument',
name: { kind: 'Name', value: 'type' },
value: { kind: 'Variable', name: { kind: 'Name', value: 'type' } },
},
],
selectionSet: {
kind: 'SelectionSet',
selections: [
{ kind: 'Field', name: { kind: 'Name', value: 'score' } },
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'vote' },
selectionSet: {
kind: 'SelectionSet',
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'vote_value' } }],
},
},
],
},
},
],
},
},
],
} as unknown as DocumentNode;
================================================
FILE: dev-test/githunt/types.avoidOptionals.ts
================================================
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe };
export type MakeEmpty = { [_ in K]?: never };
export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string };
String: { input: string; output: string };
Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number };
Float: { input: number; output: number };
};
/** A comment about an entry, submitted by a user */
export type Comment = {
__typename?: 'Comment';
/** The text of the comment */
content: Scalars['String']['output'];
/** A timestamp of when the comment was posted */
createdAt: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who posted the comment */
postedBy: User;
/** The repository which this comment is about */
repoName: Scalars['String']['output'];
};
/** Information about a GitHub repository submitted to GitHunt */
export type Entry = {
__typename?: 'Entry';
/** The number of comments posted about this repository */
commentCount: Scalars['Int']['output'];
/** Comments posted about this repository */
comments: Array>;
/** A timestamp of when the entry was submitted */
createdAt: Scalars['Float']['output'];
/** The hot score of this repository */
hotScore: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who submitted this entry */
postedBy: User;
/** Information about the repository from GitHub */
repository: Repository;
/** The score of this repository, upvotes - downvotes */
score: Scalars['Int']['output'];
/** XXX to be changed */
vote: Vote;
};
/** Information about a GitHub repository submitted to GitHunt */
export type EntryCommentsArgs = {
limit: InputMaybe;
offset: InputMaybe;
};
/** A list of options for the sort order of the feed */
export enum FeedType {
/** Sort by a combination of freshness and score, using Reddit's algorithm */
Hot = 'HOT',
/** Newest entries first */
New = 'NEW',
/** Highest score entries first */
Top = 'TOP',
}
export type Mutation = {
__typename?: 'Mutation';
/** Comment on a repository, returns the new comment */
submitComment: Maybe;
/** Submit a new repository, returns the new submission */
submitRepository: Maybe;
/** Vote on a repository submission, returns the submission that was voted on */
vote: Maybe;
};
export type MutationSubmitCommentArgs = {
commentContent: Scalars['String']['input'];
repoFullName: Scalars['String']['input'];
};
export type MutationSubmitRepositoryArgs = {
repoFullName: Scalars['String']['input'];
};
export type MutationVoteArgs = {
repoFullName: Scalars['String']['input'];
type: VoteType;
};
export type Query = {
__typename?: 'Query';
/** Return the currently logged in user, or null if nobody is logged in */
currentUser: Maybe;
/** A single entry */
entry: Maybe;
/** A feed of repository submissions */
feed: Maybe>>;
};
export type QueryEntryArgs = {
repoFullName: Scalars['String']['input'];
};
export type QueryFeedArgs = {
limit: InputMaybe;
offset: InputMaybe;
type: FeedType;
};
/**
* A repository object from the GitHub API. This uses the exact field names returned by the
* GitHub API for simplicity, even though the convention for GraphQL is usually to camel case.
*/
export type Repository = {
__typename?: 'Repository';
/** The description of the repository */
description: Maybe;
/** The full name of the repository with the username, e.g. apollostack/GitHunt-API */
full_name: Scalars['String']['output'];
/** The link to the repository on GitHub */
html_url: Scalars['String']['output'];
/** Just the name of the repository, e.g. GitHunt-API */
name: Scalars['String']['output'];
/** The number of open issues on this repository on GitHub */
open_issues_count: Maybe;
/** The owner of this repository on GitHub, e.g. apollostack */
owner: Maybe;
/** The number of people who have starred this repository on GitHub */
stargazers_count: Scalars['Int']['output'];
};
export type Subscription = {
__typename?: 'Subscription';
/** Subscription fires on every comment added */
commentAdded: Maybe;
};
export type SubscriptionCommentAddedArgs = {
repoFullName: Scalars['String']['input'];
};
/** A user object from the GitHub API. This uses the exact field names returned from the GitHub API. */
export type User = {
__typename?: 'User';
/** The URL to a directly embeddable image for this user's avatar */
avatar_url: Scalars['String']['output'];
/** The URL of this user's GitHub page */
html_url: Scalars['String']['output'];
/** The name of the user, e.g. apollostack */
login: Scalars['String']['output'];
};
/** XXX to be removed */
export type Vote = {
__typename?: 'Vote';
vote_value: Scalars['Int']['output'];
};
/** The type of vote to record, when submitting a vote */
export enum VoteType {
Cancel = 'CANCEL',
Down = 'DOWN',
Up = 'UP',
}
export type OnCommentAddedSubscriptionVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type OnCommentAddedSubscription = {
__typename?: 'Subscription';
commentAdded: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type CommentQueryVariables = Exact<{
repoFullName: Scalars['String']['input'];
limit: InputMaybe;
offset: InputMaybe;
}>;
export type CommentQuery = {
__typename?: 'Query';
currentUser: { __typename?: 'User'; login: string; html_url: string } | null;
entry: {
__typename?: 'Entry';
id: number;
createdAt: number;
commentCount: number;
postedBy: { __typename?: 'User'; login: string; html_url: string };
comments: Array<{
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null>;
repository: {
__typename?: 'Repository';
description: string | null;
open_issues_count: number | null;
stargazers_count: number;
full_name: string;
html_url: string;
};
} | null;
};
export type CommentsPageCommentFragment = {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
};
export type CurrentUserForProfileQueryVariables = Exact<{ [key: string]: never }>;
export type CurrentUserForProfileQuery = {
__typename?: 'Query';
currentUser: { __typename?: 'User'; login: string; avatar_url: string } | null;
};
export type FeedEntryFragment = {
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description: string | null;
stargazers_count: number;
open_issues_count: number | null;
owner: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type FeedQueryVariables = Exact<{
type: FeedType;
offset: InputMaybe;
limit: InputMaybe;
}>;
export type FeedQuery = {
__typename?: 'Query';
currentUser: { __typename?: 'User'; login: string } | null;
feed: Array<{
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description: string | null;
stargazers_count: number;
open_issues_count: number | null;
owner: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
} | null> | null;
};
export type SubmitRepositoryMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type SubmitRepositoryMutation = {
__typename?: 'Mutation';
submitRepository: { __typename?: 'Entry'; createdAt: number } | null;
};
export type RepoInfoFragment = {
__typename?: 'Entry';
createdAt: number;
repository: {
__typename?: 'Repository';
description: string | null;
stargazers_count: number;
open_issues_count: number | null;
};
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type SubmitCommentMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
commentContent: Scalars['String']['input'];
}>;
export type SubmitCommentMutation = {
__typename?: 'Mutation';
submitComment: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type VoteButtonsFragment = {
__typename?: 'Entry';
score: number;
vote: { __typename?: 'Vote'; vote_value: number };
};
export type VoteMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
type: VoteType;
}>;
export type VoteMutation = {
__typename?: 'Mutation';
vote: { __typename?: 'Entry'; score: number; id: number; vote: { __typename?: 'Vote'; vote_value: number } } | null;
};
================================================
FILE: dev-test/githunt/types.d.ts
================================================
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe };
export type MakeEmpty = { [_ in K]?: never };
export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string };
String: { input: string; output: string };
Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number };
Float: { input: number; output: number };
};
/** A comment about an entry, submitted by a user */
export type Comment = {
__typename?: 'Comment';
/** The text of the comment */
content: Scalars['String']['output'];
/** A timestamp of when the comment was posted */
createdAt: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who posted the comment */
postedBy: User;
/** The repository which this comment is about */
repoName: Scalars['String']['output'];
};
/** Information about a GitHub repository submitted to GitHunt */
export type Entry = {
__typename?: 'Entry';
/** The number of comments posted about this repository */
commentCount: Scalars['Int']['output'];
/** Comments posted about this repository */
comments: Array>;
/** A timestamp of when the entry was submitted */
createdAt: Scalars['Float']['output'];
/** The hot score of this repository */
hotScore: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who submitted this entry */
postedBy: User;
/** Information about the repository from GitHub */
repository: Repository;
/** The score of this repository, upvotes - downvotes */
score: Scalars['Int']['output'];
/** XXX to be changed */
vote: Vote;
};
/** Information about a GitHub repository submitted to GitHunt */
export type EntryCommentsArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
};
/** A list of options for the sort order of the feed */
export type FeedType =
/** Sort by a combination of freshness and score, using Reddit's algorithm */
| 'HOT'
/** Newest entries first */
| 'NEW'
/** Highest score entries first */
| 'TOP';
export type Mutation = {
__typename?: 'Mutation';
/** Comment on a repository, returns the new comment */
submitComment?: Maybe;
/** Submit a new repository, returns the new submission */
submitRepository?: Maybe;
/** Vote on a repository submission, returns the submission that was voted on */
vote?: Maybe;
};
export type MutationSubmitCommentArgs = {
commentContent: Scalars['String']['input'];
repoFullName: Scalars['String']['input'];
};
export type MutationSubmitRepositoryArgs = {
repoFullName: Scalars['String']['input'];
};
export type MutationVoteArgs = {
repoFullName: Scalars['String']['input'];
type: VoteType;
};
export type Query = {
__typename?: 'Query';
/** Return the currently logged in user, or null if nobody is logged in */
currentUser?: Maybe;
/** A single entry */
entry?: Maybe;
/** A feed of repository submissions */
feed?: Maybe>>;
};
export type QueryEntryArgs = {
repoFullName: Scalars['String']['input'];
};
export type QueryFeedArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
type: FeedType;
};
/**
* A repository object from the GitHub API. This uses the exact field names returned by the
* GitHub API for simplicity, even though the convention for GraphQL is usually to camel case.
*/
export type Repository = {
__typename?: 'Repository';
/** The description of the repository */
description?: Maybe;
/** The full name of the repository with the username, e.g. apollostack/GitHunt-API */
full_name: Scalars['String']['output'];
/** The link to the repository on GitHub */
html_url: Scalars['String']['output'];
/** Just the name of the repository, e.g. GitHunt-API */
name: Scalars['String']['output'];
/** The number of open issues on this repository on GitHub */
open_issues_count?: Maybe;
/** The owner of this repository on GitHub, e.g. apollostack */
owner?: Maybe;
/** The number of people who have starred this repository on GitHub */
stargazers_count: Scalars['Int']['output'];
};
export type Subscription = {
__typename?: 'Subscription';
/** Subscription fires on every comment added */
commentAdded?: Maybe;
};
export type SubscriptionCommentAddedArgs = {
repoFullName: Scalars['String']['input'];
};
/** A user object from the GitHub API. This uses the exact field names returned from the GitHub API. */
export type User = {
__typename?: 'User';
/** The URL to a directly embeddable image for this user's avatar */
avatar_url: Scalars['String']['output'];
/** The URL of this user's GitHub page */
html_url: Scalars['String']['output'];
/** The name of the user, e.g. apollostack */
login: Scalars['String']['output'];
};
/** XXX to be removed */
export type Vote = {
__typename?: 'Vote';
vote_value: Scalars['Int']['output'];
};
/** The type of vote to record, when submitting a vote */
export type VoteType = 'CANCEL' | 'DOWN' | 'UP';
export type OnCommentAddedSubscriptionVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type OnCommentAddedSubscription = {
__typename?: 'Subscription';
commentAdded?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type CommentQueryVariables = Exact<{
repoFullName: Scalars['String']['input'];
limit?: InputMaybe;
offset?: InputMaybe;
}>;
export type CommentQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; html_url: string } | null;
entry?: {
__typename?: 'Entry';
id: number;
createdAt: number;
commentCount: number;
postedBy: { __typename?: 'User'; login: string; html_url: string };
comments: Array<{
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null>;
repository: {
__typename?: 'Repository';
description?: string | null;
open_issues_count?: number | null;
stargazers_count: number;
full_name: string;
html_url: string;
};
} | null;
};
export type CommentsPageCommentFragment = {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
};
export type CurrentUserForProfileQueryVariables = Exact<{ [key: string]: never }>;
export type CurrentUserForProfileQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; avatar_url: string } | null;
};
export type FeedEntryFragment = {
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type FeedQueryVariables = Exact<{
type: FeedType;
offset?: InputMaybe;
limit?: InputMaybe;
}>;
export type FeedQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string } | null;
feed?: Array<{
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
} | null> | null;
};
export type SubmitRepositoryMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type SubmitRepositoryMutation = {
__typename?: 'Mutation';
submitRepository?: { __typename?: 'Entry'; createdAt: number } | null;
};
export type RepoInfoFragment = {
__typename?: 'Entry';
createdAt: number;
repository: {
__typename?: 'Repository';
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
};
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type SubmitCommentMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
commentContent: Scalars['String']['input'];
}>;
export type SubmitCommentMutation = {
__typename?: 'Mutation';
submitComment?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type VoteButtonsFragment = {
__typename?: 'Entry';
score: number;
vote: { __typename?: 'Vote'; vote_value: number };
};
export type VoteMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
type: VoteType;
}>;
export type VoteMutation = {
__typename?: 'Mutation';
vote?: { __typename?: 'Entry'; score: number; id: number; vote: { __typename?: 'Vote'; vote_value: number } } | null;
};
================================================
FILE: dev-test/githunt/types.enumsAsTypes.ts
================================================
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe };
export type MakeEmpty = { [_ in K]?: never };
export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string };
String: { input: string; output: string };
Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number };
Float: { input: number; output: number };
};
/** A comment about an entry, submitted by a user */
export type Comment = {
__typename?: 'Comment';
/** The text of the comment */
content: Scalars['String']['output'];
/** A timestamp of when the comment was posted */
createdAt: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who posted the comment */
postedBy: User;
/** The repository which this comment is about */
repoName: Scalars['String']['output'];
};
/** Information about a GitHub repository submitted to GitHunt */
export type Entry = {
__typename?: 'Entry';
/** The number of comments posted about this repository */
commentCount: Scalars['Int']['output'];
/** Comments posted about this repository */
comments: Array>;
/** A timestamp of when the entry was submitted */
createdAt: Scalars['Float']['output'];
/** The hot score of this repository */
hotScore: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who submitted this entry */
postedBy: User;
/** Information about the repository from GitHub */
repository: Repository;
/** The score of this repository, upvotes - downvotes */
score: Scalars['Int']['output'];
/** XXX to be changed */
vote: Vote;
};
/** Information about a GitHub repository submitted to GitHunt */
export type EntryCommentsArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
};
/** A list of options for the sort order of the feed */
export type FeedType =
/** Sort by a combination of freshness and score, using Reddit's algorithm */
| 'HOT'
/** Newest entries first */
| 'NEW'
/** Highest score entries first */
| 'TOP';
export type Mutation = {
__typename?: 'Mutation';
/** Comment on a repository, returns the new comment */
submitComment?: Maybe;
/** Submit a new repository, returns the new submission */
submitRepository?: Maybe;
/** Vote on a repository submission, returns the submission that was voted on */
vote?: Maybe;
};
export type MutationSubmitCommentArgs = {
commentContent: Scalars['String']['input'];
repoFullName: Scalars['String']['input'];
};
export type MutationSubmitRepositoryArgs = {
repoFullName: Scalars['String']['input'];
};
export type MutationVoteArgs = {
repoFullName: Scalars['String']['input'];
type: VoteType;
};
export type Query = {
__typename?: 'Query';
/** Return the currently logged in user, or null if nobody is logged in */
currentUser?: Maybe;
/** A single entry */
entry?: Maybe;
/** A feed of repository submissions */
feed?: Maybe>>;
};
export type QueryEntryArgs = {
repoFullName: Scalars['String']['input'];
};
export type QueryFeedArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
type: FeedType;
};
/**
* A repository object from the GitHub API. This uses the exact field names returned by the
* GitHub API for simplicity, even though the convention for GraphQL is usually to camel case.
*/
export type Repository = {
__typename?: 'Repository';
/** The description of the repository */
description?: Maybe;
/** The full name of the repository with the username, e.g. apollostack/GitHunt-API */
full_name: Scalars['String']['output'];
/** The link to the repository on GitHub */
html_url: Scalars['String']['output'];
/** Just the name of the repository, e.g. GitHunt-API */
name: Scalars['String']['output'];
/** The number of open issues on this repository on GitHub */
open_issues_count?: Maybe;
/** The owner of this repository on GitHub, e.g. apollostack */
owner?: Maybe;
/** The number of people who have starred this repository on GitHub */
stargazers_count: Scalars['Int']['output'];
};
export type Subscription = {
__typename?: 'Subscription';
/** Subscription fires on every comment added */
commentAdded?: Maybe;
};
export type SubscriptionCommentAddedArgs = {
repoFullName: Scalars['String']['input'];
};
/** A user object from the GitHub API. This uses the exact field names returned from the GitHub API. */
export type User = {
__typename?: 'User';
/** The URL to a directly embeddable image for this user's avatar */
avatar_url: Scalars['String']['output'];
/** The URL of this user's GitHub page */
html_url: Scalars['String']['output'];
/** The name of the user, e.g. apollostack */
login: Scalars['String']['output'];
};
/** XXX to be removed */
export type Vote = {
__typename?: 'Vote';
vote_value: Scalars['Int']['output'];
};
/** The type of vote to record, when submitting a vote */
export type VoteType = 'CANCEL' | 'DOWN' | 'UP';
export type OnCommentAddedSubscriptionVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type OnCommentAddedSubscription = {
__typename?: 'Subscription';
commentAdded?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type CommentQueryVariables = Exact<{
repoFullName: Scalars['String']['input'];
limit?: InputMaybe;
offset?: InputMaybe;
}>;
export type CommentQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; html_url: string } | null;
entry?: {
__typename?: 'Entry';
id: number;
createdAt: number;
commentCount: number;
postedBy: { __typename?: 'User'; login: string; html_url: string };
comments: Array<{
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null>;
repository: {
__typename?: 'Repository';
description?: string | null;
open_issues_count?: number | null;
stargazers_count: number;
full_name: string;
html_url: string;
};
} | null;
};
export type CommentsPageCommentFragment = {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
};
export type CurrentUserForProfileQueryVariables = Exact<{ [key: string]: never }>;
export type CurrentUserForProfileQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; avatar_url: string } | null;
};
export type FeedEntryFragment = {
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type FeedQueryVariables = Exact<{
type: FeedType;
offset?: InputMaybe;
limit?: InputMaybe;
}>;
export type FeedQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string } | null;
feed?: Array<{
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
} | null> | null;
};
export type SubmitRepositoryMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type SubmitRepositoryMutation = {
__typename?: 'Mutation';
submitRepository?: { __typename?: 'Entry'; createdAt: number } | null;
};
export type RepoInfoFragment = {
__typename?: 'Entry';
createdAt: number;
repository: {
__typename?: 'Repository';
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
};
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type SubmitCommentMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
commentContent: Scalars['String']['input'];
}>;
export type SubmitCommentMutation = {
__typename?: 'Mutation';
submitComment?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type VoteButtonsFragment = {
__typename?: 'Entry';
score: number;
vote: { __typename?: 'Vote'; vote_value: number };
};
export type VoteMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
type: VoteType;
}>;
export type VoteMutation = {
__typename?: 'Mutation';
vote?: { __typename?: 'Entry'; score: number; id: number; vote: { __typename?: 'Vote'; vote_value: number } } | null;
};
================================================
FILE: dev-test/githunt/types.flatten.preResolveTypes.ts
================================================
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe };
export type MakeEmpty = { [_ in K]?: never };
export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string };
String: { input: string; output: string };
Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number };
Float: { input: number; output: number };
};
/** A comment about an entry, submitted by a user */
export type Comment = {
__typename?: 'Comment';
/** The text of the comment */
content: Scalars['String']['output'];
/** A timestamp of when the comment was posted */
createdAt: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who posted the comment */
postedBy: User;
/** The repository which this comment is about */
repoName: Scalars['String']['output'];
};
/** Information about a GitHub repository submitted to GitHunt */
export type Entry = {
__typename?: 'Entry';
/** The number of comments posted about this repository */
commentCount: Scalars['Int']['output'];
/** Comments posted about this repository */
comments: Array>;
/** A timestamp of when the entry was submitted */
createdAt: Scalars['Float']['output'];
/** The hot score of this repository */
hotScore: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who submitted this entry */
postedBy: User;
/** Information about the repository from GitHub */
repository: Repository;
/** The score of this repository, upvotes - downvotes */
score: Scalars['Int']['output'];
/** XXX to be changed */
vote: Vote;
};
/** Information about a GitHub repository submitted to GitHunt */
export type EntryCommentsArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
};
/** A list of options for the sort order of the feed */
export enum FeedType {
/** Sort by a combination of freshness and score, using Reddit's algorithm */
Hot = 'HOT',
/** Newest entries first */
New = 'NEW',
/** Highest score entries first */
Top = 'TOP',
}
export type Mutation = {
__typename?: 'Mutation';
/** Comment on a repository, returns the new comment */
submitComment?: Maybe;
/** Submit a new repository, returns the new submission */
submitRepository?: Maybe;
/** Vote on a repository submission, returns the submission that was voted on */
vote?: Maybe;
};
export type MutationSubmitCommentArgs = {
commentContent: Scalars['String']['input'];
repoFullName: Scalars['String']['input'];
};
export type MutationSubmitRepositoryArgs = {
repoFullName: Scalars['String']['input'];
};
export type MutationVoteArgs = {
repoFullName: Scalars['String']['input'];
type: VoteType;
};
export type Query = {
__typename?: 'Query';
/** Return the currently logged in user, or null if nobody is logged in */
currentUser?: Maybe;
/** A single entry */
entry?: Maybe;
/** A feed of repository submissions */
feed?: Maybe>>;
};
export type QueryEntryArgs = {
repoFullName: Scalars['String']['input'];
};
export type QueryFeedArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
type: FeedType;
};
/**
* A repository object from the GitHub API. This uses the exact field names returned by the
* GitHub API for simplicity, even though the convention for GraphQL is usually to camel case.
*/
export type Repository = {
__typename?: 'Repository';
/** The description of the repository */
description?: Maybe;
/** The full name of the repository with the username, e.g. apollostack/GitHunt-API */
full_name: Scalars['String']['output'];
/** The link to the repository on GitHub */
html_url: Scalars['String']['output'];
/** Just the name of the repository, e.g. GitHunt-API */
name: Scalars['String']['output'];
/** The number of open issues on this repository on GitHub */
open_issues_count?: Maybe;
/** The owner of this repository on GitHub, e.g. apollostack */
owner?: Maybe;
/** The number of people who have starred this repository on GitHub */
stargazers_count: Scalars['Int']['output'];
};
export type Subscription = {
__typename?: 'Subscription';
/** Subscription fires on every comment added */
commentAdded?: Maybe;
};
export type SubscriptionCommentAddedArgs = {
repoFullName: Scalars['String']['input'];
};
/** A user object from the GitHub API. This uses the exact field names returned from the GitHub API. */
export type User = {
__typename?: 'User';
/** The URL to a directly embeddable image for this user's avatar */
avatar_url: Scalars['String']['output'];
/** The URL of this user's GitHub page */
html_url: Scalars['String']['output'];
/** The name of the user, e.g. apollostack */
login: Scalars['String']['output'];
};
/** XXX to be removed */
export type Vote = {
__typename?: 'Vote';
vote_value: Scalars['Int']['output'];
};
/** The type of vote to record, when submitting a vote */
export enum VoteType {
Cancel = 'CANCEL',
Down = 'DOWN',
Up = 'UP',
}
export type OnCommentAddedSubscriptionVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type OnCommentAddedSubscription = {
__typename?: 'Subscription';
commentAdded?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type CommentQueryVariables = Exact<{
repoFullName: Scalars['String']['input'];
limit?: InputMaybe;
offset?: InputMaybe;
}>;
export type CommentQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; html_url: string } | null;
entry?: {
__typename?: 'Entry';
id: number;
createdAt: number;
commentCount: number;
postedBy: { __typename?: 'User'; login: string; html_url: string };
comments: Array<{
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null>;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
open_issues_count?: number | null;
stargazers_count: number;
};
} | null;
};
export type CurrentUserForProfileQueryVariables = Exact<{ [key: string]: never }>;
export type CurrentUserForProfileQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; avatar_url: string } | null;
};
export type FeedQueryVariables = Exact<{
type: FeedType;
offset?: InputMaybe;
limit?: InputMaybe;
}>;
export type FeedQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string } | null;
feed?: Array<{
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null> | null;
};
export type SubmitRepositoryMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type SubmitRepositoryMutation = {
__typename?: 'Mutation';
submitRepository?: { __typename?: 'Entry'; createdAt: number } | null;
};
export type SubmitCommentMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
commentContent: Scalars['String']['input'];
}>;
export type SubmitCommentMutation = {
__typename?: 'Mutation';
submitComment?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type VoteMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
type: VoteType;
}>;
export type VoteMutation = {
__typename?: 'Mutation';
vote?: { __typename?: 'Entry'; score: number; id: number; vote: { __typename?: 'Vote'; vote_value: number } } | null;
};
================================================
FILE: dev-test/githunt/types.immutableTypes.ts
================================================
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe };
export type MakeEmpty = { [_ in K]?: never };
export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string };
String: { input: string; output: string };
Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number };
Float: { input: number; output: number };
};
/** A comment about an entry, submitted by a user */
export type Comment = {
readonly __typename?: 'Comment';
/** The text of the comment */
readonly content: Scalars['String']['output'];
/** A timestamp of when the comment was posted */
readonly createdAt: Scalars['Float']['output'];
/** The SQL ID of this entry */
readonly id: Scalars['Int']['output'];
/** The GitHub user who posted the comment */
readonly postedBy: User;
/** The repository which this comment is about */
readonly repoName: Scalars['String']['output'];
};
/** Information about a GitHub repository submitted to GitHunt */
export type Entry = {
readonly __typename?: 'Entry';
/** The number of comments posted about this repository */
readonly commentCount: Scalars['Int']['output'];
/** Comments posted about this repository */
readonly comments: ReadonlyArray>;
/** A timestamp of when the entry was submitted */
readonly createdAt: Scalars['Float']['output'];
/** The hot score of this repository */
readonly hotScore: Scalars['Float']['output'];
/** The SQL ID of this entry */
readonly id: Scalars['Int']['output'];
/** The GitHub user who submitted this entry */
readonly postedBy: User;
/** Information about the repository from GitHub */
readonly repository: Repository;
/** The score of this repository, upvotes - downvotes */
readonly score: Scalars['Int']['output'];
/** XXX to be changed */
readonly vote: Vote;
};
/** Information about a GitHub repository submitted to GitHunt */
export type EntryCommentsArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
};
/** A list of options for the sort order of the feed */
export enum FeedType {
/** Sort by a combination of freshness and score, using Reddit's algorithm */
Hot = 'HOT',
/** Newest entries first */
New = 'NEW',
/** Highest score entries first */
Top = 'TOP',
}
export type Mutation = {
readonly __typename?: 'Mutation';
/** Comment on a repository, returns the new comment */
readonly submitComment?: Maybe;
/** Submit a new repository, returns the new submission */
readonly submitRepository?: Maybe;
/** Vote on a repository submission, returns the submission that was voted on */
readonly vote?: Maybe;
};
export type MutationSubmitCommentArgs = {
commentContent: Scalars['String']['input'];
repoFullName: Scalars['String']['input'];
};
export type MutationSubmitRepositoryArgs = {
repoFullName: Scalars['String']['input'];
};
export type MutationVoteArgs = {
repoFullName: Scalars['String']['input'];
type: VoteType;
};
export type Query = {
readonly __typename?: 'Query';
/** Return the currently logged in user, or null if nobody is logged in */
readonly currentUser?: Maybe;
/** A single entry */
readonly entry?: Maybe;
/** A feed of repository submissions */
readonly feed?: Maybe>>;
};
export type QueryEntryArgs = {
repoFullName: Scalars['String']['input'];
};
export type QueryFeedArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
type: FeedType;
};
/**
* A repository object from the GitHub API. This uses the exact field names returned by the
* GitHub API for simplicity, even though the convention for GraphQL is usually to camel case.
*/
export type Repository = {
readonly __typename?: 'Repository';
/** The description of the repository */
readonly description?: Maybe;
/** The full name of the repository with the username, e.g. apollostack/GitHunt-API */
readonly full_name: Scalars['String']['output'];
/** The link to the repository on GitHub */
readonly html_url: Scalars['String']['output'];
/** Just the name of the repository, e.g. GitHunt-API */
readonly name: Scalars['String']['output'];
/** The number of open issues on this repository on GitHub */
readonly open_issues_count?: Maybe;
/** The owner of this repository on GitHub, e.g. apollostack */
readonly owner?: Maybe;
/** The number of people who have starred this repository on GitHub */
readonly stargazers_count: Scalars['Int']['output'];
};
export type Subscription = {
readonly __typename?: 'Subscription';
/** Subscription fires on every comment added */
readonly commentAdded?: Maybe;
};
export type SubscriptionCommentAddedArgs = {
repoFullName: Scalars['String']['input'];
};
/** A user object from the GitHub API. This uses the exact field names returned from the GitHub API. */
export type User = {
readonly __typename?: 'User';
/** The URL to a directly embeddable image for this user's avatar */
readonly avatar_url: Scalars['String']['output'];
/** The URL of this user's GitHub page */
readonly html_url: Scalars['String']['output'];
/** The name of the user, e.g. apollostack */
readonly login: Scalars['String']['output'];
};
/** XXX to be removed */
export type Vote = {
readonly __typename?: 'Vote';
readonly vote_value: Scalars['Int']['output'];
};
/** The type of vote to record, when submitting a vote */
export enum VoteType {
Cancel = 'CANCEL',
Down = 'DOWN',
Up = 'UP',
}
export type OnCommentAddedSubscriptionVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type OnCommentAddedSubscription = {
readonly __typename?: 'Subscription';
readonly commentAdded?: {
readonly __typename?: 'Comment';
readonly id: number;
readonly createdAt: number;
readonly content: string;
readonly postedBy: { readonly __typename?: 'User'; readonly login: string; readonly html_url: string };
} | null;
};
export type CommentQueryVariables = Exact<{
repoFullName: Scalars['String']['input'];
limit?: InputMaybe;
offset?: InputMaybe;
}>;
export type CommentQuery = {
readonly __typename?: 'Query';
readonly currentUser?: { readonly __typename?: 'User'; readonly login: string; readonly html_url: string } | null;
readonly entry?: {
readonly __typename?: 'Entry';
readonly id: number;
readonly createdAt: number;
readonly commentCount: number;
readonly postedBy: { readonly __typename?: 'User'; readonly login: string; readonly html_url: string };
readonly comments: ReadonlyArray<{
readonly __typename?: 'Comment';
readonly id: number;
readonly createdAt: number;
readonly content: string;
readonly postedBy: { readonly __typename?: 'User'; readonly login: string; readonly html_url: string };
} | null>;
readonly repository: {
readonly __typename?: 'Repository';
readonly description?: string | null;
readonly open_issues_count?: number | null;
readonly stargazers_count: number;
readonly full_name: string;
readonly html_url: string;
};
} | null;
};
export type CommentsPageCommentFragment = {
readonly __typename?: 'Comment';
readonly id: number;
readonly createdAt: number;
readonly content: string;
readonly postedBy: { readonly __typename?: 'User'; readonly login: string; readonly html_url: string };
};
export type CurrentUserForProfileQueryVariables = Exact<{ [key: string]: never }>;
export type CurrentUserForProfileQuery = {
readonly __typename?: 'Query';
readonly currentUser?: { readonly __typename?: 'User'; readonly login: string; readonly avatar_url: string } | null;
};
export type FeedEntryFragment = {
readonly __typename?: 'Entry';
readonly id: number;
readonly commentCount: number;
readonly score: number;
readonly createdAt: number;
readonly repository: {
readonly __typename?: 'Repository';
readonly full_name: string;
readonly html_url: string;
readonly description?: string | null;
readonly stargazers_count: number;
readonly open_issues_count?: number | null;
readonly owner?: { readonly __typename?: 'User'; readonly avatar_url: string } | null;
};
readonly vote: { readonly __typename?: 'Vote'; readonly vote_value: number };
readonly postedBy: { readonly __typename?: 'User'; readonly html_url: string; readonly login: string };
};
export type FeedQueryVariables = Exact<{
type: FeedType;
offset?: InputMaybe;
limit?: InputMaybe;
}>;
export type FeedQuery = {
readonly __typename?: 'Query';
readonly currentUser?: { readonly __typename?: 'User'; readonly login: string } | null;
readonly feed?: ReadonlyArray<{
readonly __typename?: 'Entry';
readonly id: number;
readonly commentCount: number;
readonly score: number;
readonly createdAt: number;
readonly repository: {
readonly __typename?: 'Repository';
readonly full_name: string;
readonly html_url: string;
readonly description?: string | null;
readonly stargazers_count: number;
readonly open_issues_count?: number | null;
readonly owner?: { readonly __typename?: 'User'; readonly avatar_url: string } | null;
};
readonly vote: { readonly __typename?: 'Vote'; readonly vote_value: number };
readonly postedBy: { readonly __typename?: 'User'; readonly html_url: string; readonly login: string };
} | null> | null;
};
export type SubmitRepositoryMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type SubmitRepositoryMutation = {
readonly __typename?: 'Mutation';
readonly submitRepository?: { readonly __typename?: 'Entry'; readonly createdAt: number } | null;
};
export type RepoInfoFragment = {
readonly __typename?: 'Entry';
readonly createdAt: number;
readonly repository: {
readonly __typename?: 'Repository';
readonly description?: string | null;
readonly stargazers_count: number;
readonly open_issues_count?: number | null;
};
readonly postedBy: { readonly __typename?: 'User'; readonly html_url: string; readonly login: string };
};
export type SubmitCommentMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
commentContent: Scalars['String']['input'];
}>;
export type SubmitCommentMutation = {
readonly __typename?: 'Mutation';
readonly submitComment?: {
readonly __typename?: 'Comment';
readonly id: number;
readonly createdAt: number;
readonly content: string;
readonly postedBy: { readonly __typename?: 'User'; readonly login: string; readonly html_url: string };
} | null;
};
export type VoteButtonsFragment = {
readonly __typename?: 'Entry';
readonly score: number;
readonly vote: { readonly __typename?: 'Vote'; readonly vote_value: number };
};
export type VoteMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
type: VoteType;
}>;
export type VoteMutation = {
readonly __typename?: 'Mutation';
readonly vote?: {
readonly __typename?: 'Entry';
readonly score: number;
readonly id: number;
readonly vote: { readonly __typename?: 'Vote'; readonly vote_value: number };
} | null;
};
================================================
FILE: dev-test/githunt/types.onlyEnums.ts
================================================
/** A list of options for the sort order of the feed */
export enum FeedType {
/** Sort by a combination of freshness and score, using Reddit's algorithm */
Hot = 'HOT',
/** Newest entries first */
New = 'NEW',
/** Highest score entries first */
Top = 'TOP',
}
/** The type of vote to record, when submitting a vote */
export enum VoteType {
Cancel = 'CANCEL',
Down = 'DOWN',
Up = 'UP',
}
================================================
FILE: dev-test/githunt/types.preResolveTypes.onlyOperationTypes.ts
================================================
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe };
export type MakeEmpty = { [_ in K]?: never };
export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string };
String: { input: string; output: string };
Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number };
Float: { input: number; output: number };
};
/** A list of options for the sort order of the feed */
export enum FeedType {
/** Sort by a combination of freshness and score, using Reddit's algorithm */
Hot = 'HOT',
/** Newest entries first */
New = 'NEW',
/** Highest score entries first */
Top = 'TOP',
}
/** The type of vote to record, when submitting a vote */
export enum VoteType {
Cancel = 'CANCEL',
Down = 'DOWN',
Up = 'UP',
}
export type OnCommentAddedSubscriptionVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type OnCommentAddedSubscription = {
__typename?: 'Subscription';
commentAdded?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type CommentQueryVariables = Exact<{
repoFullName: Scalars['String']['input'];
limit?: InputMaybe;
offset?: InputMaybe;
}>;
export type CommentQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; html_url: string } | null;
entry?: {
__typename?: 'Entry';
id: number;
createdAt: number;
commentCount: number;
postedBy: { __typename?: 'User'; login: string; html_url: string };
comments: Array<{
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null>;
repository: {
__typename?: 'Repository';
description?: string | null;
open_issues_count?: number | null;
stargazers_count: number;
full_name: string;
html_url: string;
};
} | null;
};
export type CommentsPageCommentFragment = {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
};
export type CurrentUserForProfileQueryVariables = Exact<{ [key: string]: never }>;
export type CurrentUserForProfileQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; avatar_url: string } | null;
};
export type FeedEntryFragment = {
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type FeedQueryVariables = Exact<{
type: FeedType;
offset?: InputMaybe;
limit?: InputMaybe;
}>;
export type FeedQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string } | null;
feed?: Array<{
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
} | null> | null;
};
export type SubmitRepositoryMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type SubmitRepositoryMutation = {
__typename?: 'Mutation';
submitRepository?: { __typename?: 'Entry'; createdAt: number } | null;
};
export type RepoInfoFragment = {
__typename?: 'Entry';
createdAt: number;
repository: {
__typename?: 'Repository';
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
};
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type SubmitCommentMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
commentContent: Scalars['String']['input'];
}>;
export type SubmitCommentMutation = {
__typename?: 'Mutation';
submitComment?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type VoteButtonsFragment = {
__typename?: 'Entry';
score: number;
vote: { __typename?: 'Vote'; vote_value: number };
};
export type VoteMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
type: VoteType;
}>;
export type VoteMutation = {
__typename?: 'Mutation';
vote?: { __typename?: 'Entry'; score: number; id: number; vote: { __typename?: 'Vote'; vote_value: number } } | null;
};
================================================
FILE: dev-test/githunt/types.preResolveTypes.ts
================================================
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe };
export type MakeEmpty = { [_ in K]?: never };
export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string };
String: { input: string; output: string };
Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number };
Float: { input: number; output: number };
};
/** A comment about an entry, submitted by a user */
export type Comment = {
__typename?: 'Comment';
/** The text of the comment */
content: Scalars['String']['output'];
/** A timestamp of when the comment was posted */
createdAt: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who posted the comment */
postedBy: User;
/** The repository which this comment is about */
repoName: Scalars['String']['output'];
};
/** Information about a GitHub repository submitted to GitHunt */
export type Entry = {
__typename?: 'Entry';
/** The number of comments posted about this repository */
commentCount: Scalars['Int']['output'];
/** Comments posted about this repository */
comments: Array>;
/** A timestamp of when the entry was submitted */
createdAt: Scalars['Float']['output'];
/** The hot score of this repository */
hotScore: Scalars['Float']['output'];
/** The SQL ID of this entry */
id: Scalars['Int']['output'];
/** The GitHub user who submitted this entry */
postedBy: User;
/** Information about the repository from GitHub */
repository: Repository;
/** The score of this repository, upvotes - downvotes */
score: Scalars['Int']['output'];
/** XXX to be changed */
vote: Vote;
};
/** Information about a GitHub repository submitted to GitHunt */
export type EntryCommentsArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
};
/** A list of options for the sort order of the feed */
export enum FeedType {
/** Sort by a combination of freshness and score, using Reddit's algorithm */
Hot = 'HOT',
/** Newest entries first */
New = 'NEW',
/** Highest score entries first */
Top = 'TOP',
}
export type Mutation = {
__typename?: 'Mutation';
/** Comment on a repository, returns the new comment */
submitComment?: Maybe;
/** Submit a new repository, returns the new submission */
submitRepository?: Maybe;
/** Vote on a repository submission, returns the submission that was voted on */
vote?: Maybe;
};
export type MutationSubmitCommentArgs = {
commentContent: Scalars['String']['input'];
repoFullName: Scalars['String']['input'];
};
export type MutationSubmitRepositoryArgs = {
repoFullName: Scalars['String']['input'];
};
export type MutationVoteArgs = {
repoFullName: Scalars['String']['input'];
type: VoteType;
};
export type Query = {
__typename?: 'Query';
/** Return the currently logged in user, or null if nobody is logged in */
currentUser?: Maybe;
/** A single entry */
entry?: Maybe;
/** A feed of repository submissions */
feed?: Maybe>>;
};
export type QueryEntryArgs = {
repoFullName: Scalars['String']['input'];
};
export type QueryFeedArgs = {
limit?: InputMaybe;
offset?: InputMaybe;
type: FeedType;
};
/**
* A repository object from the GitHub API. This uses the exact field names returned by the
* GitHub API for simplicity, even though the convention for GraphQL is usually to camel case.
*/
export type Repository = {
__typename?: 'Repository';
/** The description of the repository */
description?: Maybe;
/** The full name of the repository with the username, e.g. apollostack/GitHunt-API */
full_name: Scalars['String']['output'];
/** The link to the repository on GitHub */
html_url: Scalars['String']['output'];
/** Just the name of the repository, e.g. GitHunt-API */
name: Scalars['String']['output'];
/** The number of open issues on this repository on GitHub */
open_issues_count?: Maybe;
/** The owner of this repository on GitHub, e.g. apollostack */
owner?: Maybe;
/** The number of people who have starred this repository on GitHub */
stargazers_count: Scalars['Int']['output'];
};
export type Subscription = {
__typename?: 'Subscription';
/** Subscription fires on every comment added */
commentAdded?: Maybe;
};
export type SubscriptionCommentAddedArgs = {
repoFullName: Scalars['String']['input'];
};
/** A user object from the GitHub API. This uses the exact field names returned from the GitHub API. */
export type User = {
__typename?: 'User';
/** The URL to a directly embeddable image for this user's avatar */
avatar_url: Scalars['String']['output'];
/** The URL of this user's GitHub page */
html_url: Scalars['String']['output'];
/** The name of the user, e.g. apollostack */
login: Scalars['String']['output'];
};
/** XXX to be removed */
export type Vote = {
__typename?: 'Vote';
vote_value: Scalars['Int']['output'];
};
/** The type of vote to record, when submitting a vote */
export enum VoteType {
Cancel = 'CANCEL',
Down = 'DOWN',
Up = 'UP',
}
export type OnCommentAddedSubscriptionVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type OnCommentAddedSubscription = {
__typename?: 'Subscription';
commentAdded?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type CommentQueryVariables = Exact<{
repoFullName: Scalars['String']['input'];
limit?: InputMaybe;
offset?: InputMaybe;
}>;
export type CommentQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; html_url: string } | null;
entry?: {
__typename?: 'Entry';
id: number;
createdAt: number;
commentCount: number;
postedBy: { __typename?: 'User'; login: string; html_url: string };
comments: Array<{
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null>;
repository: {
__typename?: 'Repository';
description?: string | null;
open_issues_count?: number | null;
stargazers_count: number;
full_name: string;
html_url: string;
};
} | null;
};
export type CommentsPageCommentFragment = {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
};
export type CurrentUserForProfileQueryVariables = Exact<{ [key: string]: never }>;
export type CurrentUserForProfileQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string; avatar_url: string } | null;
};
export type FeedEntryFragment = {
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type FeedQueryVariables = Exact<{
type: FeedType;
offset?: InputMaybe;
limit?: InputMaybe;
}>;
export type FeedQuery = {
__typename?: 'Query';
currentUser?: { __typename?: 'User'; login: string } | null;
feed?: Array<{
__typename?: 'Entry';
id: number;
commentCount: number;
score: number;
createdAt: number;
repository: {
__typename?: 'Repository';
full_name: string;
html_url: string;
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
owner?: { __typename?: 'User'; avatar_url: string } | null;
};
vote: { __typename?: 'Vote'; vote_value: number };
postedBy: { __typename?: 'User'; html_url: string; login: string };
} | null> | null;
};
export type SubmitRepositoryMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
}>;
export type SubmitRepositoryMutation = {
__typename?: 'Mutation';
submitRepository?: { __typename?: 'Entry'; createdAt: number } | null;
};
export type RepoInfoFragment = {
__typename?: 'Entry';
createdAt: number;
repository: {
__typename?: 'Repository';
description?: string | null;
stargazers_count: number;
open_issues_count?: number | null;
};
postedBy: { __typename?: 'User'; html_url: string; login: string };
};
export type SubmitCommentMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
commentContent: Scalars['String']['input'];
}>;
export type SubmitCommentMutation = {
__typename?: 'Mutation';
submitComment?: {
__typename?: 'Comment';
id: number;
createdAt: number;
content: string;
postedBy: { __typename?: 'User'; login: string; html_url: string };
} | null;
};
export type VoteButtonsFragment = {
__typename?: 'Entry';
score: number;
vote: { __typename?: 'Vote'; vote_value: number };
};
export type VoteMutationVariables = Exact<{
repoFullName: Scalars['String']['input'];
type: VoteType;
}>;
export type VoteMutation = {
__typename?: 'Mutation';
vote?: { __typename?: 'Entry'; score: number; id: number; vote: { __typename?: 'Vote'; vote_value: number } } | null;
};
================================================
FILE: dev-test/githunt/types.ts
================================================
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
export type MakeOptional = Omit & { [SubKey in K]?: Maybe };
export type MakeMaybe = Omit & { [SubKey in K]: Maybe