diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 27d116c1d..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,263 +0,0 @@ -# PHP CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-php/ for more details -# -version: 2.1 -orbs: - wp-product-orb: wpengine/wp-product-orb@1.3.0 - php: circleci/php@1.1.0 - node: circleci/node@4.1.0 - -jobs: - checkout: - executor: wp-product-orb/default - steps: - - checkout - - persist_to_workspace: - root: . - paths: - - . - - plugin-checkout: - executor: wp-product-orb/default - working_directory: ~/project/plugins/<> - environment: - WPE_SESSION_DIR: ./.wpe - parameters: - slug: - type: string - filename: - type: string - steps: - - attach_workspace: - at: ~/project - - run: - name: Make artifacts build directory - command: | - [ ! -d "build" ] && mkdir build &>/dev/null - - wp-product-orb/get-version-from-php: - filename: <> - return_var: BUILD_VERSION - - wp-product-orb/variable: - var: BUILD_VERSION - value: $BUILD_VERSION - - persist_to_workspace: - root: ~/project - paths: - - plugins/<> - - plugin-composer: - executor: php/default - working_directory: ~/project/plugins/<> - parameters: - slug: - type: string - steps: - - attach_workspace: - at: ~/project - - php/install-composer - - php/install-packages: - app-dir: . - - run: - name: Composer PHP lint and code sniffer - command: | - /usr/local/bin/composer lint && /usr/local/bin/composer phpcs - rm -v composer-setup.php - working_directory: . - - persist_to_workspace: - root: ~/project - paths: - - plugins/<> - - plugin-test: - working_directory: ~/project/plugins/<> - docker: - - image: cimg/php:7.4 - - image: circleci/mysql:5.7 - environment: - MYSQL_DATABASE: wp_database - MYSQL_USER: wp_user - MYSQL_PASSWORD: wp_pass - MYSQL_ROOT_PASSWORD: password - parameters: - slug: - type: string - steps: - - attach_workspace: - at: ~/project - - php/install-composer - - php/install-packages: - app-dir: . - - run: - name: Install Subversion package - command: | - sudo apt-get update -yq - sudo apt-get install subversion -yq - - run: - name: Setup WordPress testing framework - command: | - /bin/bash tests/install-wp-tests.sh wp_database wp_user wp_pass 127.0.0.1 latest true - working_directory: . - - run: - name: Run testing suite - command: | - composer test - working_directory: . - - plugin-bundle-zip: - executor: wp-product-orb/default - working_directory: ~/project/plugins/<> - environment: - WPE_SESSION_DIR: ./.wpe - parameters: - slug: - type: string - steps: - - attach_workspace: - at: ~/project - - wp-product-orb/variable-load - - run: - name: "Bundle plugin files into a zip" - command: | - cd .. - zip --verbose -x@<>/.zipignore -x *.wpe/* */build/ -r "<>/build/<>.$BUILD_VERSION.zip" <> - - store_artifacts: - path: build - - persist_to_workspace: - root: ~/project - paths: - - plugins/<>/build - - plugin-bundle-json: - executor: wp-product-orb/parser - working_directory: ~/project/plugins/<> - environment: - WPE_SESSION_DIR: ./.wpe - parameters: - slug: - type: string - steps: - - attach_workspace: - at: ~/project - - wp-product-orb/variable-load - - wp-product-orb/parse-wp-readme: - infile: readme.txt - outfile: build/<>.$BUILD_VERSION.json - - store_artifacts: - path: build - - persist_to_workspace: - root: ~/project - paths: - - plugins/<>/build - - plugin-deploy: - executor: wp-product-orb/authenticate - working_directory: ~/project/plugins/<> - environment: - WPE_SESSION_DIR: ./.wpe - parameters: - auth_url: - type: string - upload_url: - type: string - slug: - type: string - steps: - - attach_workspace: - at: ~/project - - wp-product-orb/variable-load - - wp-product-orb/authenticate: - user: WPE_LDAP_USER - pass: WPE_LDAP_PASS - url: <> - - wp-product-orb/post-zip: - url: <>/<> - zip: build/<>.$BUILD_VERSION.zip - json: build/<>.$BUILD_VERSION.json - version: $BUILD_VERSION - -workflows: - # Workflows defined for each package and plugin. - # tag example for deploying an update for wpe-headless: plugin/wpe-headless/1.0.0 - plugin-wpe-headless: - jobs: - - checkout: - filters: - tags: - only: /.*/ - - plugin-checkout: - name: plugin-checkout-wpe-headless - slug: wpe-headless - filename: wpe-headless.php - requires: - - checkout - # Enable running this job when a tag is published - filters: - tags: - only: /.*/ - - plugin-composer: - name: plugin-composer-wpe-headless - slug: wpe-headless - requires: - - plugin-checkout-wpe-headless - # Enable running this job when a tag is published - filters: - tags: - only: /.*/ - - plugin-test: - name: plugin-test-wpe-headless - slug: wpe-headless - requires: - - plugin-composer-wpe-headless - # Enable running this job when a tag is published - filters: - tags: - only: /.*/ - - plugin-bundle-zip: - name: plugin-bundle-zip-wpe-headless - slug: wpe-headless - requires: - - plugin-test-wpe-headless - # Run this job on every commit/PR so the plugin is available as a build artifact - filters: - tags: - only: /.*/ - - plugin-bundle-json: - name: plugin-bundle-json-wpe-headless - slug: wpe-headless - requires: - - plugin-test-wpe-headless - # Run this job on every commit/PR to make sure it's in working order prior to deploying - filters: - tags: - only: /.*/ - - plugin-deploy: - name: "Deploy zip to api (staging) wpe-headless" - slug: wpe-headless - requires: - - plugin-bundle-zip-wpe-headless - - plugin-bundle-json-wpe-headless - filters: - branches: - only: - - main - - canary - tags: - only: /.*/ - context: wpe-ldap-creds - auth_url: https://auth-staging.wpengine.io/v1/tokens - upload_url: https://wp-product-info-staging.wpesvc.net/v1/plugins - - plugin-deploy: - name: "Deploy zip to api (production) wpe-headless" - slug: wpe-headless - requires: - - "Deploy zip to api (staging) wpe-headless" - filters: - branches: - ignore: /.*/ - tags: - # tag ex. plugin/wpe-headless/1.0.0 - only: /^plugin\/wpe-headless\/\S+/ - context: wpe-ldap-creds - auth_url: https://auth.wpengine.io/v1/tokens - upload_url: https://wp-product-info.wpesvc.net/v1/plugins diff --git a/.github/actions/release-plugin/action.yml b/.github/actions/release-plugin/action.yml new file mode 100644 index 000000000..8655a8c68 --- /dev/null +++ b/.github/actions/release-plugin/action.yml @@ -0,0 +1,22 @@ +name: 'WordPress Plugin Deploy' +description: 'Deploy to the WordPress Plugin Repository' +author: '10up' +branding: + icon: 'upload-cloud' + color: 'blue' +inputs: + generate-zip: + description: 'Generate package zip file?' + default: false +outputs: + zip-path: + description: 'Path to zip file' + value: ${{ steps.deploy.outputs.zip-path }} +runs: + using: 'composite' + steps: + - id: deploy + env: + INPUT_GENERATE_ZIP: ${{ inputs.generate-zip }} + run: ${{ github.action_path }}/deploy.sh + shell: bash diff --git a/.github/actions/release-plugin/deploy.sh b/.github/actions/release-plugin/deploy.sh new file mode 100644 index 000000000..e036df933 --- /dev/null +++ b/.github/actions/release-plugin/deploy.sh @@ -0,0 +1,108 @@ +#!/bin/bash + +# Note that this does not use pipefail +# because if the grep later doesn't match any deleted files, +# which is likely the majority case, +# it does not exit with a 0, and I only care about the final exit. +set -eo + +# Ensure SVN username and password are set +# IMPORTANT: while secrets are encrypted and not viewable in the GitHub UI, +# they are by necessity provided as plaintext in the context of the Action, +# so do not echo or use debug mode unless you want your secrets exposed! +if [[ -z "$SVN_USERNAME" ]]; then + echo "Set the SVN_USERNAME secret" + exit 1 +fi + +if [[ -z "$SVN_PASSWORD" ]]; then + echo "Set the SVN_PASSWORD secret" + exit 1 +fi + +# Require the PLUGIN_DIR environment variable to be set +if [[ -z "$PLUGIN_DIR" ]]; then + echo "Set the PLUGIN_DIR environment variable" + exit 1 +fi +echo "ℹ︎ PLUGIN_DIR is $PLUGIN_DIR" + +# Allow some ENV variables to be customized +if [[ -z "$SLUG" ]]; then + SLUG=${GITHUB_REPOSITORY#*/} +fi +echo "ℹ︎ SLUG is $SLUG" + +# Does it even make sense for VERSION to be editable in a workflow definition? +if [[ -z "$VERSION" ]]; then + VERSION="${GITHUB_REF#refs/tags/}" + VERSION="${VERSION#v}" +fi +echo "ℹ︎ VERSION is $VERSION" + +if [[ -z "$ASSETS_DIR" ]]; then + ASSETS_DIR=".wordpress-org" +fi +echo "ℹ︎ ASSETS_DIR is $ASSETS_DIR" + +SVN_URL="https://plugins.svn.wordpress.org/${SLUG}/" +SVN_DIR="${HOME}/svn-${SLUG}" + +# Checkout just trunk and assets for efficiency +# Tagging will be handled on the SVN level +echo "➤ Checking out .org repository..." +svn checkout --depth immediates "$SVN_URL" "$SVN_DIR" +cd "$SVN_DIR" +svn update --set-depth infinity assets +svn update --set-depth infinity trunk + +echo "➤ Copying files..." +if [[ -e "$GITHUB_WORKSPACE/$PLUGIN_DIR/.distignore" ]]; then + echo "ℹ︎ Using .distignore" + # Copy from PLUGIN_DIR to /trunk, excluding dotorg assets + # The --delete flag will delete anything in destination that no longer exists in source + rsync -rc --exclude-from="$GITHUB_WORKSPACE/$PLUGIN_DIR/.distignore" "$GITHUB_WORKSPACE/$PLUGIN_DIR" trunk/ --delete --delete-excluded +else + rsync -rc "$GITHUB_WORKSPACE/$PLUGIN_DIR" trunk --delete --delete-excluded +fi + +# Copy dotorg assets to /assets +if [[ -d "$GITHUB_WORKSPACE/$PLUGIN_DIR/$ASSETS_DIR/" ]]; then + rsync -rc "$GITHUB_WORKSPACE/$PLUGIN_DIR/$ASSETS_DIR/" assets/ --delete +else + echo "ℹ︎ No assets directory found; skipping asset copy" +fi + +# Add everything and commit to SVN +# The force flag ensures we recurse into subdirectories even if they are already added +# Suppress stdout in favor of svn status later for readability +echo "➤ Preparing files..." +svn add . --force > /dev/null + +# SVN delete all deleted files +# Also suppress stdout here +svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm %@ > /dev/null + +# Copy tag locally to make this a single commit +echo "➤ Copying tag..." +svn cp "trunk" "tags/$VERSION" + +# Fix screenshots getting force downloaded when clicking them +# https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/ +svn propset svn:mime-type image/png assets/*.png || true +svn propset svn:mime-type image/jpeg assets/*.jpg || true + +svn status + +echo "➤ Committing files..." +svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD" + +if $INPUT_GENERATE_ZIP; then + echo "Generating zip file..." + cd "$SVN_DIR/trunk" || exit + zip -r "${GITHUB_WORKSPACE}/${PLUGIN_DIR}/${SLUG}.zip" . + echo "::set-output name=zip-path::${GITHUB_WORKSPACE}/${PLUGIN_DIR}/${SLUG}.zip" + echo "✓ Zip file generated!" +fi + +echo "✓ Plugin deployed!" diff --git a/.github/workflows/e2e-test-plugin.yml b/.github/workflows/e2e-test-plugin.yml new file mode 100644 index 000000000..d25ff8b8b --- /dev/null +++ b/.github/workflows/e2e-test-plugin.yml @@ -0,0 +1,53 @@ +name: E2E Test Plugin +on: pull_request +jobs: + e2e_test_plugin: + timeout-minutes: 10 + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: '16' + - name: Install NPM Deps + run: | + rm package-lock.json + npm install + npm run build + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '7.4' + - name: Setup Frontend + run: | + NEXT_PUBLIC_WORDPRESS_URL=http://localhost:8080 WP_HEADLESS_SECRET=00000000-0000-0000-0000-000000000001 npm run dev:next:getting-started & + - name: Composer install + working-directory: plugins/faustwp + run: composer install + - name: Setup Containers + working-directory: plugins/faustwp + run: docker-compose up -d + - name: Sleep 15 seconds + run: sleep 15 + - name: Install WP GraphQL + working-directory: plugins/faustwp + run: | + docker exec --workdir=/var/www/html/wp-content/plugins/faustwp $(docker-compose ps -q wordpress) wp plugin install wp-graphql --activate --allow-root + - name: Setup testing data + working-directory: plugins/faustwp + run: | + docker exec --workdir=/var/www/html/wp-content/plugins/faustwp $(docker-compose ps -q wordpress) wp db export tests/_data/dump.sql --allow-root + - name: Copy env file + working-directory: plugins/faustwp + run: cp .env.testing.example .env.testing + - name: Run test + working-directory: plugins/faustwp + run: vendor/bin/codecept run acceptance + - name: Upload Test Output + uses: actions/upload-artifact@v2 + if: failure() + with: + name: failed-test-output + path: ${{ github.workspace }}/plugins/faustwp/tests/_output diff --git a/.github/workflows/eslint.yml b/.github/workflows/lint-packages.yml similarity index 89% rename from .github/workflows/eslint.yml rename to .github/workflows/lint-packages.yml index fd12e5d24..4979bf123 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/lint-packages.yml @@ -1,7 +1,7 @@ -name: lint +name: Lint Packages on: pull_request jobs: - lint: + lint_packages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/lint-plugin.yml b/.github/workflows/lint-plugin.yml new file mode 100644 index 000000000..95389c329 --- /dev/null +++ b/.github/workflows/lint-plugin.yml @@ -0,0 +1,18 @@ +name: Lint Plugin +on: pull_request +jobs: + lint_plugin: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '7.3' + - name: Install Dependencies + working-directory: plugins/faustwp + run: composer install + - name: Run Lint + working-directory: plugins/faustwp + run: composer lint diff --git a/.github/workflows/release-plugin.yml b/.github/workflows/release-plugin.yml new file mode 100644 index 000000000..7045720f4 --- /dev/null +++ b/.github/workflows/release-plugin.yml @@ -0,0 +1,20 @@ +name: Deploy to WordPress.org +on: + push: + tags: + - "plugin/faustwp/*" +jobs: + release_plugin: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: WordPress Plugin Deploy + # Use a variant of 10up/action-wordpress-plugin-deploy that allows us to specify a PLUGIN_DIR + # to support our monorepo structure. + uses: ./.github/actions/release-plugin + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + PLUGIN_DIR: plugins/faustwp + SLUG: faustwp diff --git a/.github/workflows/test.yml b/.github/workflows/test-packages.yml similarity index 89% rename from .github/workflows/test.yml rename to .github/workflows/test-packages.yml index 4d305fe1f..c7caa8c31 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test-packages.yml @@ -1,7 +1,7 @@ -name: test +name: Test Packages on: pull_request jobs: - test: + test_packages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test-plugin.yml b/.github/workflows/test-plugin.yml new file mode 100644 index 000000000..a2419afb1 --- /dev/null +++ b/.github/workflows/test-plugin.yml @@ -0,0 +1,19 @@ +name: Test Plugin +on: pull_request +jobs: + test_plugin: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Create Docker Containers + working-directory: ./plugins/faustwp + run: docker-compose up -d + - name: Sleep 15 seconds + run: sleep 15 + - name: Setup testing framework + working-directory: ./plugins/faustwp + run: docker exec $(docker-compose ps -q wordpress) init-testing-environment.sh + - name: Run unit tests + working-directory: ./plugins/faustwp + run: docker exec -w /var/www/html/wp-content/plugins/faustwp $(docker-compose ps -q wordpress) composer test diff --git a/.wp-env.json b/.wp-env.json deleted file mode 100644 index 9d1a7873a..000000000 --- a/.wp-env.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "core": "WordPress/WordPress#5.6", - "phpVersion": "7.4", - "plugins": [ - "https://downloads.wordpress.org/plugin/wp-graphql.1.1.3.zip", - "./plugins/wpe-headless" - ] -} \ No newline at end of file diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 94de5bf28..380a3d340 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -30,19 +30,19 @@ As this is a monorepo, you will not be able to check out this repository into `w Instead, you can create symlinks to the themes/plugins in this repository. Best of all, this will also sync your work across multiple local sites! -#### WPE Headless Plugin +#### FaustWP Plugin **Setup** -To begin working with the WPE Headless WordPress plugin, you will need to symlink the plugin from the monorepo to your WordPress plugin development directory. +To begin working with the FaustWP WordPress plugin, you will need to symlink the plugin from the monorepo to your WordPress plugin development directory. ``` -ln -s /path/to/faustjs/plugins/wpe-headless /path/to/wordpress/wp-content/plugins/wpe-headless +ln -s /path/to/faustjs/plugins/faustwp /path/to/wordpress/wp-content/plugins/faustwp ``` **PHP Code Sniffer** [PHP Code Sniffer](https://github.com/squizlabs/PHP_CodeSniffer) is configured for the [WordPress code standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/). -Install the composer packages from within `wpe-headless` directory if you haven't already. +Install the composer packages from within `faustwp` directory if you haven't already. ``` composer install @@ -61,34 +61,29 @@ composer phpcs:fix ``` **WordPress Unit Tests** -To run WordPress unit tests, set up the test framework: -``` -/bin/bash /path/to/faustjs/plugins/wpe-headless/tests/install-wp-tests.sh wpe_headless_tests db_name db_password -``` - -If you connect to MySQL via a sock connection, you can run the following. +To run WordPress unit tests, first create the Docker containers from the `plugins/faustwp` directory: ``` -/bin/bash /path/to/faustjs/plugins/wpe-headless/tests/install-wp-tests.sh wpe_headless_tests db_name db_password localhost:/path/to/mysql/mysqld.sock +docker-compose up -d ``` -Install the composer packages from within `wpe-headless` directory if you haven't already. +Once the containers are up, set up the test framework: ``` -composer install +docker-compose exec wordpress init-testing-environment.sh ``` -Within the `wpe-headless` directory, run `phpunit` either directly or as a composer command: +Run the unit tests: ``` -vendor/bin/phpunit +docker-compose exec -w /var/www/html/wp-content/plugins/faustwp wordpress composer test ``` -or +Finally, to remove the containers: ``` -composer test +docker-compose down ``` ## End-2-End Testing @@ -110,6 +105,7 @@ Use [Codeception](https://codeception.com/) for running end-2-end tests in the b ### 2. Front-end Setup 1. Create the following `.env.test` in `examples/next/getting-started`. + ``` # Your WordPress site URL NEXT_PUBLIC_WORDPRESS_URL=http://localhost:8080 @@ -117,17 +113,18 @@ NEXT_PUBLIC_WORDPRESS_URL=http://localhost:8080 # Plugin secret found in WordPress Settings->Headless WP_HEADLESS_SECRET=00000000-0000-0000-0000-000000000001 ``` + 2. From within `examples/next/getting-started`, run `NODE_ENV=test npm run dev`. ### 3. WordPress Setup 1. Leave the node server running and open a new shell. -1. Move into the WPE Headless plugin directory `plugins/wpe-headless`. +1. Move into the FaustWP plugin directory `plugins/faustwp`. 1. Run `composer install` if you haven't already. 1. Prepare a test WordPress site. - 1. Run `docker-compose up -d --build`. If building for the first time, it could take some time to download and build the images. - 1. Run `docker-compose exec --workdir=/var/www/html/wp-content/plugins/wpe-headless --user=www-data wordpress wp plugin install wp-graphql --activate` - 1. Run `docker-compose exec --workdir=/var/www/html/wp-content/plugins/wpe-headless --user=www-data wordpress wp db export tests/_data/dump.sql` + 1. Run `docker-compose up -d --build`. If building for the first time, it could take some time to download and build the images. + 1. Run `docker-compose exec --workdir=/var/www/html/wp-content/plugins/faustwp --user=www-data wordpress wp plugin install wp-graphql --activate` + 1. Run `docker-compose exec --workdir=/var/www/html/wp-content/plugins/faustwp --user=www-data wordpress wp db export tests/_data/dump.sql` 1. Copy `.env.testing.example` to `.env.testing`. 1. Run `vendor/bin/codecept run acceptance` to start the end-2-end tests. @@ -142,26 +139,20 @@ WP_HEADLESS_SECRET=00000000-0000-0000-0000-000000000001 Developers with full GitHub repository access can create public releases: -### Release the wpe-headless plugin - -1. Update the `Version` in the file header at `plugins/wpe-headless/wpe-headless.php`. -2. Update the changelog and 'stable tag' in `plugins/wpe-headless/readme.txt`. -3. Commit and push your changes for review **(DO NOT MERGE YET)**. -4. Tag the approved commit with `plugin/wpe-headless/[version]`, for example: `git tag plugin/wpe-headless/0.3.5` and push the tag (`git push --tags`). Or use GitHub to [create a new release](https://github.com/wpengine/faustjs/releases/new) with that tag. This must be done prior to merging changes into the `canary` branch. -5. Merge your changes into the `canary` branch +### Release the FaustWP plugin -CircleCI will build and deploy the plugin zip. The latest version will be available here: - -`https://wp-product-info.wpesvc.net/v1/plugins/wpe-headless?download` +1. Update the `Version` in the file header at `plugins/faustwp/faustwp.php`. +2. Update the changelog and 'stable tag' in `plugins/faustwp/readme.txt`. +3. Commit and merge your changes into the `canary` branch. +4. Create a new release on GitHub with a tag of `plugin/faustwp/[version]`. This will kick off our GitHub Action to deploy the `faustwp` plugin to WordPress.org ### Release the @faustjs packages -1. From the monorepo root directory, run either `npm run patch` or `npm run minor`. This will increment all the packages' versions, keeping them in lockstep. -2. Remove `node_modules` and `package-lock.json` from the root directory. -3. Run `npm i && npm test` to verify that the packages are working. -4. Update the changelogs of the applicable packages. -5. Commit and push your changes for review. -6. Once reviewed and merged into `canary`, our GitHub Actions workflow will publish the packages to NPM. +We use [Changesets](https://github.com/atlassian/changesets) to automate our deployment process for the @faustjs packages. + +1. When you are ready to release the @faustjs packages, go to [pull requests](https://github.com/wpengine/faustjs/pulls), and view the "Release Packages" PR. +2. Review the changes and make sure that the packages are versioned appropriately, and that the changelogs reflect the changes accurately. +3. When ready to release, merge the PR into `canary`. This will kick off the GitHub Action to publish to NPM. Once deployed, the updated packages will be visible here: diff --git a/docs/next/guides/fetching-data.mdx b/docs/next/guides/fetching-data.mdx index e5be4e9ed..3798b436d 100644 --- a/docs/next/guides/fetching-data.mdx +++ b/docs/next/guides/fetching-data.mdx @@ -104,20 +104,20 @@ To do this you will need to run `gqty generate` again. Running `gqty generate` w ## Providing the GQty Client to Faust.js -Using the boilerplate client code will provide two different GQty clients that you can use depending upon whether you are on the client or server. However, you will still need to provide the client to Faust.js so that it can use it to fetch data. To do this you can use the `HeadlessProvider` component published by Faust.js, and provide it the GQty client you want to use. This is done in your `_app.tsx` file as follows: +Using the boilerplate client code will provide two different GQty clients that you can use depending upon whether you are on the client or server. However, you will still need to provide the client to Faust.js so that it can use it to fetch data. To do this you can use the `FaustProvider` component published by Faust.js, and provide it the GQty client you want to use. This is done in your `_app.tsx` file as follows: ```tsx title=src/pages/_app.tsx {2,9,11} import 'faust.config'; -import { HeadlessProvider } from '@faustjs/next'; +import { FaustProvider } from '@faustjs/next'; import { client } from 'client'; import type { AppProps } from 'next/app'; export default function MyApp({ Component, pageProps }: AppProps) { return ( <> - + - + ); } diff --git a/docs/next/guides/post-page-previews.mdx b/docs/next/guides/post-page-previews.mdx index fd9843967..ceb319401 100644 --- a/docs/next/guides/post-page-previews.mdx +++ b/docs/next/guides/post-page-previews.mdx @@ -39,16 +39,16 @@ You'll need to import it at the top of your `_app.tsx` file to ensure the `confi ```tsx title=_app.tsx {1} import 'faust.config'; -import { HeadlessProvider } from '@faustjs/next'; +import { FaustProvider } from '@faustjs/next'; import { client } from 'client'; import type { AppProps } from 'next/app'; export default function MyApp({ Component, pageProps }: AppProps) { return ( <> - + - + ); } diff --git a/docs/next/guides/ssr-ssg.mdx b/docs/next/guides/ssr-ssg.mdx index 1812c0f18..12add812a 100644 --- a/docs/next/guides/ssr-ssg.mdx +++ b/docs/next/guides/ssr-ssg.mdx @@ -158,30 +158,30 @@ export async function getServerSideProps(context: GetServerSidePropsContext) { As mentioned in `getNextStaticProps`, the reason `MyPage` and `client` are passed to `getNextServerSideProps` is because under the hood Faust.js performs a skeleton render of the page component to know what data to fetch and what queries to build. This allows the developer to not have to think about batching/constructing queries, or data fetching. -## Rehydration Using `` +## Rehydration Using `` -In order to properly facilitate SSR and SSG you must use the built-in component published in `faustjs/next` called `HeadlessProvider`. This component performs the following: +In order to properly facilitate SSR and SSG you must use the built-in component published in `faustjs/next` called `FaustProvider`. This component performs the following: 1. Sets the `client` to be used with every request for WordPress data. 1. Hydrates the `client` cache using the prepared cache snapshot from `getNextServerSideProps` or `getNextStaticProps`. 1. Renders its `children` -### Adding `` to your `_app.tsx` +### Adding `` to your `_app.tsx` -Using the `HeadlessProvider` component us easy, and if you are using an example `next` project published by Faust.js it will happen automatically. If you are adding `Faust.js` to your project, you will want to put `HeadlessProvider` at the top of your component tree. Typically in a Next.js app this means in your `pages/_app.tsx` file as follows: +Using the `FaustProvider` component us easy, and if you are using an example `next` project published by Faust.js it will happen automatically. If you are adding `Faust.js` to your project, you will want to put `FaustProvider` at the top of your component tree. Typically in a Next.js app this means in your `pages/_app.tsx` file as follows: ```tsx title=src/pages/_app.tsx {9,11} import 'faust.config'; -import { HeadlessProvider } from '@faustjs/next'; +import { FaustProvider } from '@faustjs/next'; import { client } from 'client'; import type { AppProps } from 'next/app'; export default function MyApp({ Component, pageProps }: AppProps) { return ( <> - + - + ); } diff --git a/docs/tutorial/setup-faustjs.mdx b/docs/tutorial/setup-faustjs.mdx index 61edf09de..8b0c91c71 100644 --- a/docs/tutorial/setup-faustjs.mdx +++ b/docs/tutorial/setup-faustjs.mdx @@ -211,9 +211,9 @@ npm run generate The `generate` script will create a `client/schema.generated.ts` file upon completion. -### Implement the `` Component +### Implement the `` Component -The `` is a [Higher-Order Component](https://reactjs.org/docs/higher-order-components.html) that wraps your Next.js app to provide Faust.js with the context needed for fetching data and caching. +The `` is a [Higher-Order Component](https://reactjs.org/docs/higher-order-components.html) that wraps your Next.js app to provide Faust.js with the context needed for fetching data and caching. Replace the existing `pages/_app.tsx` file contents with the following: @@ -222,14 +222,14 @@ import '../faust.config'; import '../styles/globals.css'; import type { AppProps /*, AppContext */ } from 'next/app'; -import { HeadlessProvider } from '@faustjs/next'; +import { FaustProvider } from '@faustjs/next'; import { client } from '../client'; function MyApp({ Component, pageProps }: AppProps) { return ( - + - + ); } diff --git a/examples/next/getting-started/package.json b/examples/next/getting-started/package.json index eb278697e..a16047ab3 100644 --- a/examples/next/getting-started/package.json +++ b/examples/next/getting-started/package.json @@ -12,8 +12,8 @@ "wpe-build": "next build" }, "dependencies": { - "@faustjs/core": "^0.12.3", - "@faustjs/next": "^0.12.3", + "@faustjs/core": "^0.12.4", + "@faustjs/next": "^0.13.0", "next": "^11.1.2", "normalize.css": "^8.0.1", "react": "^17.0.2", diff --git a/examples/next/getting-started/src/pages/_app.tsx b/examples/next/getting-started/src/pages/_app.tsx index d9b65f1f5..cbbf71a6f 100644 --- a/examples/next/getting-started/src/pages/_app.tsx +++ b/examples/next/getting-started/src/pages/_app.tsx @@ -1,5 +1,5 @@ import 'faust.config'; -import { HeadlessProvider } from '@faustjs/next'; +import { FaustProvider } from '@faustjs/next'; import 'normalize.css/normalize.css'; import React from 'react'; import 'scss/main.scss'; @@ -9,9 +9,9 @@ import type { AppProps } from 'next/app'; export default function MyApp({ Component, pageProps }: AppProps) { return ( <> - + - + ); } diff --git a/examples/react/getting-started/.env.sample b/examples/react/getting-started/.env.sample deleted file mode 100644 index ded378660..000000000 --- a/examples/react/getting-started/.env.sample +++ /dev/null @@ -1,8 +0,0 @@ -# The URL to your WordPress site -REACT_APP_WORDPRESS_URL=https://headlessfw.wpengine.com - -# Plugin secret found in WordPress Settings->Headless. For Previews. -WP_HEADLESS_SECRET=YOUR_PLUGIN_SECRET - -# The URL to the Headless API server for previews -REACT_APP_API_URL=http://localhost:5000 diff --git a/examples/react/getting-started/.gitignore b/examples/react/getting-started/.gitignore deleted file mode 100644 index 8692cf66d..000000000 --- a/examples/react/getting-started/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# production -/build - -# misc -.DS_Store -.env -.env.local -.env.development.local -.env.test.local -.env.production.local - -npm-debug.log* -yarn-debug.log* -yarn-error.log* diff --git a/examples/react/getting-started/README.md b/examples/react/getting-started/README.md deleted file mode 100644 index 594ecb91b..000000000 --- a/examples/react/getting-started/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Create React App Headless WordPress Getting Started Example - -## Setup - -See the [setup steps](https://github.com/wpengine/faustjs#quick-start). - -## Run it - -```bash -npm install -npm start-server -npm start -``` - -[http://localhost:3000]() diff --git a/examples/react/getting-started/gqty.js b/examples/react/getting-started/gqty.js deleted file mode 100644 index 914bab8c6..000000000 --- a/examples/react/getting-started/gqty.js +++ /dev/null @@ -1,20 +0,0 @@ -require('dotenv').config(); -require('./src/faust.config'); -const { getGqlUrl } = require('@faustjs/core'); - -/** - * @type {import("@gqty/cli").GQtyConfig} - */ -const config = { - react: false, - scalarTypes: { DateTime: 'string' }, - introspection: { - endpoint: getGqlUrl(), - headers: {}, - }, - destination: './src/client/index.ts', - subscriptions: false, - javascriptOutput: false, -}; - -module.exports = config; diff --git a/examples/react/getting-started/package.json b/examples/react/getting-started/package.json deleted file mode 100644 index 726ec96ba..000000000 --- a/examples/react/getting-started/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "react-headless-getting-started", - "version": "0.1.0", - "private": true, - "dependencies": { - "@faustjs/core": "^0.10.2", - "@faustjs/react": "^0.10.2", - "@types/node": "^15.12.3", - "@types/react": "^17.0.11", - "@types/react-dom": "^17.0.8", - "@types/react-router-dom": "^5.1.7", - "dotenv": "^10.0.0", - "express": "^4.17.1", - "normalize.css": "^8.0.1", - "query-string": "^7.0.0", - "react": "^17.0.2", - "react-content-loader": "^6.0.3", - "react-dom": "^17.0.2", - "react-helmet-async": "^1.0.9", - "react-router": "^5.2.0", - "react-router-dom": "^5.2.0", - "react-scripts": "^4.0.3", - "sass": "^1.35.1", - "typescript": "^4.3.4" - }, - "scripts": { - "start": "react-scripts start", - "start-server": "node server.js", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject", - "wpe-build": "next build", - "generate": "gqty generate" - }, - "eslintConfig": { - "extends": [ - "react-app" - ] - }, - "proxy": "http://localhost:5000", - "browserslist": { - "production": [ - ">0.2%", - "not dead", - "not op_mini all" - ], - "development": [ - "last 1 chrome version", - "last 1 firefox version", - "last 1 safari version" - ] - }, - "devDependencies": { - "@gqty/cli": "^1.0.4" - } -} diff --git a/examples/react/getting-started/public/favicon.ico b/examples/react/getting-started/public/favicon.ico deleted file mode 100644 index 851e88c43..000000000 Binary files a/examples/react/getting-started/public/favicon.ico and /dev/null differ diff --git a/examples/react/getting-started/public/index.html b/examples/react/getting-started/public/index.html deleted file mode 100644 index e28ceef92..000000000 --- a/examples/react/getting-started/public/index.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - Headless By WP Engine - - - -
- - - diff --git a/examples/react/getting-started/public/robots.txt b/examples/react/getting-started/public/robots.txt deleted file mode 100644 index e9e57dc4d..000000000 --- a/examples/react/getting-started/public/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# https://www.robotstxt.org/robotstxt.html -User-agent: * -Disallow: diff --git a/examples/react/getting-started/server.js b/examples/react/getting-started/server.js deleted file mode 100644 index 6ebf1a316..000000000 --- a/examples/react/getting-started/server.js +++ /dev/null @@ -1,17 +0,0 @@ -const express = require('express'); -const app = express(); -const { authorizeHandler } = require('@faustjs/core'); -const port = 5000; - -require('./src/faust.config'); - -app.get('/api/auth/wpe-headless', (req, res) => { - // Get the full request URL - req.url = req.protocol + '://' + req.get('host') + req.originalUrl; - - return authorizeHandler(req, res); -}); - -app.listen(port, () => { - console.log(`Headless API listening on port ${port}`); -}); diff --git a/examples/react/getting-started/src/client/index.ts b/examples/react/getting-started/src/client/index.ts deleted file mode 100644 index 94a0534ef..000000000 --- a/examples/react/getting-started/src/client/index.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * GQTY: You can safely modify this file and Query Fetcher based on your needs - */ -import type { IncomingMessage } from 'http'; -import { getClient } from '@faustjs/react'; -import { - generatedSchema, - scalarsEnumsHash, - GeneratedSchema, - SchemaObjectTypes, - SchemaObjectTypesNames, -} from './schema.generated'; - -export const client = getClient< - GeneratedSchema, - SchemaObjectTypesNames, - SchemaObjectTypes ->({ - schema: generatedSchema, - scalarsEnumsHash, -}); - -export function serverClient(req: IncomingMessage) { - return getClient({ - schema: generatedSchema, - scalarsEnumsHash, - context: req, - }); -} - -export * from './schema.generated'; diff --git a/examples/react/getting-started/src/client/schema.generated.ts b/examples/react/getting-started/src/client/schema.generated.ts deleted file mode 100644 index bd4147bf4..000000000 --- a/examples/react/getting-started/src/client/schema.generated.ts +++ /dev/null @@ -1,17076 +0,0 @@ -/** - * GQTY AUTO-GENERATED CODE: PLEASE DO NOT MODIFY MANUALLY - */ - -import { SchemaUnionsKey } from 'gqty'; - -export type Maybe = T | null; -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 }; -/** All built-in and custom scalars, mapped to their actual values */ -export interface Scalars { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; -} - -/** Arguments for filtering the RootQueryToCategoryConnection connection */ -export interface RootQueryToCategoryConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** The cardinality of the connection order */ -export enum OrderEnum { - /** Sort the query result set in an ascending order */ - ASC = 'ASC', - /** Sort the query result set in a descending order */ - DESC = 'DESC', -} - -/** Options for ordering the connection by */ -export enum TermObjectsConnectionOrderbyEnum { - /** Order the connection by item count. */ - COUNT = 'COUNT', - /** Order the connection by description. */ - DESCRIPTION = 'DESCRIPTION', - /** Order the connection by name. */ - NAME = 'NAME', - /** Order the connection by slug. */ - SLUG = 'SLUG', - /** Order the connection by term group. */ - TERM_GROUP = 'TERM_GROUP', - /** Order the connection by term id. */ - TERM_ID = 'TERM_ID', - /** Order the connection by term order. */ - TERM_ORDER = 'TERM_ORDER', -} - -/** Arguments for filtering the CategoryToCategoryConnection connection */ -export interface CategoryToCategoryConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** Arguments for filtering the CategoryToContentNodeConnection connection */ -export interface CategoryToContentNodeConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Allowed Content Types of the Category taxonomy. */ -export enum ContentTypesOfCategoryEnum { - /** The Type of Content object */ - POST = 'POST', -} - -/** Filter the connection based on input */ -export interface DateQueryInput { - /** Nodes should be returned after this date */ - after?: Maybe; - /** Nodes should be returned before this date */ - before?: Maybe; - /** Column to query against */ - column?: Maybe; - /** For after/before, whether exact value should be matched or not */ - compare?: Maybe; - /** Day of the month (from 1 to 31) */ - day?: Maybe; - /** Hour (from 0 to 23) */ - hour?: Maybe; - /** For after/before, whether exact value should be matched or not */ - inclusive?: Maybe; - /** Minute (from 0 to 59) */ - minute?: Maybe; - /** Month number (from 1 to 12) */ - month?: Maybe; - /** OR or AND, how the sub-arrays should be compared */ - relation?: Maybe; - /** Second (0 to 59) */ - second?: Maybe; - /** Week of the year (from 0 to 53) */ - week?: Maybe; - /** 4 digit year (e.g. 2017) */ - year?: Maybe; -} - -/** Date values */ -export interface DateInput { - /** Day of the month (from 1 to 31) */ - day?: Maybe; - /** Month number (from 1 to 12) */ - month?: Maybe; - /** 4 digit year (e.g. 2017) */ - year?: Maybe; -} - -/** The column to use when filtering by date */ -export enum PostObjectsConnectionDateColumnEnum { - /** The date the comment was created in local time. */ - DATE = 'DATE', - /** The most recent modification date of the comment. */ - MODIFIED = 'MODIFIED', -} - -/** The logical relation between each item in the array when there are more than one. */ -export enum RelationEnum { - /** The logical AND condition returns true if both operands are true, otherwise, it returns false. */ - AND = 'AND', - /** The logical OR condition returns false if both operands are false, otherwise, it returns true. */ - OR = 'OR', -} - -/** The MimeType of the object */ -export enum MimeTypeEnum { - /** MimeType application/java */ - APPLICATION_JAVA = 'APPLICATION_JAVA', - /** MimeType application/msword */ - APPLICATION_MSWORD = 'APPLICATION_MSWORD', - /** MimeType application/octet-stream */ - APPLICATION_OCTET_STREAM = 'APPLICATION_OCTET_STREAM', - /** MimeType application/onenote */ - APPLICATION_ONENOTE = 'APPLICATION_ONENOTE', - /** MimeType application/oxps */ - APPLICATION_OXPS = 'APPLICATION_OXPS', - /** MimeType application/pdf */ - APPLICATION_PDF = 'APPLICATION_PDF', - /** MimeType application/rar */ - APPLICATION_RAR = 'APPLICATION_RAR', - /** MimeType application/rtf */ - APPLICATION_RTF = 'APPLICATION_RTF', - /** MimeType application/ttaf+xml */ - APPLICATION_TTAF_XML = 'APPLICATION_TTAF_XML', - /** MimeType application/vnd.apple.keynote */ - APPLICATION_VND_APPLE_KEYNOTE = 'APPLICATION_VND_APPLE_KEYNOTE', - /** MimeType application/vnd.apple.numbers */ - APPLICATION_VND_APPLE_NUMBERS = 'APPLICATION_VND_APPLE_NUMBERS', - /** MimeType application/vnd.apple.pages */ - APPLICATION_VND_APPLE_PAGES = 'APPLICATION_VND_APPLE_PAGES', - /** MimeType application/vnd.ms-access */ - APPLICATION_VND_MS_ACCESS = 'APPLICATION_VND_MS_ACCESS', - /** MimeType application/vnd.ms-excel */ - APPLICATION_VND_MS_EXCEL = 'APPLICATION_VND_MS_EXCEL', - /** MimeType application/vnd.ms-excel.addin.macroEnabled.12 */ - APPLICATION_VND_MS_EXCEL_ADDIN_MACROENABLED_12 = 'APPLICATION_VND_MS_EXCEL_ADDIN_MACROENABLED_12', - /** MimeType application/vnd.ms-excel.sheet.binary.macroEnabled.12 */ - APPLICATION_VND_MS_EXCEL_SHEET_BINARY_MACROENABLED_12 = 'APPLICATION_VND_MS_EXCEL_SHEET_BINARY_MACROENABLED_12', - /** MimeType application/vnd.ms-excel.sheet.macroEnabled.12 */ - APPLICATION_VND_MS_EXCEL_SHEET_MACROENABLED_12 = 'APPLICATION_VND_MS_EXCEL_SHEET_MACROENABLED_12', - /** MimeType application/vnd.ms-excel.template.macroEnabled.12 */ - APPLICATION_VND_MS_EXCEL_TEMPLATE_MACROENABLED_12 = 'APPLICATION_VND_MS_EXCEL_TEMPLATE_MACROENABLED_12', - /** MimeType application/vnd.ms-powerpoint */ - APPLICATION_VND_MS_POWERPOINT = 'APPLICATION_VND_MS_POWERPOINT', - /** MimeType application/vnd.ms-powerpoint.addin.macroEnabled.12 */ - APPLICATION_VND_MS_POWERPOINT_ADDIN_MACROENABLED_12 = 'APPLICATION_VND_MS_POWERPOINT_ADDIN_MACROENABLED_12', - /** MimeType application/vnd.ms-powerpoint.presentation.macroEnabled.12 */ - APPLICATION_VND_MS_POWERPOINT_PRESENTATION_MACROENABLED_12 = 'APPLICATION_VND_MS_POWERPOINT_PRESENTATION_MACROENABLED_12', - /** MimeType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 */ - APPLICATION_VND_MS_POWERPOINT_SLIDESHOW_MACROENABLED_12 = 'APPLICATION_VND_MS_POWERPOINT_SLIDESHOW_MACROENABLED_12', - /** MimeType application/vnd.ms-powerpoint.slide.macroEnabled.12 */ - APPLICATION_VND_MS_POWERPOINT_SLIDE_MACROENABLED_12 = 'APPLICATION_VND_MS_POWERPOINT_SLIDE_MACROENABLED_12', - /** MimeType application/vnd.ms-powerpoint.template.macroEnabled.12 */ - APPLICATION_VND_MS_POWERPOINT_TEMPLATE_MACROENABLED_12 = 'APPLICATION_VND_MS_POWERPOINT_TEMPLATE_MACROENABLED_12', - /** MimeType application/vnd.ms-project */ - APPLICATION_VND_MS_PROJECT = 'APPLICATION_VND_MS_PROJECT', - /** MimeType application/vnd.ms-word.document.macroEnabled.12 */ - APPLICATION_VND_MS_WORD_DOCUMENT_MACROENABLED_12 = 'APPLICATION_VND_MS_WORD_DOCUMENT_MACROENABLED_12', - /** MimeType application/vnd.ms-word.template.macroEnabled.12 */ - APPLICATION_VND_MS_WORD_TEMPLATE_MACROENABLED_12 = 'APPLICATION_VND_MS_WORD_TEMPLATE_MACROENABLED_12', - /** MimeType application/vnd.ms-write */ - APPLICATION_VND_MS_WRITE = 'APPLICATION_VND_MS_WRITE', - /** MimeType application/vnd.ms-xpsdocument */ - APPLICATION_VND_MS_XPSDOCUMENT = 'APPLICATION_VND_MS_XPSDOCUMENT', - /** MimeType application/vnd.oasis.opendocument.chart */ - APPLICATION_VND_OASIS_OPENDOCUMENT_CHART = 'APPLICATION_VND_OASIS_OPENDOCUMENT_CHART', - /** MimeType application/vnd.oasis.opendocument.database */ - APPLICATION_VND_OASIS_OPENDOCUMENT_DATABASE = 'APPLICATION_VND_OASIS_OPENDOCUMENT_DATABASE', - /** MimeType application/vnd.oasis.opendocument.formula */ - APPLICATION_VND_OASIS_OPENDOCUMENT_FORMULA = 'APPLICATION_VND_OASIS_OPENDOCUMENT_FORMULA', - /** MimeType application/vnd.oasis.opendocument.graphics */ - APPLICATION_VND_OASIS_OPENDOCUMENT_GRAPHICS = 'APPLICATION_VND_OASIS_OPENDOCUMENT_GRAPHICS', - /** MimeType application/vnd.oasis.opendocument.presentation */ - APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION = 'APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION', - /** MimeType application/vnd.oasis.opendocument.spreadsheet */ - APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET = 'APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET', - /** MimeType application/vnd.oasis.opendocument.text */ - APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT = 'APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT', - /** MimeType application/vnd.openxmlformats-officedocument.presentationml.presentation */ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION', - /** MimeType application/vnd.openxmlformats-officedocument.presentationml.slide */ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDE = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDE', - /** MimeType application/vnd.openxmlformats-officedocument.presentationml.slideshow */ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDESHOW = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDESHOW', - /** MimeType application/vnd.openxmlformats-officedocument.presentationml.template */ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_TEMPLATE = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_TEMPLATE', - /** MimeType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet */ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET', - /** MimeType application/vnd.openxmlformats-officedocument.spreadsheetml.template */ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_TEMPLATE = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_TEMPLATE', - /** MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.document */ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT', - /** MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.template */ - APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_TEMPLATE = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_TEMPLATE', - /** MimeType application/wordperfect */ - APPLICATION_WORDPERFECT = 'APPLICATION_WORDPERFECT', - /** MimeType application/x-7z-compressed */ - APPLICATION_X_7Z_COMPRESSED = 'APPLICATION_X_7Z_COMPRESSED', - /** MimeType application/x-gzip */ - APPLICATION_X_GZIP = 'APPLICATION_X_GZIP', - /** MimeType application/x-tar */ - APPLICATION_X_TAR = 'APPLICATION_X_TAR', - /** MimeType application/zip */ - APPLICATION_ZIP = 'APPLICATION_ZIP', - /** MimeType audio/aac */ - AUDIO_AAC = 'AUDIO_AAC', - /** MimeType audio/flac */ - AUDIO_FLAC = 'AUDIO_FLAC', - /** MimeType audio/midi */ - AUDIO_MIDI = 'AUDIO_MIDI', - /** MimeType audio/mpeg */ - AUDIO_MPEG = 'AUDIO_MPEG', - /** MimeType audio/ogg */ - AUDIO_OGG = 'AUDIO_OGG', - /** MimeType audio/wav */ - AUDIO_WAV = 'AUDIO_WAV', - /** MimeType audio/x-matroska */ - AUDIO_X_MATROSKA = 'AUDIO_X_MATROSKA', - /** MimeType audio/x-ms-wax */ - AUDIO_X_MS_WAX = 'AUDIO_X_MS_WAX', - /** MimeType audio/x-ms-wma */ - AUDIO_X_MS_WMA = 'AUDIO_X_MS_WMA', - /** MimeType audio/x-realaudio */ - AUDIO_X_REALAUDIO = 'AUDIO_X_REALAUDIO', - /** MimeType image/bmp */ - IMAGE_BMP = 'IMAGE_BMP', - /** MimeType image/gif */ - IMAGE_GIF = 'IMAGE_GIF', - /** MimeType image/heic */ - IMAGE_HEIC = 'IMAGE_HEIC', - /** MimeType image/jpeg */ - IMAGE_JPEG = 'IMAGE_JPEG', - /** MimeType image/png */ - IMAGE_PNG = 'IMAGE_PNG', - /** MimeType image/tiff */ - IMAGE_TIFF = 'IMAGE_TIFF', - /** MimeType image/webp */ - IMAGE_WEBP = 'IMAGE_WEBP', - /** MimeType image/x-icon */ - IMAGE_X_ICON = 'IMAGE_X_ICON', - /** MimeType text/calendar */ - TEXT_CALENDAR = 'TEXT_CALENDAR', - /** MimeType text/css */ - TEXT_CSS = 'TEXT_CSS', - /** MimeType text/csv */ - TEXT_CSV = 'TEXT_CSV', - /** MimeType text/plain */ - TEXT_PLAIN = 'TEXT_PLAIN', - /** MimeType text/richtext */ - TEXT_RICHTEXT = 'TEXT_RICHTEXT', - /** MimeType text/tab-separated-values */ - TEXT_TAB_SEPARATED_VALUES = 'TEXT_TAB_SEPARATED_VALUES', - /** MimeType text/vtt */ - TEXT_VTT = 'TEXT_VTT', - /** MimeType video/3gpp */ - VIDEO_3GPP = 'VIDEO_3GPP', - /** MimeType video/3gpp2 */ - VIDEO_3GPP2 = 'VIDEO_3GPP2', - /** MimeType video/avi */ - VIDEO_AVI = 'VIDEO_AVI', - /** MimeType video/divx */ - VIDEO_DIVX = 'VIDEO_DIVX', - /** MimeType video/mp4 */ - VIDEO_MP4 = 'VIDEO_MP4', - /** MimeType video/mpeg */ - VIDEO_MPEG = 'VIDEO_MPEG', - /** MimeType video/ogg */ - VIDEO_OGG = 'VIDEO_OGG', - /** MimeType video/quicktime */ - VIDEO_QUICKTIME = 'VIDEO_QUICKTIME', - /** MimeType video/webm */ - VIDEO_WEBM = 'VIDEO_WEBM', - /** MimeType video/x-flv */ - VIDEO_X_FLV = 'VIDEO_X_FLV', - /** MimeType video/x-matroska */ - VIDEO_X_MATROSKA = 'VIDEO_X_MATROSKA', - /** MimeType video/x-ms-asf */ - VIDEO_X_MS_ASF = 'VIDEO_X_MS_ASF', - /** MimeType video/x-ms-wm */ - VIDEO_X_MS_WM = 'VIDEO_X_MS_WM', - /** MimeType video/x-ms-wmv */ - VIDEO_X_MS_WMV = 'VIDEO_X_MS_WMV', - /** MimeType video/x-ms-wmx */ - VIDEO_X_MS_WMX = 'VIDEO_X_MS_WMX', -} - -/** Options for ordering the connection */ -export interface PostObjectsConnectionOrderbyInput { - /** The field to order the connection by */ - field: PostObjectsConnectionOrderbyEnum; - /** Possible directions in which to order a list of items */ - order: OrderEnum; -} - -/** Field to order the connection by */ -export enum PostObjectsConnectionOrderbyEnum { - /** Order by author */ - AUTHOR = 'AUTHOR', - /** Order by the number of comments it has acquired */ - COMMENT_COUNT = 'COMMENT_COUNT', - /** Order by publish date */ - DATE = 'DATE', - /** Preserve the ID order given in the IN array */ - IN = 'IN', - /** Order by the menu order value */ - MENU_ORDER = 'MENU_ORDER', - /** Order by last modified date */ - MODIFIED = 'MODIFIED', - /** Preserve slug order given in the NAME_IN array */ - NAME_IN = 'NAME_IN', - /** Order by parent ID */ - PARENT = 'PARENT', - /** Order by slug */ - SLUG = 'SLUG', - /** Order by title */ - TITLE = 'TITLE', -} - -/** The status of the object. */ -export enum PostStatusEnum { - /** Objects with the auto-draft status */ - AUTO_DRAFT = 'AUTO_DRAFT', - /** Objects with the draft status */ - DRAFT = 'DRAFT', - /** Objects with the future status */ - FUTURE = 'FUTURE', - /** Objects with the inherit status */ - INHERIT = 'INHERIT', - /** Objects with the pending status */ - PENDING = 'PENDING', - /** Objects with the private status */ - PRIVATE = 'PRIVATE', - /** Objects with the publish status */ - PUBLISH = 'PUBLISH', - /** Objects with the request-completed status */ - REQUEST_COMPLETED = 'REQUEST_COMPLETED', - /** Objects with the request-confirmed status */ - REQUEST_CONFIRMED = 'REQUEST_CONFIRMED', - /** Objects with the request-failed status */ - REQUEST_FAILED = 'REQUEST_FAILED', - /** Objects with the request-pending status */ - REQUEST_PENDING = 'REQUEST_PENDING', - /** Objects with the trash status */ - TRASH = 'TRASH', -} - -/** Arguments for filtering the ContentTypeToContentNodeConnection connection */ -export interface ContentTypeToContentNodeConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Allowed Content Types */ -export enum ContentTypeEnum { - /** The Type of Content object */ - ATTACHMENT = 'ATTACHMENT', - /** The Type of Content object */ - PAGE = 'PAGE', - /** The Type of Content object */ - POST = 'POST', -} - -/** What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. Default is the value of the 'avatar_rating' option */ -export enum AvatarRatingEnum { - /** Indicates a G level avatar rating level. */ - G = 'G', - /** Indicates a PG level avatar rating level. */ - PG = 'PG', - /** Indicates an R level avatar rating level. */ - R = 'R', - /** Indicates an X level avatar rating level. */ - X = 'X', -} - -/** Arguments for filtering the UserToCommentConnection connection */ -export interface UserToCommentConnectionWhereArgs { - /** Comment author email address. */ - authorEmail?: Maybe; - /** Array of author IDs to include comments for. */ - authorIn?: Maybe>>; - /** Array of author IDs to exclude comments for. */ - authorNotIn?: Maybe>>; - /** Comment author URL. */ - authorUrl?: Maybe; - /** Array of comment IDs to include. */ - commentIn?: Maybe>>; - /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ - commentNotIn?: Maybe>>; - /** Include comments of a given type. */ - commentType?: Maybe; - /** Include comments from a given array of comment types. */ - commentTypeIn?: Maybe>>; - /** Exclude comments from a given array of comment types. */ - commentTypeNotIn?: Maybe; - /** Content object author ID to limit results by. */ - contentAuthor?: Maybe>>; - /** Array of author IDs to retrieve comments for. */ - contentAuthorIn?: Maybe>>; - /** Array of author IDs *not* to retrieve comments for. */ - contentAuthorNotIn?: Maybe>>; - /** Limit results to those affiliated with a given content object ID. */ - contentId?: Maybe; - /** Array of content object IDs to include affiliated comments for. */ - contentIdIn?: Maybe>>; - /** Array of content object IDs to exclude affiliated comments for. */ - contentIdNotIn?: Maybe>>; - /** Content object name to retrieve affiliated comments for. */ - contentName?: Maybe; - /** Content Object parent ID to retrieve affiliated comments for. */ - contentParent?: Maybe; - /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentStatus?: Maybe>>; - /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentType?: Maybe>>; - /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ - includeUnapproved?: Maybe>>; - /** Karma score to retrieve matching comments for. */ - karma?: Maybe; - /** The cardinality of the order of the connection */ - order?: Maybe; - /** Field to order the comments by. */ - orderby?: Maybe; - /** Parent ID of comment to retrieve children of. */ - parent?: Maybe; - /** Array of parent IDs of comments to retrieve children for. */ - parentIn?: Maybe>>; - /** Array of parent IDs of comments *not* to retrieve children for. */ - parentNotIn?: Maybe>>; - /** Search term(s) to retrieve matching comments for. */ - search?: Maybe; - /** Comment status to limit results by. */ - status?: Maybe; - /** Include comments for a specific user ID. */ - userId?: Maybe; -} - -/** Options for ordering the connection */ -export enum CommentsConnectionOrderbyEnum { - /** Order by browser user agent of the commenter. */ - COMMENT_AGENT = 'COMMENT_AGENT', - /** Order by true/false approval of the comment. */ - COMMENT_APPROVED = 'COMMENT_APPROVED', - /** Order by name of the comment author. */ - COMMENT_AUTHOR = 'COMMENT_AUTHOR', - /** Order by e-mail of the comment author. */ - COMMENT_AUTHOR_EMAIL = 'COMMENT_AUTHOR_EMAIL', - /** Order by IP address of the comment author. */ - COMMENT_AUTHOR_IP = 'COMMENT_AUTHOR_IP', - /** Order by URL address of the comment author. */ - COMMENT_AUTHOR_URL = 'COMMENT_AUTHOR_URL', - /** Order by the comment contents. */ - COMMENT_CONTENT = 'COMMENT_CONTENT', - /** Order by date/time timestamp of the comment. */ - COMMENT_DATE = 'COMMENT_DATE', - /** Order by GMT timezone date/time timestamp of the comment. */ - COMMENT_DATE_GMT = 'COMMENT_DATE_GMT', - /** Order by the globally unique identifier for the comment object */ - COMMENT_ID = 'COMMENT_ID', - /** Order by the array list of comment IDs listed in the where clause. */ - COMMENT_IN = 'COMMENT_IN', - /** Order by the comment karma score. */ - COMMENT_KARMA = 'COMMENT_KARMA', - /** Order by the comment parent ID. */ - COMMENT_PARENT = 'COMMENT_PARENT', - /** Order by the post object ID. */ - COMMENT_POST_ID = 'COMMENT_POST_ID', - /** Order by the the type of comment, such as 'comment', 'pingback', or 'trackback'. */ - COMMENT_TYPE = 'COMMENT_TYPE', - /** Order by the user ID. */ - USER_ID = 'USER_ID', -} - -/** The format of post field data. */ -export enum PostObjectFieldFormatEnum { - /** Provide the field value directly from database */ - RAW = 'RAW', - /** Apply the default WordPress rendering */ - RENDERED = 'RENDERED', -} - -/** Arguments for filtering the CommentToParentCommentConnection connection */ -export interface CommentToParentCommentConnectionWhereArgs { - /** Comment author email address. */ - authorEmail?: Maybe; - /** Array of author IDs to include comments for. */ - authorIn?: Maybe>>; - /** Array of author IDs to exclude comments for. */ - authorNotIn?: Maybe>>; - /** Comment author URL. */ - authorUrl?: Maybe; - /** Array of comment IDs to include. */ - commentIn?: Maybe>>; - /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ - commentNotIn?: Maybe>>; - /** Include comments of a given type. */ - commentType?: Maybe; - /** Include comments from a given array of comment types. */ - commentTypeIn?: Maybe>>; - /** Exclude comments from a given array of comment types. */ - commentTypeNotIn?: Maybe; - /** Content object author ID to limit results by. */ - contentAuthor?: Maybe>>; - /** Array of author IDs to retrieve comments for. */ - contentAuthorIn?: Maybe>>; - /** Array of author IDs *not* to retrieve comments for. */ - contentAuthorNotIn?: Maybe>>; - /** Limit results to those affiliated with a given content object ID. */ - contentId?: Maybe; - /** Array of content object IDs to include affiliated comments for. */ - contentIdIn?: Maybe>>; - /** Array of content object IDs to exclude affiliated comments for. */ - contentIdNotIn?: Maybe>>; - /** Content object name to retrieve affiliated comments for. */ - contentName?: Maybe; - /** Content Object parent ID to retrieve affiliated comments for. */ - contentParent?: Maybe; - /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentStatus?: Maybe>>; - /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentType?: Maybe>>; - /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ - includeUnapproved?: Maybe>>; - /** Karma score to retrieve matching comments for. */ - karma?: Maybe; - /** The cardinality of the order of the connection */ - order?: Maybe; - /** Field to order the comments by. */ - orderby?: Maybe; - /** Parent ID of comment to retrieve children of. */ - parent?: Maybe; - /** Array of parent IDs of comments to retrieve children for. */ - parentIn?: Maybe>>; - /** Array of parent IDs of comments *not* to retrieve children for. */ - parentNotIn?: Maybe>>; - /** Search term(s) to retrieve matching comments for. */ - search?: Maybe; - /** Comment status to limit results by. */ - status?: Maybe; - /** Include comments for a specific user ID. */ - userId?: Maybe; -} - -/** Arguments for filtering the CommentToCommentConnection connection */ -export interface CommentToCommentConnectionWhereArgs { - /** Comment author email address. */ - authorEmail?: Maybe; - /** Array of author IDs to include comments for. */ - authorIn?: Maybe>>; - /** Array of author IDs to exclude comments for. */ - authorNotIn?: Maybe>>; - /** Comment author URL. */ - authorUrl?: Maybe; - /** Array of comment IDs to include. */ - commentIn?: Maybe>>; - /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ - commentNotIn?: Maybe>>; - /** Include comments of a given type. */ - commentType?: Maybe; - /** Include comments from a given array of comment types. */ - commentTypeIn?: Maybe>>; - /** Exclude comments from a given array of comment types. */ - commentTypeNotIn?: Maybe; - /** Content object author ID to limit results by. */ - contentAuthor?: Maybe>>; - /** Array of author IDs to retrieve comments for. */ - contentAuthorIn?: Maybe>>; - /** Array of author IDs *not* to retrieve comments for. */ - contentAuthorNotIn?: Maybe>>; - /** Limit results to those affiliated with a given content object ID. */ - contentId?: Maybe; - /** Array of content object IDs to include affiliated comments for. */ - contentIdIn?: Maybe>>; - /** Array of content object IDs to exclude affiliated comments for. */ - contentIdNotIn?: Maybe>>; - /** Content object name to retrieve affiliated comments for. */ - contentName?: Maybe; - /** Content Object parent ID to retrieve affiliated comments for. */ - contentParent?: Maybe; - /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentStatus?: Maybe>>; - /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentType?: Maybe>>; - /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ - includeUnapproved?: Maybe>>; - /** Karma score to retrieve matching comments for. */ - karma?: Maybe; - /** The cardinality of the order of the connection */ - order?: Maybe; - /** Field to order the comments by. */ - orderby?: Maybe; - /** Parent ID of comment to retrieve children of. */ - parent?: Maybe; - /** Array of parent IDs of comments to retrieve children for. */ - parentIn?: Maybe>>; - /** Array of parent IDs of comments *not* to retrieve children for. */ - parentNotIn?: Maybe>>; - /** Search term(s) to retrieve matching comments for. */ - search?: Maybe; - /** Comment status to limit results by. */ - status?: Maybe; - /** Include comments for a specific user ID. */ - userId?: Maybe; -} - -/** Arguments for filtering the UserToMediaItemConnection connection */ -export interface UserToMediaItemConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the HierarchicalContentNodeToContentNodeAncestorsConnection connection */ -export interface HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the HierarchicalContentNodeToContentNodeChildrenConnection connection */ -export interface HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the MediaItemToCommentConnection connection */ -export interface MediaItemToCommentConnectionWhereArgs { - /** Comment author email address. */ - authorEmail?: Maybe; - /** Array of author IDs to include comments for. */ - authorIn?: Maybe>>; - /** Array of author IDs to exclude comments for. */ - authorNotIn?: Maybe>>; - /** Comment author URL. */ - authorUrl?: Maybe; - /** Array of comment IDs to include. */ - commentIn?: Maybe>>; - /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ - commentNotIn?: Maybe>>; - /** Include comments of a given type. */ - commentType?: Maybe; - /** Include comments from a given array of comment types. */ - commentTypeIn?: Maybe>>; - /** Exclude comments from a given array of comment types. */ - commentTypeNotIn?: Maybe; - /** Content object author ID to limit results by. */ - contentAuthor?: Maybe>>; - /** Array of author IDs to retrieve comments for. */ - contentAuthorIn?: Maybe>>; - /** Array of author IDs *not* to retrieve comments for. */ - contentAuthorNotIn?: Maybe>>; - /** Limit results to those affiliated with a given content object ID. */ - contentId?: Maybe; - /** Array of content object IDs to include affiliated comments for. */ - contentIdIn?: Maybe>>; - /** Array of content object IDs to exclude affiliated comments for. */ - contentIdNotIn?: Maybe>>; - /** Content object name to retrieve affiliated comments for. */ - contentName?: Maybe; - /** Content Object parent ID to retrieve affiliated comments for. */ - contentParent?: Maybe; - /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentStatus?: Maybe>>; - /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentType?: Maybe>>; - /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ - includeUnapproved?: Maybe>>; - /** Karma score to retrieve matching comments for. */ - karma?: Maybe; - /** The cardinality of the order of the connection */ - order?: Maybe; - /** Field to order the comments by. */ - orderby?: Maybe; - /** Parent ID of comment to retrieve children of. */ - parent?: Maybe; - /** Array of parent IDs of comments to retrieve children for. */ - parentIn?: Maybe>>; - /** Array of parent IDs of comments *not* to retrieve children for. */ - parentNotIn?: Maybe>>; - /** Search term(s) to retrieve matching comments for. */ - search?: Maybe; - /** Comment status to limit results by. */ - status?: Maybe; - /** Include comments for a specific user ID. */ - userId?: Maybe; -} - -/** The size of the media item object. */ -export enum MediaItemSizeEnum { - /** MediaItem with the large size */ - LARGE = 'LARGE', - /** MediaItem with the medium size */ - MEDIUM = 'MEDIUM', - /** MediaItem with the medium_large size */ - MEDIUM_LARGE = 'MEDIUM_LARGE', - /** MediaItem with the post-thumbnail size */ - POST_THUMBNAIL = 'POST_THUMBNAIL', - /** MediaItem with the thumbnail size */ - THUMBNAIL = 'THUMBNAIL', - /** MediaItem with the 1536x1536 size */ - _1536X1536 = '_1536X1536', - /** MediaItem with the 2048x2048 size */ - _2048X2048 = '_2048X2048', -} - -/** Arguments for filtering the UserToPageConnection connection */ -export interface UserToPageConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the PageToCommentConnection connection */ -export interface PageToCommentConnectionWhereArgs { - /** Comment author email address. */ - authorEmail?: Maybe; - /** Array of author IDs to include comments for. */ - authorIn?: Maybe>>; - /** Array of author IDs to exclude comments for. */ - authorNotIn?: Maybe>>; - /** Comment author URL. */ - authorUrl?: Maybe; - /** Array of comment IDs to include. */ - commentIn?: Maybe>>; - /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ - commentNotIn?: Maybe>>; - /** Include comments of a given type. */ - commentType?: Maybe; - /** Include comments from a given array of comment types. */ - commentTypeIn?: Maybe>>; - /** Exclude comments from a given array of comment types. */ - commentTypeNotIn?: Maybe; - /** Content object author ID to limit results by. */ - contentAuthor?: Maybe>>; - /** Array of author IDs to retrieve comments for. */ - contentAuthorIn?: Maybe>>; - /** Array of author IDs *not* to retrieve comments for. */ - contentAuthorNotIn?: Maybe>>; - /** Limit results to those affiliated with a given content object ID. */ - contentId?: Maybe; - /** Array of content object IDs to include affiliated comments for. */ - contentIdIn?: Maybe>>; - /** Array of content object IDs to exclude affiliated comments for. */ - contentIdNotIn?: Maybe>>; - /** Content object name to retrieve affiliated comments for. */ - contentName?: Maybe; - /** Content Object parent ID to retrieve affiliated comments for. */ - contentParent?: Maybe; - /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentStatus?: Maybe>>; - /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentType?: Maybe>>; - /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ - includeUnapproved?: Maybe>>; - /** Karma score to retrieve matching comments for. */ - karma?: Maybe; - /** The cardinality of the order of the connection */ - order?: Maybe; - /** Field to order the comments by. */ - orderby?: Maybe; - /** Parent ID of comment to retrieve children of. */ - parent?: Maybe; - /** Array of parent IDs of comments to retrieve children for. */ - parentIn?: Maybe>>; - /** Array of parent IDs of comments *not* to retrieve children for. */ - parentNotIn?: Maybe>>; - /** Search term(s) to retrieve matching comments for. */ - search?: Maybe; - /** Comment status to limit results by. */ - status?: Maybe; - /** Include comments for a specific user ID. */ - userId?: Maybe; -} - -/** Arguments for filtering the pageToRevisionConnection connection */ -export interface PageToRevisionConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the UserToPostConnection connection */ -export interface UserToPostConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Category ID */ - categoryId?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryIn?: Maybe>>; - /** Use Category Slug */ - categoryName?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Tag Slug */ - tag?: Maybe; - /** Use Tag ID */ - tagId?: Maybe; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagIn?: Maybe>>; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagNotIn?: Maybe>>; - /** Array of tag slugs, used to display objects from one tag OR another */ - tagSlugAnd?: Maybe>>; - /** Array of tag slugs, used to exclude objects in specified tags */ - tagSlugIn?: Maybe>>; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the PostToCategoryConnection connection */ -export interface PostToCategoryConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** Arguments for filtering the PostToCommentConnection connection */ -export interface PostToCommentConnectionWhereArgs { - /** Comment author email address. */ - authorEmail?: Maybe; - /** Array of author IDs to include comments for. */ - authorIn?: Maybe>>; - /** Array of author IDs to exclude comments for. */ - authorNotIn?: Maybe>>; - /** Comment author URL. */ - authorUrl?: Maybe; - /** Array of comment IDs to include. */ - commentIn?: Maybe>>; - /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ - commentNotIn?: Maybe>>; - /** Include comments of a given type. */ - commentType?: Maybe; - /** Include comments from a given array of comment types. */ - commentTypeIn?: Maybe>>; - /** Exclude comments from a given array of comment types. */ - commentTypeNotIn?: Maybe; - /** Content object author ID to limit results by. */ - contentAuthor?: Maybe>>; - /** Array of author IDs to retrieve comments for. */ - contentAuthorIn?: Maybe>>; - /** Array of author IDs *not* to retrieve comments for. */ - contentAuthorNotIn?: Maybe>>; - /** Limit results to those affiliated with a given content object ID. */ - contentId?: Maybe; - /** Array of content object IDs to include affiliated comments for. */ - contentIdIn?: Maybe>>; - /** Array of content object IDs to exclude affiliated comments for. */ - contentIdNotIn?: Maybe>>; - /** Content object name to retrieve affiliated comments for. */ - contentName?: Maybe; - /** Content Object parent ID to retrieve affiliated comments for. */ - contentParent?: Maybe; - /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentStatus?: Maybe>>; - /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentType?: Maybe>>; - /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ - includeUnapproved?: Maybe>>; - /** Karma score to retrieve matching comments for. */ - karma?: Maybe; - /** The cardinality of the order of the connection */ - order?: Maybe; - /** Field to order the comments by. */ - orderby?: Maybe; - /** Parent ID of comment to retrieve children of. */ - parent?: Maybe; - /** Array of parent IDs of comments to retrieve children for. */ - parentIn?: Maybe>>; - /** Array of parent IDs of comments *not* to retrieve children for. */ - parentNotIn?: Maybe>>; - /** Search term(s) to retrieve matching comments for. */ - search?: Maybe; - /** Comment status to limit results by. */ - status?: Maybe; - /** Include comments for a specific user ID. */ - userId?: Maybe; -} - -/** Arguments for filtering the PostToPostFormatConnection connection */ -export interface PostToPostFormatConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** Arguments for filtering the PostFormatToContentNodeConnection connection */ -export interface PostFormatToContentNodeConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Allowed Content Types of the PostFormat taxonomy. */ -export enum ContentTypesOfPostFormatEnum { - /** The Type of Content object */ - POST = 'POST', -} - -/** Arguments for filtering the PostFormatToPostConnection connection */ -export interface PostFormatToPostConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Category ID */ - categoryId?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryIn?: Maybe>>; - /** Use Category Slug */ - categoryName?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Tag Slug */ - tag?: Maybe; - /** Use Tag ID */ - tagId?: Maybe; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagIn?: Maybe>>; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagNotIn?: Maybe>>; - /** Array of tag slugs, used to display objects from one tag OR another */ - tagSlugAnd?: Maybe>>; - /** Array of tag slugs, used to exclude objects in specified tags */ - tagSlugIn?: Maybe>>; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the postToRevisionConnection connection */ -export interface PostToRevisionConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Category ID */ - categoryId?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryIn?: Maybe>>; - /** Use Category Slug */ - categoryName?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Tag Slug */ - tag?: Maybe; - /** Use Tag ID */ - tagId?: Maybe; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagIn?: Maybe>>; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagNotIn?: Maybe>>; - /** Array of tag slugs, used to display objects from one tag OR another */ - tagSlugAnd?: Maybe>>; - /** Array of tag slugs, used to exclude objects in specified tags */ - tagSlugIn?: Maybe>>; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the PostToTagConnection connection */ -export interface PostToTagConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** Arguments for filtering the TagToContentNodeConnection connection */ -export interface TagToContentNodeConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Allowed Content Types of the Tag taxonomy. */ -export enum ContentTypesOfTagEnum { - /** The Type of Content object */ - POST = 'POST', -} - -/** Arguments for filtering the TagToPostConnection connection */ -export interface TagToPostConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Category ID */ - categoryId?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryIn?: Maybe>>; - /** Use Category Slug */ - categoryName?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Tag Slug */ - tag?: Maybe; - /** Use Tag ID */ - tagId?: Maybe; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagIn?: Maybe>>; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagNotIn?: Maybe>>; - /** Array of tag slugs, used to display objects from one tag OR another */ - tagSlugAnd?: Maybe>>; - /** Array of tag slugs, used to exclude objects in specified tags */ - tagSlugIn?: Maybe>>; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the PostToTermNodeConnection connection */ -export interface PostToTermNodeConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** The Taxonomy to filter terms by */ - taxonomies?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** Allowed taxonomies */ -export enum TaxonomyEnum { - /** Taxonomy enum category */ - CATEGORY = 'CATEGORY', - /** Taxonomy enum post_format */ - POSTFORMAT = 'POSTFORMAT', - /** Taxonomy enum post_tag */ - TAG = 'TAG', -} - -/** Arguments for filtering the UserToContentRevisionUnionConnection connection */ -export interface UserToContentRevisionUnionConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the CategoryToPostConnection connection */ -export interface CategoryToPostConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Category ID */ - categoryId?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryIn?: Maybe>>; - /** Use Category Slug */ - categoryName?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Tag Slug */ - tag?: Maybe; - /** Use Tag ID */ - tagId?: Maybe; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagIn?: Maybe>>; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagNotIn?: Maybe>>; - /** Array of tag slugs, used to display objects from one tag OR another */ - tagSlugAnd?: Maybe>>; - /** Array of tag slugs, used to exclude objects in specified tags */ - tagSlugIn?: Maybe>>; - /** Title of the object */ - title?: Maybe; -} - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export enum CategoryIdType { - /** The Database ID for the node */ - DATABASE_ID = 'DATABASE_ID', - /** The hashed Global ID */ - ID = 'ID', - /** The name of the node */ - NAME = 'NAME', - /** Url friendly name of the node */ - SLUG = 'SLUG', - /** The URI for the node */ - URI = 'URI', -} - -/** Arguments for filtering the RootQueryToCommentConnection connection */ -export interface RootQueryToCommentConnectionWhereArgs { - /** Comment author email address. */ - authorEmail?: Maybe; - /** Array of author IDs to include comments for. */ - authorIn?: Maybe>>; - /** Array of author IDs to exclude comments for. */ - authorNotIn?: Maybe>>; - /** Comment author URL. */ - authorUrl?: Maybe; - /** Array of comment IDs to include. */ - commentIn?: Maybe>>; - /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ - commentNotIn?: Maybe>>; - /** Include comments of a given type. */ - commentType?: Maybe; - /** Include comments from a given array of comment types. */ - commentTypeIn?: Maybe>>; - /** Exclude comments from a given array of comment types. */ - commentTypeNotIn?: Maybe; - /** Content object author ID to limit results by. */ - contentAuthor?: Maybe>>; - /** Array of author IDs to retrieve comments for. */ - contentAuthorIn?: Maybe>>; - /** Array of author IDs *not* to retrieve comments for. */ - contentAuthorNotIn?: Maybe>>; - /** Limit results to those affiliated with a given content object ID. */ - contentId?: Maybe; - /** Array of content object IDs to include affiliated comments for. */ - contentIdIn?: Maybe>>; - /** Array of content object IDs to exclude affiliated comments for. */ - contentIdNotIn?: Maybe>>; - /** Content object name to retrieve affiliated comments for. */ - contentName?: Maybe; - /** Content Object parent ID to retrieve affiliated comments for. */ - contentParent?: Maybe; - /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentStatus?: Maybe>>; - /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ - contentType?: Maybe>>; - /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ - includeUnapproved?: Maybe>>; - /** Karma score to retrieve matching comments for. */ - karma?: Maybe; - /** The cardinality of the order of the connection */ - order?: Maybe; - /** Field to order the comments by. */ - orderby?: Maybe; - /** Parent ID of comment to retrieve children of. */ - parent?: Maybe; - /** Array of parent IDs of comments to retrieve children for. */ - parentIn?: Maybe>>; - /** Array of parent IDs of comments *not* to retrieve children for. */ - parentNotIn?: Maybe>>; - /** Search term(s) to retrieve matching comments for. */ - search?: Maybe; - /** Comment status to limit results by. */ - status?: Maybe; - /** Include comments for a specific user ID. */ - userId?: Maybe; -} - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export enum ContentNodeIdTypeEnum { - /** Identify a resource by the Database ID. */ - DATABASE_ID = 'DATABASE_ID', - /** Identify a resource by the (hashed) Global ID. */ - ID = 'ID', - /** Identify a resource by the URI. */ - URI = 'URI', -} - -/** Arguments for filtering the RootQueryToContentNodeConnection connection */ -export interface RootQueryToContentNodeConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** The Type of Identifier used to fetch a single Content Type node. To be used along with the "id" field. Default is "ID". */ -export enum ContentTypeIdTypeEnum { - /** The globally unique ID */ - ID = 'ID', - /** The name of the content type. */ - NAME = 'NAME', -} - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export enum MediaItemIdType { - /** Identify a resource by the Database ID. */ - DATABASE_ID = 'DATABASE_ID', - /** Identify a resource by the (hashed) Global ID. */ - ID = 'ID', - /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ - SLUG = 'SLUG', - /** Identify a media item by its source url */ - SOURCE_URL = 'SOURCE_URL', - /** Identify a resource by the URI. */ - URI = 'URI', -} - -/** Arguments for filtering the RootQueryToMediaItemConnection connection */ -export interface RootQueryToMediaItemConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. */ -export enum MenuNodeIdTypeEnum { - /** Identify a menu node by the Database ID. */ - DATABASE_ID = 'DATABASE_ID', - /** Identify a menu node by the (hashed) Global ID. */ - ID = 'ID', - /** Identify a menu node by it's name */ - NAME = 'NAME', -} - -/** Registered menu locations */ -export enum MenuLocationEnum { - /** Put the menu in the footer location */ - FOOTER = 'FOOTER', - /** Put the menu in the primary location */ - PRIMARY = 'PRIMARY', -} - -/** Arguments for filtering the MenuToMenuItemConnection connection */ -export interface MenuToMenuItemConnectionWhereArgs { - /** The ID of the object */ - id?: Maybe; - /** The menu location for the menu being queried */ - location?: Maybe; - /** The database ID of the parent menu object */ - parentDatabaseId?: Maybe; - /** The ID of the parent menu object */ - parentId?: Maybe; -} - -/** Arguments for filtering the MenuItemToMenuItemConnection connection */ -export interface MenuItemToMenuItemConnectionWhereArgs { - /** The ID of the object */ - id?: Maybe; - /** The menu location for the menu being queried */ - location?: Maybe; - /** The database ID of the parent menu object */ - parentDatabaseId?: Maybe; - /** The ID of the parent menu object */ - parentId?: Maybe; -} - -/** The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. */ -export enum MenuItemNodeIdTypeEnum { - /** Identify a resource by the Database ID. */ - DATABASE_ID = 'DATABASE_ID', - /** Identify a resource by the (hashed) Global ID. */ - ID = 'ID', -} - -/** Arguments for filtering the RootQueryToMenuItemConnection connection */ -export interface RootQueryToMenuItemConnectionWhereArgs { - /** The ID of the object */ - id?: Maybe; - /** The menu location for the menu being queried */ - location?: Maybe; - /** The database ID of the parent menu object */ - parentDatabaseId?: Maybe; - /** The ID of the parent menu object */ - parentId?: Maybe; -} - -/** Arguments for filtering the RootQueryToMenuConnection connection */ -export interface RootQueryToMenuConnectionWhereArgs { - /** The ID of the object */ - id?: Maybe; - /** The menu location for the menu being queried */ - location?: Maybe; - /** The slug of the menu to query items for */ - slug?: Maybe; -} - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export enum PageIdType { - /** Identify a resource by the Database ID. */ - DATABASE_ID = 'DATABASE_ID', - /** Identify a resource by the (hashed) Global ID. */ - ID = 'ID', - /** Identify a resource by the URI. */ - URI = 'URI', -} - -/** Arguments for filtering the RootQueryToPageConnection connection */ -export interface RootQueryToPageConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export enum PostIdType { - /** Identify a resource by the Database ID. */ - DATABASE_ID = 'DATABASE_ID', - /** Identify a resource by the (hashed) Global ID. */ - ID = 'ID', - /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ - SLUG = 'SLUG', - /** Identify a resource by the URI. */ - URI = 'URI', -} - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export enum PostFormatIdType { - /** The Database ID for the node */ - DATABASE_ID = 'DATABASE_ID', - /** The hashed Global ID */ - ID = 'ID', - /** The name of the node */ - NAME = 'NAME', - /** Url friendly name of the node */ - SLUG = 'SLUG', - /** The URI for the node */ - URI = 'URI', -} - -/** Arguments for filtering the RootQueryToPostFormatConnection connection */ -export interface RootQueryToPostFormatConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** Arguments for filtering the RootQueryToPostConnection connection */ -export interface RootQueryToPostConnectionWhereArgs { - /** The user that's connected as the author of the object. Use the userId for the author object. */ - author?: Maybe; - /** Find objects connected to author(s) in the array of author's userIds */ - authorIn?: Maybe>>; - /** Find objects connected to the author by the author's nicename */ - authorName?: Maybe; - /** Find objects NOT connected to author(s) in the array of author's userIds */ - authorNotIn?: Maybe>>; - /** Category ID */ - categoryId?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryIn?: Maybe>>; - /** Use Category Slug */ - categoryName?: Maybe; - /** Array of category IDs, used to display objects from one category OR another */ - categoryNotIn?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Tag Slug */ - tag?: Maybe; - /** Use Tag ID */ - tagId?: Maybe; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagIn?: Maybe>>; - /** Array of tag IDs, used to display objects from one tag OR another */ - tagNotIn?: Maybe>>; - /** Array of tag slugs, used to display objects from one tag OR another */ - tagSlugAnd?: Maybe>>; - /** Array of tag slugs, used to exclude objects in specified tags */ - tagSlugIn?: Maybe>>; - /** Title of the object */ - title?: Maybe; -} - -/** Arguments for filtering the RootQueryToContentRevisionUnionConnection connection */ -export interface RootQueryToContentRevisionUnionConnectionWhereArgs { - /** The Types of content to filter */ - contentTypes?: Maybe>>; - /** Filter the connection based on dates */ - dateQuery?: Maybe; - /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ - hasPassword?: Maybe; - /** Specific ID of the object */ - id?: Maybe; - /** Array of IDs for the objects to retrieve */ - in?: Maybe>>; - /** Get objects with a specific mimeType property */ - mimeType?: Maybe; - /** Slug / post_name of the object */ - name?: Maybe; - /** Specify objects to retrieve. Use slugs */ - nameIn?: Maybe>>; - /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ - notIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** Use ID to return only children. Use 0 to return only top-level items */ - parent?: Maybe; - /** Specify objects whose parent is in an array */ - parentIn?: Maybe>>; - /** Specify posts whose parent is not in an array */ - parentNotIn?: Maybe>>; - /** Show posts with a specific password. */ - password?: Maybe; - /** Show Posts based on a keyword search */ - search?: Maybe; - /** Retrieve posts where post status is in an array. */ - stati?: Maybe>>; - /** Show posts with a specific status. */ - status?: Maybe; - /** Title of the object */ - title?: Maybe; -} - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export enum TagIdType { - /** The Database ID for the node */ - DATABASE_ID = 'DATABASE_ID', - /** The hashed Global ID */ - ID = 'ID', - /** The name of the node */ - NAME = 'NAME', - /** Url friendly name of the node */ - SLUG = 'SLUG', - /** The URI for the node */ - URI = 'URI', -} - -/** Arguments for filtering the RootQueryToTagConnection connection */ -export interface RootQueryToTagConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** The Type of Identifier used to fetch a single Taxonomy node. To be used along with the "id" field. Default is "ID". */ -export enum TaxonomyIdTypeEnum { - /** The globally unique ID */ - ID = 'ID', - /** The name of the taxonomy */ - NAME = 'NAME', -} - -/** The Type of Identifier used to fetch a single resource. Default is "ID". To be used along with the "id" field. */ -export enum TermNodeIdTypeEnum { - /** The Database ID for the node */ - DATABASE_ID = 'DATABASE_ID', - /** The hashed Global ID */ - ID = 'ID', - /** The name of the node */ - NAME = 'NAME', - /** Url friendly name of the node */ - SLUG = 'SLUG', - /** The URI for the node */ - URI = 'URI', -} - -/** Arguments for filtering the RootQueryToTermNodeConnection connection */ -export interface RootQueryToTermNodeConnectionWhereArgs { - /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ - cacheDomain?: Maybe; - /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ - childOf?: Maybe; - /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ - childless?: Maybe; - /** Retrieve terms where the description is LIKE the input value. Default empty. */ - descriptionLike?: Maybe; - /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ - exclude?: Maybe>>; - /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ - excludeTree?: Maybe>>; - /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ - hideEmpty?: Maybe; - /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ - hierarchical?: Maybe; - /** Array of term ids to include. Default empty array. */ - include?: Maybe>>; - /** Array of names to return term(s) for. Default empty. */ - name?: Maybe>>; - /** Retrieve terms where the name is LIKE the input value. Default empty. */ - nameLike?: Maybe; - /** Array of object IDs. Results will be limited to terms associated with these objects. */ - objectIds?: Maybe>>; - /** Direction the connection should be ordered in */ - order?: Maybe; - /** Field(s) to order terms by. Defaults to 'name'. */ - orderby?: Maybe; - /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ - padCounts?: Maybe; - /** Parent term ID to retrieve direct-child terms of. Default empty. */ - parent?: Maybe; - /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ - search?: Maybe; - /** Array of slugs to return term(s) for. Default empty. */ - slug?: Maybe>>; - /** The Taxonomy to filter terms by */ - taxonomies?: Maybe>>; - /** Array of term taxonomy IDs, to match when querying terms. */ - termTaxonomId?: Maybe>>; - /** Whether to prime meta caches for matched terms. Default true. */ - updateTermMetaCache?: Maybe; -} - -/** The Type of Identifier used to fetch a single User node. To be used along with the "id" field. Default is "ID". */ -export enum UserNodeIdTypeEnum { - /** The Database ID for the node */ - DATABASE_ID = 'DATABASE_ID', - /** The Email of the User */ - EMAIL = 'EMAIL', - /** The hashed Global ID */ - ID = 'ID', - /** The slug of the User */ - SLUG = 'SLUG', - /** The URI for the node */ - URI = 'URI', - /** The username the User uses to login with */ - USERNAME = 'USERNAME', -} - -/** Arguments for filtering the RootQueryToUserConnection connection */ -export interface RootQueryToUserConnectionWhereArgs { - /** Array of userIds to exclude. */ - exclude?: Maybe>>; - /** Pass an array of post types to filter results to users who have published posts in those post types. */ - hasPublishedPosts?: Maybe>>; - /** Array of userIds to include. */ - include?: Maybe>>; - /** The user login. */ - login?: Maybe; - /** An array of logins to include. Users matching one of these logins will be included in results. */ - loginIn?: Maybe>>; - /** An array of logins to exclude. Users matching one of these logins will not be included in results. */ - loginNotIn?: Maybe>>; - /** The user nicename. */ - nicename?: Maybe; - /** An array of nicenames to include. Users matching one of these nicenames will be included in results. */ - nicenameIn?: Maybe>>; - /** An array of nicenames to exclude. Users matching one of these nicenames will not be included in results. */ - nicenameNotIn?: Maybe>>; - /** What paramater to use to order the objects by. */ - orderby?: Maybe>>; - /** An array of role names that users must match to be included in results. Note that this is an inclusive list: users must match *each* role. */ - role?: Maybe; - /** An array of role names. Matched users must have at least one of these roles. */ - roleIn?: Maybe>>; - /** An array of role names to exclude. Users matching one or more of these roles will not be included in results. */ - roleNotIn?: Maybe>>; - /** Search keyword. Searches for possible string matches on columns. When "searchColumns" is left empty, it tries to determine which column to search in based on search string. */ - search?: Maybe; - /** Array of column names to be searched. Accepts 'ID', 'login', 'nicename', 'email', 'url'. */ - searchColumns?: Maybe>>; -} - -/** Options for ordering the connection */ -export interface UsersConnectionOrderbyInput { - /** The field name used to sort the results. */ - field: UsersConnectionOrderbyEnum; - /** The cardinality of the order of the connection */ - order?: Maybe; -} - -/** Field to order the connection by */ -export enum UsersConnectionOrderbyEnum { - /** Order by display name */ - DISPLAY_NAME = 'DISPLAY_NAME', - /** Order by email address */ - EMAIL = 'EMAIL', - /** Order by login */ - LOGIN = 'LOGIN', - /** Preserve the login order given in the LOGIN_IN array */ - LOGIN_IN = 'LOGIN_IN', - /** Order by nice name */ - NICE_NAME = 'NICE_NAME', - /** Preserve the nice name order given in the NICE_NAME_IN array */ - NICE_NAME_IN = 'NICE_NAME_IN', - /** Order by registration date */ - REGISTERED = 'REGISTERED', - /** Order by URL */ - URL = 'URL', -} - -/** Names of available user roles */ -export enum UserRoleEnum { - /** User role with specific capabilities */ - ADMINISTRATOR = 'ADMINISTRATOR', - /** User role with specific capabilities */ - AUTHOR = 'AUTHOR', - /** User role with specific capabilities */ - CONTRIBUTOR = 'CONTRIBUTOR', - /** User role with specific capabilities */ - EDITOR = 'EDITOR', - /** User role with specific capabilities */ - SUBSCRIBER = 'SUBSCRIBER', -} - -/** Column used for searching for users. */ -export enum UsersConnectionSearchColumnEnum { - /** The user's email address. */ - EMAIL = 'EMAIL', - /** The globally unique ID. */ - ID = 'ID', - /** The username the User uses to login with. */ - LOGIN = 'LOGIN', - /** A URL-friendly name for the user. The default is the user's username. */ - NICENAME = 'NICENAME', - /** The URL of the user\s website. */ - URL = 'URL', -} - -/** Input for the createCategory mutation */ -export interface CreateCategoryInput { - /** The slug that the category will be an alias of */ - aliasOf?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The description of the category object */ - description?: Maybe; - /** The name of the category object to mutate */ - name: Scalars['String']; - /** The ID of the category that should be set as the parent */ - parentId?: Maybe; - /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ - slug?: Maybe; -} - -/** Input for the createComment mutation */ -export interface CreateCommentInput { - /** The approval status of the comment. */ - approved?: Maybe; - /** The name of the comment's author. */ - author?: Maybe; - /** The email of the comment's author. */ - authorEmail?: Maybe; - /** The url of the comment's author. */ - authorUrl?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The ID of the post object the comment belongs to. */ - commentOn?: Maybe; - /** Content of the comment. */ - content?: Maybe; - /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ - date?: Maybe; - /** Parent comment of current comment. */ - parent?: Maybe; - /** Type of comment. */ - type?: Maybe; -} - -/** Input for the createMediaItem mutation */ -export interface CreateMediaItemInput { - /** Alternative text to display when mediaItem is not displayed */ - altText?: Maybe; - /** The userId to assign as the author of the mediaItem */ - authorId?: Maybe; - /** The caption for the mediaItem */ - caption?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The comment status for the mediaItem */ - commentStatus?: Maybe; - /** The date of the mediaItem */ - date?: Maybe; - /** The date (in GMT zone) of the mediaItem */ - dateGmt?: Maybe; - /** Description of the mediaItem */ - description?: Maybe; - /** The file name of the mediaItem */ - filePath?: Maybe; - /** The file type of the mediaItem */ - fileType?: Maybe; - /** The WordPress post ID or the graphQL postId of the parent object */ - parentId?: Maybe; - /** The ping status for the mediaItem */ - pingStatus?: Maybe; - /** The slug of the mediaItem */ - slug?: Maybe; - /** The status of the mediaItem */ - status?: Maybe; - /** The title of the mediaItem */ - title?: Maybe; -} - -/** The status of the media item object. */ -export enum MediaItemStatusEnum { - /** Objects with the auto-draft status */ - AUTO_DRAFT = 'AUTO_DRAFT', - /** Objects with the inherit status */ - INHERIT = 'INHERIT', - /** Objects with the private status */ - PRIVATE = 'PRIVATE', - /** Objects with the trash status */ - TRASH = 'TRASH', -} - -/** Input for the createPage mutation */ -export interface CreatePageInput { - /** The userId to assign as the author of the object */ - authorId?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The comment status for the object */ - commentStatus?: Maybe; - /** The content of the object */ - content?: Maybe; - /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ - date?: Maybe; - /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ - menuOrder?: Maybe; - /** The ID of the parent object */ - parentId?: Maybe; - /** The password used to protect the content of the object */ - password?: Maybe; - /** The slug of the object */ - slug?: Maybe; - /** The status of the object */ - status?: Maybe; - /** The title of the object */ - title?: Maybe; -} - -/** Input for the createPost mutation */ -export interface CreatePostInput { - /** The userId to assign as the author of the object */ - authorId?: Maybe; - /** Set connections between the post and categories */ - categories?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The comment status for the object */ - commentStatus?: Maybe; - /** The content of the object */ - content?: Maybe; - /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ - date?: Maybe; - /** The excerpt of the object */ - excerpt?: Maybe; - /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ - menuOrder?: Maybe; - /** The password used to protect the content of the object */ - password?: Maybe; - /** The ping status for the object */ - pingStatus?: Maybe; - /** URLs that have been pinged. */ - pinged?: Maybe>>; - /** Set connections between the post and postFormats */ - postFormats?: Maybe; - /** The slug of the object */ - slug?: Maybe; - /** The status of the object */ - status?: Maybe; - /** Set connections between the post and tags */ - tags?: Maybe; - /** The title of the object */ - title?: Maybe; - /** URLs queued to be pinged. */ - toPing?: Maybe>>; -} - -/** Set relationships between the post to categories */ -export interface PostCategoriesInput { - /** If true, this will append the category to existing related categories. If false, this will replace existing relationships. Default true. */ - append?: Maybe; - /** The input list of items to set. */ - nodes?: Maybe>>; -} - -/** List of categories to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ -export interface PostCategoriesNodeInput { - /** The description of the category. This field is used to set a description of the category if a new one is created during the mutation. */ - description?: Maybe; - /** The ID of the category. If present, this will be used to connect to the post. If no existing category exists with this ID, no connection will be made. */ - id?: Maybe; - /** The name of the category. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ - name?: Maybe; - /** The slug of the category. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ - slug?: Maybe; -} - -/** Set relationships between the post to postFormats */ -export interface PostPostFormatsInput { - /** If true, this will append the postFormat to existing related postFormats. If false, this will replace existing relationships. Default true. */ - append?: Maybe; - /** The input list of items to set. */ - nodes?: Maybe>>; -} - -/** List of postFormats to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ -export interface PostPostFormatsNodeInput { - /** The description of the postFormat. This field is used to set a description of the postFormat if a new one is created during the mutation. */ - description?: Maybe; - /** The ID of the postFormat. If present, this will be used to connect to the post. If no existing postFormat exists with this ID, no connection will be made. */ - id?: Maybe; - /** The name of the postFormat. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ - name?: Maybe; - /** The slug of the postFormat. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ - slug?: Maybe; -} - -/** Set relationships between the post to tags */ -export interface PostTagsInput { - /** If true, this will append the tag to existing related tags. If false, this will replace existing relationships. Default true. */ - append?: Maybe; - /** The input list of items to set. */ - nodes?: Maybe>>; -} - -/** List of tags to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ -export interface PostTagsNodeInput { - /** The description of the tag. This field is used to set a description of the tag if a new one is created during the mutation. */ - description?: Maybe; - /** The ID of the tag. If present, this will be used to connect to the post. If no existing tag exists with this ID, no connection will be made. */ - id?: Maybe; - /** The name of the tag. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ - name?: Maybe; - /** The slug of the tag. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ - slug?: Maybe; -} - -/** Input for the createPostFormat mutation */ -export interface CreatePostFormatInput { - /** The slug that the post_format will be an alias of */ - aliasOf?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The description of the post_format object */ - description?: Maybe; - /** The name of the post_format object to mutate */ - name: Scalars['String']; - /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ - slug?: Maybe; -} - -/** Input for the createTag mutation */ -export interface CreateTagInput { - /** The slug that the post_tag will be an alias of */ - aliasOf?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The description of the post_tag object */ - description?: Maybe; - /** The name of the post_tag object to mutate */ - name: Scalars['String']; - /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ - slug?: Maybe; -} - -/** Input for the createUser mutation */ -export interface CreateUserInput { - /** User's AOL IM account. */ - aim?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** A string containing content about the user. */ - description?: Maybe; - /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ - displayName?: Maybe; - /** A string containing the user's email address. */ - email?: Maybe; - /** The user's first name. */ - firstName?: Maybe; - /** User's Jabber account. */ - jabber?: Maybe; - /** The user's last name. */ - lastName?: Maybe; - /** User's locale. */ - locale?: Maybe; - /** A string that contains a URL-friendly name for the user. The default is the user's username. */ - nicename?: Maybe; - /** The user's nickname, defaults to the user's username. */ - nickname?: Maybe; - /** A string that contains the plain text password for the user. */ - password?: Maybe; - /** The date the user registered. Format is Y-m-d H:i:s. */ - registered?: Maybe; - /** A string for whether to enable the rich editor or not. False if not empty. */ - richEditing?: Maybe; - /** An array of roles to be assigned to the user. */ - roles?: Maybe>>; - /** A string that contains the user's username for logging in. */ - username: Scalars['String']; - /** A string containing the user's URL for the user's web site. */ - websiteUrl?: Maybe; - /** User's Yahoo IM account. */ - yim?: Maybe; -} - -/** Input for the deleteCategory mutation */ -export interface DeleteCategoryInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The ID of the category to delete */ - id: Scalars['ID']; -} - -/** Input for the deleteComment mutation */ -export interface DeleteCommentInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** Whether the comment should be force deleted instead of being moved to the trash */ - forceDelete?: Maybe; - /** The deleted comment ID */ - id: Scalars['ID']; -} - -/** Input for the deleteMediaItem mutation */ -export interface DeleteMediaItemInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** Whether the mediaItem should be force deleted instead of being moved to the trash */ - forceDelete?: Maybe; - /** The ID of the mediaItem to delete */ - id: Scalars['ID']; -} - -/** Input for the deletePage mutation */ -export interface DeletePageInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** Whether the object should be force deleted instead of being moved to the trash */ - forceDelete?: Maybe; - /** The ID of the page to delete */ - id: Scalars['ID']; -} - -/** Input for the deletePost mutation */ -export interface DeletePostInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** Whether the object should be force deleted instead of being moved to the trash */ - forceDelete?: Maybe; - /** The ID of the post to delete */ - id: Scalars['ID']; -} - -/** Input for the deletePostFormat mutation */ -export interface DeletePostFormatInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The ID of the postFormat to delete */ - id: Scalars['ID']; -} - -/** Input for the deleteTag mutation */ -export interface DeleteTagInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The ID of the tag to delete */ - id: Scalars['ID']; -} - -/** Input for the deleteUser mutation */ -export interface DeleteUserInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The ID of the user you want to delete */ - id: Scalars['ID']; - /** Reassign posts and links to new User ID. */ - reassignId?: Maybe; -} - -/** Input for the registerUser mutation */ -export interface RegisterUserInput { - /** User's AOL IM account. */ - aim?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** A string containing content about the user. */ - description?: Maybe; - /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ - displayName?: Maybe; - /** A string containing the user's email address. */ - email?: Maybe; - /** The user's first name. */ - firstName?: Maybe; - /** User's Jabber account. */ - jabber?: Maybe; - /** The user's last name. */ - lastName?: Maybe; - /** User's locale. */ - locale?: Maybe; - /** A string that contains a URL-friendly name for the user. The default is the user's username. */ - nicename?: Maybe; - /** The user's nickname, defaults to the user's username. */ - nickname?: Maybe; - /** A string that contains the plain text password for the user. */ - password?: Maybe; - /** The date the user registered. Format is Y-m-d H:i:s. */ - registered?: Maybe; - /** A string for whether to enable the rich editor or not. False if not empty. */ - richEditing?: Maybe; - /** A string that contains the user's username. */ - username: Scalars['String']; - /** A string containing the user's URL for the user's web site. */ - websiteUrl?: Maybe; - /** User's Yahoo IM account. */ - yim?: Maybe; -} - -/** Input for the resetUserPassword mutation */ -export interface ResetUserPasswordInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** Password reset key */ - key?: Maybe; - /** The user's login (username). */ - login?: Maybe; - /** The new password. */ - password?: Maybe; -} - -/** Input for the restoreComment mutation */ -export interface RestoreCommentInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The ID of the comment to be restored */ - id: Scalars['ID']; -} - -/** Input for the sendPasswordResetEmail mutation */ -export interface SendPasswordResetEmailInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** A string that contains the user's username or email address. */ - username: Scalars['String']; -} - -/** Input for the UpdateCategory mutation */ -export interface UpdateCategoryInput { - /** The slug that the category will be an alias of */ - aliasOf?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The description of the category object */ - description?: Maybe; - /** The ID of the category object to update */ - id: Scalars['ID']; - /** The name of the category object to mutate */ - name?: Maybe; - /** The ID of the category that should be set as the parent */ - parentId?: Maybe; - /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ - slug?: Maybe; -} - -/** Input for the updateComment mutation */ -export interface UpdateCommentInput { - /** The approval status of the comment. */ - approved?: Maybe; - /** The name of the comment's author. */ - author?: Maybe; - /** The email of the comment's author. */ - authorEmail?: Maybe; - /** The url of the comment's author. */ - authorUrl?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The ID of the post object the comment belongs to. */ - commentOn?: Maybe; - /** Content of the comment. */ - content?: Maybe; - /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ - date?: Maybe; - /** The ID of the comment being updated. */ - id: Scalars['ID']; - /** Parent comment of current comment. */ - parent?: Maybe; - /** Type of comment. */ - type?: Maybe; -} - -/** Input for the updateMediaItem mutation */ -export interface UpdateMediaItemInput { - /** Alternative text to display when mediaItem is not displayed */ - altText?: Maybe; - /** The userId to assign as the author of the mediaItem */ - authorId?: Maybe; - /** The caption for the mediaItem */ - caption?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The comment status for the mediaItem */ - commentStatus?: Maybe; - /** The date of the mediaItem */ - date?: Maybe; - /** The date (in GMT zone) of the mediaItem */ - dateGmt?: Maybe; - /** Description of the mediaItem */ - description?: Maybe; - /** The file name of the mediaItem */ - filePath?: Maybe; - /** The file type of the mediaItem */ - fileType?: Maybe; - /** The ID of the mediaItem object */ - id: Scalars['ID']; - /** The WordPress post ID or the graphQL postId of the parent object */ - parentId?: Maybe; - /** The ping status for the mediaItem */ - pingStatus?: Maybe; - /** The slug of the mediaItem */ - slug?: Maybe; - /** The status of the mediaItem */ - status?: Maybe; - /** The title of the mediaItem */ - title?: Maybe; -} - -/** Input for the updatePage mutation */ -export interface UpdatePageInput { - /** The userId to assign as the author of the object */ - authorId?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The comment status for the object */ - commentStatus?: Maybe; - /** The content of the object */ - content?: Maybe; - /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ - date?: Maybe; - /** The ID of the page object */ - id: Scalars['ID']; - /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ - menuOrder?: Maybe; - /** The ID of the parent object */ - parentId?: Maybe; - /** The password used to protect the content of the object */ - password?: Maybe; - /** The slug of the object */ - slug?: Maybe; - /** The status of the object */ - status?: Maybe; - /** The title of the object */ - title?: Maybe; -} - -/** Input for the updatePost mutation */ -export interface UpdatePostInput { - /** The userId to assign as the author of the object */ - authorId?: Maybe; - /** Set connections between the post and categories */ - categories?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The comment status for the object */ - commentStatus?: Maybe; - /** The content of the object */ - content?: Maybe; - /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ - date?: Maybe; - /** The excerpt of the object */ - excerpt?: Maybe; - /** The ID of the post object */ - id: Scalars['ID']; - /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ - menuOrder?: Maybe; - /** The password used to protect the content of the object */ - password?: Maybe; - /** The ping status for the object */ - pingStatus?: Maybe; - /** URLs that have been pinged. */ - pinged?: Maybe>>; - /** Set connections between the post and postFormats */ - postFormats?: Maybe; - /** The slug of the object */ - slug?: Maybe; - /** The status of the object */ - status?: Maybe; - /** Set connections between the post and tags */ - tags?: Maybe; - /** The title of the object */ - title?: Maybe; - /** URLs queued to be pinged. */ - toPing?: Maybe>>; -} - -/** Input for the UpdatePostFormat mutation */ -export interface UpdatePostFormatInput { - /** The slug that the post_format will be an alias of */ - aliasOf?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The description of the post_format object */ - description?: Maybe; - /** The ID of the postFormat object to update */ - id: Scalars['ID']; - /** The name of the post_format object to mutate */ - name?: Maybe; - /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ - slug?: Maybe; -} - -/** Input for the updateSettings mutation */ -export interface UpdateSettingsInput { - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** Allow people to submit comments on new posts. */ - discussionSettingsDefaultCommentStatus?: Maybe; - /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ - discussionSettingsDefaultPingStatus?: Maybe; - /** A date format for all date strings. */ - generalSettingsDateFormat?: Maybe; - /** Site tagline. */ - generalSettingsDescription?: Maybe; - /** This address is used for admin purposes, like new user notification. */ - generalSettingsEmail?: Maybe; - /** WordPress locale code. */ - generalSettingsLanguage?: Maybe; - /** A day number of the week that the week should start on. */ - generalSettingsStartOfWeek?: Maybe; - /** A time format for all time strings. */ - generalSettingsTimeFormat?: Maybe; - /** A city in the same timezone as you. */ - generalSettingsTimezone?: Maybe; - /** Site title. */ - generalSettingsTitle?: Maybe; - /** Site URL. */ - generalSettingsUrl?: Maybe; - /** Blog pages show at most. */ - readingSettingsPostsPerPage?: Maybe; - /** Default post category. */ - writingSettingsDefaultCategory?: Maybe; - /** Default post format. */ - writingSettingsDefaultPostFormat?: Maybe; - /** Convert emoticons like :-) and :-P to graphics on display. */ - writingSettingsUseSmilies?: Maybe; -} - -/** Input for the UpdateTag mutation */ -export interface UpdateTagInput { - /** The slug that the post_tag will be an alias of */ - aliasOf?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** The description of the post_tag object */ - description?: Maybe; - /** The ID of the tag object to update */ - id: Scalars['ID']; - /** The name of the post_tag object to mutate */ - name?: Maybe; - /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ - slug?: Maybe; -} - -/** Input for the updateUser mutation */ -export interface UpdateUserInput { - /** User's AOL IM account. */ - aim?: Maybe; - /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ - clientMutationId?: Maybe; - /** A string containing content about the user. */ - description?: Maybe; - /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ - displayName?: Maybe; - /** A string containing the user's email address. */ - email?: Maybe; - /** The user's first name. */ - firstName?: Maybe; - /** The ID of the user */ - id: Scalars['ID']; - /** User's Jabber account. */ - jabber?: Maybe; - /** The user's last name. */ - lastName?: Maybe; - /** User's locale. */ - locale?: Maybe; - /** A string that contains a URL-friendly name for the user. The default is the user's username. */ - nicename?: Maybe; - /** The user's nickname, defaults to the user's username. */ - nickname?: Maybe; - /** A string that contains the plain text password for the user. */ - password?: Maybe; - /** The date the user registered. Format is Y-m-d H:i:s. */ - registered?: Maybe; - /** A string for whether to enable the rich editor or not. False if not empty. */ - richEditing?: Maybe; - /** An array of roles to be assigned to the user. */ - roles?: Maybe>>; - /** A string containing the user's URL for the user's web site. */ - websiteUrl?: Maybe; - /** User's Yahoo IM account. */ - yim?: Maybe; -} - -export const scalarsEnumsHash: import('gqty').ScalarsEnumsHash = { - String: true, - Int: true, - Boolean: true, - ID: true, - OrderEnum: true, - TermObjectsConnectionOrderbyEnum: true, - ContentTypesOfCategoryEnum: true, - PostObjectsConnectionDateColumnEnum: true, - RelationEnum: true, - MimeTypeEnum: true, - PostObjectsConnectionOrderbyEnum: true, - PostStatusEnum: true, - ContentTypeEnum: true, - AvatarRatingEnum: true, - CommentsConnectionOrderbyEnum: true, - PostObjectFieldFormatEnum: true, - MediaItemSizeEnum: true, - Float: true, - ContentTypesOfPostFormatEnum: true, - ContentTypesOfTagEnum: true, - TaxonomyEnum: true, - CategoryIdType: true, - ContentNodeIdTypeEnum: true, - ContentTypeIdTypeEnum: true, - MediaItemIdType: true, - MenuNodeIdTypeEnum: true, - MenuLocationEnum: true, - MenuItemNodeIdTypeEnum: true, - PageIdType: true, - PostIdType: true, - PostFormatIdType: true, - TagIdType: true, - TaxonomyIdTypeEnum: true, - TermNodeIdTypeEnum: true, - UserNodeIdTypeEnum: true, - UsersConnectionOrderbyEnum: true, - UserRoleEnum: true, - UsersConnectionSearchColumnEnum: true, - MediaItemStatusEnum: true, -}; -export const generatedSchema = { - query: { - __typename: { __type: 'String!' }, - allSettings: { __type: 'Settings' }, - categories: { - __type: 'RootQueryToCategoryConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToCategoryConnectionWhereArgs', - }, - }, - category: { - __type: 'Category', - __args: { id: 'ID!', idType: 'CategoryIdType' }, - }, - comment: { __type: 'Comment', __args: { id: 'ID!' } }, - comments: { - __type: 'RootQueryToCommentConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToCommentConnectionWhereArgs', - }, - }, - contentNode: { - __type: 'ContentNode', - __args: { - id: 'ID!', - idType: 'ContentNodeIdTypeEnum', - contentType: 'ContentTypeEnum', - asPreview: 'Boolean', - }, - }, - contentNodes: { - __type: 'RootQueryToContentNodeConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToContentNodeConnectionWhereArgs', - }, - }, - contentType: { - __type: 'ContentType', - __args: { id: 'ID!', idType: 'ContentTypeIdTypeEnum' }, - }, - contentTypes: { - __type: 'RootQueryToContentTypeConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - discussionSettings: { __type: 'DiscussionSettings' }, - generalSettings: { __type: 'GeneralSettings' }, - mediaItem: { - __type: 'MediaItem', - __args: { id: 'ID!', idType: 'MediaItemIdType', asPreview: 'Boolean' }, - }, - mediaItemBy: { - __type: 'MediaItem', - __args: { id: 'ID', mediaItemId: 'Int', uri: 'String', slug: 'String' }, - }, - mediaItems: { - __type: 'RootQueryToMediaItemConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToMediaItemConnectionWhereArgs', - }, - }, - menu: { - __type: 'Menu', - __args: { id: 'ID!', idType: 'MenuNodeIdTypeEnum' }, - }, - menuItem: { - __type: 'MenuItem', - __args: { id: 'ID!', idType: 'MenuItemNodeIdTypeEnum' }, - }, - menuItems: { - __type: 'RootQueryToMenuItemConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToMenuItemConnectionWhereArgs', - }, - }, - menus: { - __type: 'RootQueryToMenuConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToMenuConnectionWhereArgs', - }, - }, - node: { __type: 'Node', __args: { id: 'ID' } }, - nodeByUri: { - __type: 'UniformResourceIdentifiable', - __args: { uri: 'String!' }, - }, - page: { - __type: 'Page', - __args: { id: 'ID!', idType: 'PageIdType', asPreview: 'Boolean' }, - }, - pageBy: { - __type: 'Page', - __args: { id: 'ID', pageId: 'Int', uri: 'String' }, - }, - pages: { - __type: 'RootQueryToPageConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToPageConnectionWhereArgs', - }, - }, - plugin: { __type: 'Plugin', __args: { id: 'ID!' } }, - plugins: { - __type: 'RootQueryToPluginConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - post: { - __type: 'Post', - __args: { id: 'ID!', idType: 'PostIdType', asPreview: 'Boolean' }, - }, - postBy: { - __type: 'Post', - __args: { id: 'ID', postId: 'Int', uri: 'String', slug: 'String' }, - }, - postFormat: { - __type: 'PostFormat', - __args: { id: 'ID!', idType: 'PostFormatIdType' }, - }, - postFormats: { - __type: 'RootQueryToPostFormatConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToPostFormatConnectionWhereArgs', - }, - }, - posts: { - __type: 'RootQueryToPostConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToPostConnectionWhereArgs', - }, - }, - readingSettings: { __type: 'ReadingSettings' }, - registeredScripts: { - __type: 'RootQueryToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - registeredStylesheets: { - __type: 'RootQueryToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - revisions: { - __type: 'RootQueryToContentRevisionUnionConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToContentRevisionUnionConnectionWhereArgs', - }, - }, - tag: { __type: 'Tag', __args: { id: 'ID!', idType: 'TagIdType' } }, - tags: { - __type: 'RootQueryToTagConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToTagConnectionWhereArgs', - }, - }, - taxonomies: { - __type: 'RootQueryToTaxonomyConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - taxonomy: { - __type: 'Taxonomy', - __args: { id: 'ID!', idType: 'TaxonomyIdTypeEnum' }, - }, - termNode: { - __type: 'TermNode', - __args: { - id: 'ID!', - idType: 'TermNodeIdTypeEnum', - taxonomy: 'TaxonomyEnum', - }, - }, - terms: { - __type: 'RootQueryToTermNodeConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToTermNodeConnectionWhereArgs', - }, - }, - theme: { __type: 'Theme', __args: { id: 'ID!' } }, - themes: { - __type: 'RootQueryToThemeConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - user: { - __type: 'User', - __args: { id: 'ID!', idType: 'UserNodeIdTypeEnum' }, - }, - userRole: { __type: 'UserRole', __args: { id: 'ID!' } }, - userRoles: { - __type: 'RootQueryToUserRoleConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - users: { - __type: 'RootQueryToUserConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'RootQueryToUserConnectionWhereArgs', - }, - }, - viewer: { __type: 'User' }, - writingSettings: { __type: 'WritingSettings' }, - }, - mutation: { - __typename: { __type: 'String!' }, - createCategory: { - __type: 'CreateCategoryPayload', - __args: { input: 'CreateCategoryInput!' }, - }, - createComment: { - __type: 'CreateCommentPayload', - __args: { input: 'CreateCommentInput!' }, - }, - createMediaItem: { - __type: 'CreateMediaItemPayload', - __args: { input: 'CreateMediaItemInput!' }, - }, - createPage: { - __type: 'CreatePagePayload', - __args: { input: 'CreatePageInput!' }, - }, - createPost: { - __type: 'CreatePostPayload', - __args: { input: 'CreatePostInput!' }, - }, - createPostFormat: { - __type: 'CreatePostFormatPayload', - __args: { input: 'CreatePostFormatInput!' }, - }, - createTag: { - __type: 'CreateTagPayload', - __args: { input: 'CreateTagInput!' }, - }, - createUser: { - __type: 'CreateUserPayload', - __args: { input: 'CreateUserInput!' }, - }, - deleteCategory: { - __type: 'DeleteCategoryPayload', - __args: { input: 'DeleteCategoryInput!' }, - }, - deleteComment: { - __type: 'DeleteCommentPayload', - __args: { input: 'DeleteCommentInput!' }, - }, - deleteMediaItem: { - __type: 'DeleteMediaItemPayload', - __args: { input: 'DeleteMediaItemInput!' }, - }, - deletePage: { - __type: 'DeletePagePayload', - __args: { input: 'DeletePageInput!' }, - }, - deletePost: { - __type: 'DeletePostPayload', - __args: { input: 'DeletePostInput!' }, - }, - deletePostFormat: { - __type: 'DeletePostFormatPayload', - __args: { input: 'DeletePostFormatInput!' }, - }, - deleteTag: { - __type: 'DeleteTagPayload', - __args: { input: 'DeleteTagInput!' }, - }, - deleteUser: { - __type: 'DeleteUserPayload', - __args: { input: 'DeleteUserInput!' }, - }, - increaseCount: { __type: 'Int', __args: { count: 'Int' } }, - registerUser: { - __type: 'RegisterUserPayload', - __args: { input: 'RegisterUserInput!' }, - }, - resetUserPassword: { - __type: 'ResetUserPasswordPayload', - __args: { input: 'ResetUserPasswordInput!' }, - }, - restoreComment: { - __type: 'RestoreCommentPayload', - __args: { input: 'RestoreCommentInput!' }, - }, - sendPasswordResetEmail: { - __type: 'SendPasswordResetEmailPayload', - __args: { input: 'SendPasswordResetEmailInput!' }, - }, - updateCategory: { - __type: 'UpdateCategoryPayload', - __args: { input: 'UpdateCategoryInput!' }, - }, - updateComment: { - __type: 'UpdateCommentPayload', - __args: { input: 'UpdateCommentInput!' }, - }, - updateMediaItem: { - __type: 'UpdateMediaItemPayload', - __args: { input: 'UpdateMediaItemInput!' }, - }, - updatePage: { - __type: 'UpdatePagePayload', - __args: { input: 'UpdatePageInput!' }, - }, - updatePost: { - __type: 'UpdatePostPayload', - __args: { input: 'UpdatePostInput!' }, - }, - updatePostFormat: { - __type: 'UpdatePostFormatPayload', - __args: { input: 'UpdatePostFormatInput!' }, - }, - updateSettings: { - __type: 'UpdateSettingsPayload', - __args: { input: 'UpdateSettingsInput!' }, - }, - updateTag: { - __type: 'UpdateTagPayload', - __args: { input: 'UpdateTagInput!' }, - }, - updateUser: { - __type: 'UpdateUserPayload', - __args: { input: 'UpdateUserInput!' }, - }, - }, - subscription: {}, - Settings: { - __typename: { __type: 'String!' }, - discussionSettingsDefaultCommentStatus: { __type: 'String' }, - discussionSettingsDefaultPingStatus: { __type: 'String' }, - generalSettingsDateFormat: { __type: 'String' }, - generalSettingsDescription: { __type: 'String' }, - generalSettingsEmail: { __type: 'String' }, - generalSettingsLanguage: { __type: 'String' }, - generalSettingsStartOfWeek: { __type: 'Int' }, - generalSettingsTimeFormat: { __type: 'String' }, - generalSettingsTimezone: { __type: 'String' }, - generalSettingsTitle: { __type: 'String' }, - generalSettingsUrl: { __type: 'String' }, - readingSettingsPostsPerPage: { __type: 'Int' }, - writingSettingsDefaultCategory: { __type: 'Int' }, - writingSettingsDefaultPostFormat: { __type: 'String' }, - writingSettingsUseSmilies: { __type: 'Boolean' }, - }, - RootQueryToCategoryConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - RootQueryToCategoryConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToCategoryConnectionEdge]' }, - nodes: { __type: '[Category]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToCategoryConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Category' }, - }, - Category: { - __typename: { __type: 'String!' }, - ancestors: { - __type: 'CategoryToAncestorsCategoryConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - categoryId: { __type: 'Int' }, - children: { - __type: 'CategoryToCategoryConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'CategoryToCategoryConnectionWhereArgs', - }, - }, - contentNodes: { - __type: 'CategoryToContentNodeConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'CategoryToContentNodeConnectionWhereArgs', - }, - }, - count: { __type: 'Int' }, - databaseId: { __type: 'Int!' }, - description: { __type: 'String' }, - enqueuedScripts: { - __type: 'TermNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'TermNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - link: { __type: 'String' }, - name: { __type: 'String' }, - parent: { __type: 'CategoryToParentCategoryConnectionEdge' }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - posts: { - __type: 'CategoryToPostConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'CategoryToPostConnectionWhereArgs', - }, - }, - slug: { __type: 'String' }, - taxonomy: { __type: 'CategoryToTaxonomyConnectionEdge' }, - termGroupId: { __type: 'Int' }, - termTaxonomyId: { __type: 'Int' }, - uri: { __type: 'String' }, - }, - Node: { __typename: { __type: 'String!' }, id: { __type: 'ID!' } }, - TermNode: { - __typename: { __type: 'String!' }, - count: { __type: 'Int' }, - databaseId: { __type: 'Int!' }, - description: { __type: 'String' }, - enqueuedScripts: { - __type: 'TermNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'TermNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - link: { __type: 'String' }, - name: { __type: 'String' }, - slug: { __type: 'String' }, - termGroupId: { __type: 'Int' }, - termTaxonomyId: { __type: 'Int' }, - uri: { __type: 'String' }, - }, - UniformResourceIdentifiable: { - __typename: { __type: 'String!' }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isTermNode: { __type: 'Boolean!' }, - uri: { __type: 'String' }, - }, - TermNodeToEnqueuedScriptConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[TermNodeToEnqueuedScriptConnectionEdge]' }, - nodes: { __type: '[EnqueuedScript]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - TermNodeToEnqueuedScriptConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'EnqueuedScript' }, - }, - EnqueuedScript: { - __typename: { __type: 'String!' }, - args: { __type: 'Boolean' }, - dependencies: { __type: '[EnqueuedScript]' }, - extra: { __type: 'String' }, - handle: { __type: 'String' }, - id: { __type: 'ID!' }, - src: { __type: 'String' }, - version: { __type: 'String' }, - }, - EnqueuedAsset: { - __typename: { __type: 'String!' }, - args: { __type: 'Boolean' }, - dependencies: { __type: '[EnqueuedScript]' }, - extra: { __type: 'String' }, - handle: { __type: 'String' }, - id: { __type: 'ID!' }, - src: { __type: 'String' }, - version: { __type: 'String' }, - }, - WPPageInfo: { - __typename: { __type: 'String!' }, - endCursor: { __type: 'String' }, - hasNextPage: { __type: 'Boolean!' }, - hasPreviousPage: { __type: 'Boolean!' }, - startCursor: { __type: 'String' }, - }, - TermNodeToEnqueuedStylesheetConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[TermNodeToEnqueuedStylesheetConnectionEdge]' }, - nodes: { __type: '[EnqueuedStylesheet]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - TermNodeToEnqueuedStylesheetConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'EnqueuedStylesheet' }, - }, - EnqueuedStylesheet: { - __typename: { __type: 'String!' }, - args: { __type: 'Boolean' }, - dependencies: { __type: '[EnqueuedScript]' }, - extra: { __type: 'String' }, - handle: { __type: 'String' }, - id: { __type: 'ID!' }, - src: { __type: 'String' }, - version: { __type: 'String' }, - }, - DatabaseIdentifier: { - __typename: { __type: 'String!' }, - databaseId: { __type: 'Int!' }, - }, - HierarchicalTermNode: { - __typename: { __type: 'String!' }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - }, - MenuItemLinkable: { - __typename: { __type: 'String!' }, - databaseId: { __type: 'Int!' }, - id: { __type: 'ID!' }, - uri: { __type: 'String' }, - }, - CategoryToAncestorsCategoryConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[CategoryToAncestorsCategoryConnectionEdge]' }, - nodes: { __type: '[Category]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - CategoryToAncestorsCategoryConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Category' }, - }, - CategoryToCategoryConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - CategoryToCategoryConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[CategoryToCategoryConnectionEdge]' }, - nodes: { __type: '[Category]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - CategoryToCategoryConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Category' }, - }, - CategoryToContentNodeConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypesOfCategoryEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - DateQueryInput: { - after: { __type: 'DateInput' }, - before: { __type: 'DateInput' }, - column: { __type: 'PostObjectsConnectionDateColumnEnum' }, - compare: { __type: 'String' }, - day: { __type: 'Int' }, - hour: { __type: 'Int' }, - inclusive: { __type: 'Boolean' }, - minute: { __type: 'Int' }, - month: { __type: 'Int' }, - relation: { __type: 'RelationEnum' }, - second: { __type: 'Int' }, - week: { __type: 'Int' }, - year: { __type: 'Int' }, - }, - DateInput: { - day: { __type: 'Int' }, - month: { __type: 'Int' }, - year: { __type: 'Int' }, - }, - PostObjectsConnectionOrderbyInput: { - field: { __type: 'PostObjectsConnectionOrderbyEnum!' }, - order: { __type: 'OrderEnum!' }, - }, - CategoryToContentNodeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[CategoryToContentNodeConnectionEdge]' }, - nodes: { __type: '[ContentNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - CategoryToContentNodeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentNode' }, - }, - ContentNode: { - __typename: { __type: 'String!' }, - contentType: { __type: 'ContentNodeToContentTypeConnectionEdge' }, - databaseId: { __type: 'Int!' }, - date: { __type: 'String' }, - dateGmt: { __type: 'String' }, - desiredSlug: { __type: 'String' }, - editingLockedBy: { __type: 'ContentNodeToEditLockConnectionEdge' }, - enclosure: { __type: 'String' }, - enqueuedScripts: { - __type: 'ContentNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'ContentNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - guid: { __type: 'String' }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isPreview: { __type: 'Boolean' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - lastEditedBy: { __type: 'ContentNodeToEditLastConnectionEdge' }, - link: { __type: 'String' }, - modified: { __type: 'String' }, - modifiedGmt: { __type: 'String' }, - previewRevisionDatabaseId: { __type: 'Int' }, - previewRevisionId: { __type: 'ID' }, - slug: { __type: 'String' }, - status: { __type: 'String' }, - template: { __type: 'ContentTemplate' }, - uri: { __type: 'String' }, - }, - ContentNodeToContentTypeConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'ContentType' }, - }, - ContentType: { - __typename: { __type: 'String!' }, - canExport: { __type: 'Boolean' }, - connectedTaxonomies: { - __type: 'ContentTypeToTaxonomyConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - contentNodes: { - __type: 'ContentTypeToContentNodeConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'ContentTypeToContentNodeConnectionWhereArgs', - }, - }, - deleteWithUser: { __type: 'Boolean' }, - description: { __type: 'String' }, - excludeFromSearch: { __type: 'Boolean' }, - graphqlPluralName: { __type: 'String' }, - graphqlSingleName: { __type: 'String' }, - hasArchive: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isFrontPage: { __type: 'Boolean!' }, - isPostsPage: { __type: 'Boolean!' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - label: { __type: 'String' }, - labels: { __type: 'PostTypeLabelDetails' }, - menuIcon: { __type: 'String' }, - menuPosition: { __type: 'Int' }, - name: { __type: 'String' }, - public: { __type: 'Boolean' }, - publiclyQueryable: { __type: 'Boolean' }, - restBase: { __type: 'String' }, - restControllerClass: { __type: 'String' }, - showInAdminBar: { __type: 'Boolean' }, - showInGraphql: { __type: 'Boolean' }, - showInMenu: { __type: 'Boolean' }, - showInNavMenus: { __type: 'Boolean' }, - showInRest: { __type: 'Boolean' }, - showUi: { __type: 'Boolean' }, - uri: { __type: 'String' }, - }, - ContentTypeToTaxonomyConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[ContentTypeToTaxonomyConnectionEdge]' }, - nodes: { __type: '[Taxonomy]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - ContentTypeToTaxonomyConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Taxonomy' }, - }, - Taxonomy: { - __typename: { __type: 'String!' }, - connectedContentTypes: { - __type: 'TaxonomyToContentTypeConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - description: { __type: 'String' }, - graphqlPluralName: { __type: 'String' }, - graphqlSingleName: { __type: 'String' }, - hierarchical: { __type: 'Boolean' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - label: { __type: 'String' }, - name: { __type: 'String' }, - public: { __type: 'Boolean' }, - restBase: { __type: 'String' }, - restControllerClass: { __type: 'String' }, - showCloud: { __type: 'Boolean' }, - showInAdminColumn: { __type: 'Boolean' }, - showInGraphql: { __type: 'Boolean' }, - showInMenu: { __type: 'Boolean' }, - showInNavMenus: { __type: 'Boolean' }, - showInQuickEdit: { __type: 'Boolean' }, - showInRest: { __type: 'Boolean' }, - showUi: { __type: 'Boolean' }, - }, - TaxonomyToContentTypeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[TaxonomyToContentTypeConnectionEdge]' }, - nodes: { __type: '[ContentType]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - TaxonomyToContentTypeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentType' }, - }, - ContentTypeToContentNodeConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypeEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - ContentTypeToContentNodeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[ContentTypeToContentNodeConnectionEdge]' }, - nodes: { __type: '[ContentNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - ContentTypeToContentNodeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentNode' }, - }, - PostTypeLabelDetails: { - __typename: { __type: 'String!' }, - addNew: { __type: 'String' }, - addNewItem: { __type: 'String' }, - allItems: { __type: 'String' }, - archives: { __type: 'String' }, - attributes: { __type: 'String' }, - editItem: { __type: 'String' }, - featuredImage: { __type: 'String' }, - filterItemsList: { __type: 'String' }, - insertIntoItem: { __type: 'String' }, - itemsList: { __type: 'String' }, - itemsListNavigation: { __type: 'String' }, - menuName: { __type: 'String' }, - name: { __type: 'String' }, - newItem: { __type: 'String' }, - notFound: { __type: 'String' }, - notFoundInTrash: { __type: 'String' }, - parentItemColon: { __type: 'String' }, - removeFeaturedImage: { __type: 'String' }, - searchItems: { __type: 'String' }, - setFeaturedImage: { __type: 'String' }, - singularName: { __type: 'String' }, - uploadedToThisItem: { __type: 'String' }, - useFeaturedImage: { __type: 'String' }, - viewItem: { __type: 'String' }, - viewItems: { __type: 'String' }, - }, - ContentNodeToEditLockConnectionEdge: { - __typename: { __type: 'String!' }, - lockTimestamp: { __type: 'String' }, - node: { __type: 'User' }, - }, - User: { - __typename: { __type: 'String!' }, - avatar: { - __type: 'Avatar', - __args: { - size: 'Int', - forceDefault: 'Boolean', - rating: 'AvatarRatingEnum', - }, - }, - capKey: { __type: 'String' }, - capabilities: { __type: '[String]' }, - comments: { - __type: 'UserToCommentConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'UserToCommentConnectionWhereArgs', - }, - }, - databaseId: { __type: 'Int!' }, - description: { __type: 'String' }, - email: { __type: 'String' }, - enqueuedScripts: { - __type: 'UserToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'UserToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - extraCapabilities: { __type: '[String]' }, - firstName: { __type: 'String' }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - lastName: { __type: 'String' }, - locale: { __type: 'String' }, - mediaItems: { - __type: 'UserToMediaItemConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'UserToMediaItemConnectionWhereArgs', - }, - }, - name: { __type: 'String' }, - nicename: { __type: 'String' }, - nickname: { __type: 'String' }, - pages: { - __type: 'UserToPageConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'UserToPageConnectionWhereArgs', - }, - }, - posts: { - __type: 'UserToPostConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'UserToPostConnectionWhereArgs', - }, - }, - registeredDate: { __type: 'String' }, - revisions: { - __type: 'UserToContentRevisionUnionConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'UserToContentRevisionUnionConnectionWhereArgs', - }, - }, - roles: { - __type: 'UserToUserRoleConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - slug: { __type: 'String' }, - uri: { __type: 'String' }, - url: { __type: 'String' }, - userId: { __type: 'Int' }, - username: { __type: 'String' }, - }, - Commenter: { - __typename: { __type: 'String!' }, - databaseId: { __type: 'Int!' }, - email: { __type: 'String' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - name: { __type: 'String' }, - url: { __type: 'String' }, - }, - Avatar: { - __typename: { __type: 'String!' }, - default: { __type: 'String' }, - extraAttr: { __type: 'String' }, - forceDefault: { __type: 'Boolean' }, - foundAvatar: { __type: 'Boolean' }, - height: { __type: 'Int' }, - isRestricted: { __type: 'Boolean' }, - rating: { __type: 'String' }, - scheme: { __type: 'String' }, - size: { __type: 'Int' }, - url: { __type: 'String' }, - width: { __type: 'Int' }, - }, - UserToCommentConnectionWhereArgs: { - authorEmail: { __type: 'String' }, - authorIn: { __type: '[ID]' }, - authorNotIn: { __type: '[ID]' }, - authorUrl: { __type: 'String' }, - commentIn: { __type: '[ID]' }, - commentNotIn: { __type: '[ID]' }, - commentType: { __type: 'String' }, - commentTypeIn: { __type: '[String]' }, - commentTypeNotIn: { __type: 'String' }, - contentAuthor: { __type: '[ID]' }, - contentAuthorIn: { __type: '[ID]' }, - contentAuthorNotIn: { __type: '[ID]' }, - contentId: { __type: 'ID' }, - contentIdIn: { __type: '[ID]' }, - contentIdNotIn: { __type: '[ID]' }, - contentName: { __type: 'String' }, - contentParent: { __type: 'Int' }, - contentStatus: { __type: '[PostStatusEnum]' }, - contentType: { __type: '[ContentTypeEnum]' }, - includeUnapproved: { __type: '[ID]' }, - karma: { __type: 'Int' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'CommentsConnectionOrderbyEnum' }, - parent: { __type: 'Int' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - search: { __type: 'String' }, - status: { __type: 'String' }, - userId: { __type: 'ID' }, - }, - UserToCommentConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[UserToCommentConnectionEdge]' }, - nodes: { __type: '[Comment]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - UserToCommentConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Comment' }, - }, - Comment: { - __typename: { __type: 'String!' }, - agent: { __type: 'String' }, - approved: { __type: 'Boolean' }, - author: { __type: 'CommentToCommenterConnectionEdge' }, - authorIp: { __type: 'String' }, - commentId: { __type: 'Int' }, - commentedOn: { __type: 'CommentToContentNodeConnectionEdge' }, - content: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - databaseId: { __type: 'Int!' }, - date: { __type: 'String' }, - dateGmt: { __type: 'String' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - karma: { __type: 'Int' }, - parent: { - __type: 'CommentToParentCommentConnectionEdge', - __args: { where: 'CommentToParentCommentConnectionWhereArgs' }, - }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - replies: { - __type: 'CommentToCommentConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'CommentToCommentConnectionWhereArgs', - }, - }, - type: { __type: 'String' }, - }, - CommentToCommenterConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Commenter' }, - }, - CommentToContentNodeConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'ContentNode' }, - }, - CommentToParentCommentConnectionWhereArgs: { - authorEmail: { __type: 'String' }, - authorIn: { __type: '[ID]' }, - authorNotIn: { __type: '[ID]' }, - authorUrl: { __type: 'String' }, - commentIn: { __type: '[ID]' }, - commentNotIn: { __type: '[ID]' }, - commentType: { __type: 'String' }, - commentTypeIn: { __type: '[String]' }, - commentTypeNotIn: { __type: 'String' }, - contentAuthor: { __type: '[ID]' }, - contentAuthorIn: { __type: '[ID]' }, - contentAuthorNotIn: { __type: '[ID]' }, - contentId: { __type: 'ID' }, - contentIdIn: { __type: '[ID]' }, - contentIdNotIn: { __type: '[ID]' }, - contentName: { __type: 'String' }, - contentParent: { __type: 'Int' }, - contentStatus: { __type: '[PostStatusEnum]' }, - contentType: { __type: '[ContentTypeEnum]' }, - includeUnapproved: { __type: '[ID]' }, - karma: { __type: 'Int' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'CommentsConnectionOrderbyEnum' }, - parent: { __type: 'Int' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - search: { __type: 'String' }, - status: { __type: 'String' }, - userId: { __type: 'ID' }, - }, - CommentToParentCommentConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Comment' }, - }, - CommentToCommentConnectionWhereArgs: { - authorEmail: { __type: 'String' }, - authorIn: { __type: '[ID]' }, - authorNotIn: { __type: '[ID]' }, - authorUrl: { __type: 'String' }, - commentIn: { __type: '[ID]' }, - commentNotIn: { __type: '[ID]' }, - commentType: { __type: 'String' }, - commentTypeIn: { __type: '[String]' }, - commentTypeNotIn: { __type: 'String' }, - contentAuthor: { __type: '[ID]' }, - contentAuthorIn: { __type: '[ID]' }, - contentAuthorNotIn: { __type: '[ID]' }, - contentId: { __type: 'ID' }, - contentIdIn: { __type: '[ID]' }, - contentIdNotIn: { __type: '[ID]' }, - contentName: { __type: 'String' }, - contentParent: { __type: 'Int' }, - contentStatus: { __type: '[PostStatusEnum]' }, - contentType: { __type: '[ContentTypeEnum]' }, - includeUnapproved: { __type: '[ID]' }, - karma: { __type: 'Int' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'CommentsConnectionOrderbyEnum' }, - parent: { __type: 'Int' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - search: { __type: 'String' }, - status: { __type: 'String' }, - userId: { __type: 'ID' }, - }, - CommentToCommentConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[CommentToCommentConnectionEdge]' }, - nodes: { __type: '[Comment]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - CommentToCommentConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Comment' }, - }, - UserToEnqueuedScriptConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[UserToEnqueuedScriptConnectionEdge]' }, - nodes: { __type: '[EnqueuedScript]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - UserToEnqueuedScriptConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'EnqueuedScript' }, - }, - UserToEnqueuedStylesheetConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[UserToEnqueuedStylesheetConnectionEdge]' }, - nodes: { __type: '[EnqueuedStylesheet]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - UserToEnqueuedStylesheetConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'EnqueuedStylesheet' }, - }, - UserToMediaItemConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - UserToMediaItemConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[UserToMediaItemConnectionEdge]' }, - nodes: { __type: '[MediaItem]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - UserToMediaItemConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'MediaItem' }, - }, - MediaItem: { - __typename: { __type: 'String!' }, - altText: { __type: 'String' }, - ancestors: { - __type: 'HierarchicalContentNodeToContentNodeAncestorsConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: - 'HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs', - }, - }, - author: { __type: 'NodeWithAuthorToUserConnectionEdge' }, - authorDatabaseId: { __type: 'Int' }, - authorId: { __type: 'ID' }, - caption: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - children: { - __type: 'HierarchicalContentNodeToContentNodeChildrenConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: - 'HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs', - }, - }, - commentCount: { __type: 'Int' }, - commentStatus: { __type: 'String' }, - comments: { - __type: 'MediaItemToCommentConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'MediaItemToCommentConnectionWhereArgs', - }, - }, - contentType: { __type: 'ContentNodeToContentTypeConnectionEdge' }, - databaseId: { __type: 'Int!' }, - date: { __type: 'String' }, - dateGmt: { __type: 'String' }, - description: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - desiredSlug: { __type: 'String' }, - editingLockedBy: { __type: 'ContentNodeToEditLockConnectionEdge' }, - enclosure: { __type: 'String' }, - enqueuedScripts: { - __type: 'ContentNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'ContentNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - fileSize: { __type: 'Int', __args: { size: 'MediaItemSizeEnum' } }, - guid: { __type: 'String' }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isPreview: { __type: 'Boolean' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - lastEditedBy: { __type: 'ContentNodeToEditLastConnectionEdge' }, - link: { __type: 'String' }, - mediaDetails: { __type: 'MediaDetails' }, - mediaItemId: { __type: 'Int!' }, - mediaItemUrl: { __type: 'String' }, - mediaType: { __type: 'String' }, - mimeType: { __type: 'String' }, - modified: { __type: 'String' }, - modifiedGmt: { __type: 'String' }, - parent: { - __type: 'HierarchicalContentNodeToParentContentNodeConnectionEdge', - }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - previewRevisionDatabaseId: { __type: 'Int' }, - previewRevisionId: { __type: 'ID' }, - sizes: { __type: 'String', __args: { size: 'MediaItemSizeEnum' } }, - slug: { __type: 'String' }, - sourceUrl: { __type: 'String', __args: { size: 'MediaItemSizeEnum' } }, - srcSet: { __type: 'String', __args: { size: 'MediaItemSizeEnum' } }, - status: { __type: 'String' }, - template: { __type: 'ContentTemplate' }, - title: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - uri: { __type: 'String' }, - }, - NodeWithTemplate: { - __typename: { __type: 'String!' }, - template: { __type: 'ContentTemplate' }, - }, - ContentTemplate: { - __typename: { __type: 'String!' }, - templateName: { __type: 'String' }, - }, - NodeWithTitle: { - __typename: { __type: 'String!' }, - title: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - }, - NodeWithAuthor: { - __typename: { __type: 'String!' }, - author: { __type: 'NodeWithAuthorToUserConnectionEdge' }, - authorDatabaseId: { __type: 'Int' }, - authorId: { __type: 'ID' }, - }, - NodeWithAuthorToUserConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'User' }, - }, - NodeWithComments: { - __typename: { __type: 'String!' }, - commentCount: { __type: 'Int' }, - commentStatus: { __type: 'String' }, - }, - HierarchicalContentNode: { - __typename: { __type: 'String!' }, - ancestors: { - __type: 'HierarchicalContentNodeToContentNodeAncestorsConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: - 'HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs', - }, - }, - children: { - __type: 'HierarchicalContentNodeToContentNodeChildrenConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: - 'HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs', - }, - }, - parent: { - __type: 'HierarchicalContentNodeToParentContentNodeConnectionEdge', - }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - }, - HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypeEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - HierarchicalContentNodeToContentNodeAncestorsConnection: { - __typename: { __type: 'String!' }, - edges: { - __type: '[HierarchicalContentNodeToContentNodeAncestorsConnectionEdge]', - }, - nodes: { __type: '[ContentNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - HierarchicalContentNodeToContentNodeAncestorsConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentNode' }, - }, - HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypeEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - HierarchicalContentNodeToContentNodeChildrenConnection: { - __typename: { __type: 'String!' }, - edges: { - __type: '[HierarchicalContentNodeToContentNodeChildrenConnectionEdge]', - }, - nodes: { __type: '[ContentNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - HierarchicalContentNodeToContentNodeChildrenConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentNode' }, - }, - HierarchicalContentNodeToParentContentNodeConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'ContentNode' }, - }, - MediaItemToCommentConnectionWhereArgs: { - authorEmail: { __type: 'String' }, - authorIn: { __type: '[ID]' }, - authorNotIn: { __type: '[ID]' }, - authorUrl: { __type: 'String' }, - commentIn: { __type: '[ID]' }, - commentNotIn: { __type: '[ID]' }, - commentType: { __type: 'String' }, - commentTypeIn: { __type: '[String]' }, - commentTypeNotIn: { __type: 'String' }, - contentAuthor: { __type: '[ID]' }, - contentAuthorIn: { __type: '[ID]' }, - contentAuthorNotIn: { __type: '[ID]' }, - contentId: { __type: 'ID' }, - contentIdIn: { __type: '[ID]' }, - contentIdNotIn: { __type: '[ID]' }, - contentName: { __type: 'String' }, - contentParent: { __type: 'Int' }, - contentStatus: { __type: '[PostStatusEnum]' }, - contentType: { __type: '[ContentTypeEnum]' }, - includeUnapproved: { __type: '[ID]' }, - karma: { __type: 'Int' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'CommentsConnectionOrderbyEnum' }, - parent: { __type: 'Int' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - search: { __type: 'String' }, - status: { __type: 'String' }, - userId: { __type: 'ID' }, - }, - MediaItemToCommentConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[MediaItemToCommentConnectionEdge]' }, - nodes: { __type: '[Comment]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - MediaItemToCommentConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Comment' }, - }, - ContentNodeToEnqueuedScriptConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[ContentNodeToEnqueuedScriptConnectionEdge]' }, - nodes: { __type: '[EnqueuedScript]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - ContentNodeToEnqueuedScriptConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'EnqueuedScript' }, - }, - ContentNodeToEnqueuedStylesheetConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[ContentNodeToEnqueuedStylesheetConnectionEdge]' }, - nodes: { __type: '[EnqueuedStylesheet]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - ContentNodeToEnqueuedStylesheetConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'EnqueuedStylesheet' }, - }, - ContentNodeToEditLastConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'User' }, - }, - MediaDetails: { - __typename: { __type: 'String!' }, - file: { __type: 'String' }, - height: { __type: 'Int' }, - meta: { __type: 'MediaItemMeta' }, - sizes: { __type: '[MediaSize]' }, - width: { __type: 'Int' }, - }, - MediaItemMeta: { - __typename: { __type: 'String!' }, - aperture: { __type: 'Float' }, - camera: { __type: 'String' }, - caption: { __type: 'String' }, - copyright: { __type: 'String' }, - createdTimestamp: { __type: 'Int' }, - credit: { __type: 'String' }, - focalLength: { __type: 'Float' }, - iso: { __type: 'Int' }, - keywords: { __type: '[String]' }, - orientation: { __type: 'String' }, - shutterSpeed: { __type: 'Float' }, - title: { __type: 'String' }, - }, - MediaSize: { - __typename: { __type: 'String!' }, - file: { __type: 'String' }, - fileSize: { __type: 'Int' }, - height: { __type: 'String' }, - mimeType: { __type: 'String' }, - name: { __type: 'String' }, - sourceUrl: { __type: 'String' }, - width: { __type: 'String' }, - }, - UserToPageConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - UserToPageConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[UserToPageConnectionEdge]' }, - nodes: { __type: '[Page]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - UserToPageConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Page' }, - }, - Page: { - __typename: { __type: 'String!' }, - ancestors: { - __type: 'HierarchicalContentNodeToContentNodeAncestorsConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: - 'HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs', - }, - }, - author: { __type: 'NodeWithAuthorToUserConnectionEdge' }, - authorDatabaseId: { __type: 'Int' }, - authorId: { __type: 'ID' }, - children: { - __type: 'HierarchicalContentNodeToContentNodeChildrenConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: - 'HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs', - }, - }, - commentCount: { __type: 'Int' }, - commentStatus: { __type: 'String' }, - comments: { - __type: 'PageToCommentConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PageToCommentConnectionWhereArgs', - }, - }, - content: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - contentType: { __type: 'ContentNodeToContentTypeConnectionEdge' }, - databaseId: { __type: 'Int!' }, - date: { __type: 'String' }, - dateGmt: { __type: 'String' }, - desiredSlug: { __type: 'String' }, - editingLockedBy: { __type: 'ContentNodeToEditLockConnectionEdge' }, - enclosure: { __type: 'String' }, - enqueuedScripts: { - __type: 'ContentNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'ContentNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - featuredImage: { __type: 'NodeWithFeaturedImageToMediaItemConnectionEdge' }, - featuredImageDatabaseId: { __type: 'Int' }, - featuredImageId: { __type: 'ID' }, - guid: { __type: 'String' }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isFrontPage: { __type: 'Boolean!' }, - isPostsPage: { __type: 'Boolean!' }, - isPreview: { __type: 'Boolean' }, - isPrivacyPage: { __type: 'Boolean!' }, - isRestricted: { __type: 'Boolean' }, - isRevision: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - lastEditedBy: { __type: 'ContentNodeToEditLastConnectionEdge' }, - link: { __type: 'String' }, - menuOrder: { __type: 'Int' }, - modified: { __type: 'String' }, - modifiedGmt: { __type: 'String' }, - pageId: { __type: 'Int!' }, - parent: { - __type: 'HierarchicalContentNodeToParentContentNodeConnectionEdge', - }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - preview: { __type: 'PageToPreviewConnectionEdge' }, - previewRevisionDatabaseId: { __type: 'Int' }, - previewRevisionId: { __type: 'ID' }, - revisionOf: { __type: 'NodeWithRevisionsToContentNodeConnectionEdge' }, - revisions: { - __type: 'PageToRevisionConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PageToRevisionConnectionWhereArgs', - }, - }, - slug: { __type: 'String' }, - status: { __type: 'String' }, - template: { __type: 'ContentTemplate' }, - title: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - uri: { __type: 'String' }, - }, - NodeWithContentEditor: { - __typename: { __type: 'String!' }, - content: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - }, - NodeWithFeaturedImage: { - __typename: { __type: 'String!' }, - contentType: { __type: 'ContentNodeToContentTypeConnectionEdge' }, - databaseId: { __type: 'Int!' }, - date: { __type: 'String' }, - dateGmt: { __type: 'String' }, - desiredSlug: { __type: 'String' }, - editingLockedBy: { __type: 'ContentNodeToEditLockConnectionEdge' }, - enclosure: { __type: 'String' }, - enqueuedScripts: { - __type: 'ContentNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'ContentNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - featuredImage: { __type: 'NodeWithFeaturedImageToMediaItemConnectionEdge' }, - featuredImageDatabaseId: { __type: 'Int' }, - featuredImageId: { __type: 'ID' }, - guid: { __type: 'String' }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isPreview: { __type: 'Boolean' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - lastEditedBy: { __type: 'ContentNodeToEditLastConnectionEdge' }, - link: { __type: 'String' }, - modified: { __type: 'String' }, - modifiedGmt: { __type: 'String' }, - previewRevisionDatabaseId: { __type: 'Int' }, - previewRevisionId: { __type: 'ID' }, - slug: { __type: 'String' }, - status: { __type: 'String' }, - template: { __type: 'ContentTemplate' }, - uri: { __type: 'String' }, - }, - NodeWithFeaturedImageToMediaItemConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'MediaItem' }, - }, - NodeWithRevisions: { - __typename: { __type: 'String!' }, - isRevision: { __type: 'Boolean' }, - revisionOf: { __type: 'NodeWithRevisionsToContentNodeConnectionEdge' }, - }, - NodeWithRevisionsToContentNodeConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'ContentNode' }, - }, - NodeWithPageAttributes: { - __typename: { __type: 'String!' }, - menuOrder: { __type: 'Int' }, - }, - PageToCommentConnectionWhereArgs: { - authorEmail: { __type: 'String' }, - authorIn: { __type: '[ID]' }, - authorNotIn: { __type: '[ID]' }, - authorUrl: { __type: 'String' }, - commentIn: { __type: '[ID]' }, - commentNotIn: { __type: '[ID]' }, - commentType: { __type: 'String' }, - commentTypeIn: { __type: '[String]' }, - commentTypeNotIn: { __type: 'String' }, - contentAuthor: { __type: '[ID]' }, - contentAuthorIn: { __type: '[ID]' }, - contentAuthorNotIn: { __type: '[ID]' }, - contentId: { __type: 'ID' }, - contentIdIn: { __type: '[ID]' }, - contentIdNotIn: { __type: '[ID]' }, - contentName: { __type: 'String' }, - contentParent: { __type: 'Int' }, - contentStatus: { __type: '[PostStatusEnum]' }, - contentType: { __type: '[ContentTypeEnum]' }, - includeUnapproved: { __type: '[ID]' }, - karma: { __type: 'Int' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'CommentsConnectionOrderbyEnum' }, - parent: { __type: 'Int' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - search: { __type: 'String' }, - status: { __type: 'String' }, - userId: { __type: 'ID' }, - }, - PageToCommentConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PageToCommentConnectionEdge]' }, - nodes: { __type: '[Comment]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PageToCommentConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Comment' }, - }, - PageToPreviewConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Page' }, - }, - PageToRevisionConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - PageToRevisionConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PageToRevisionConnectionEdge]' }, - nodes: { __type: '[Page]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PageToRevisionConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Page' }, - }, - UserToPostConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - categoryId: { __type: 'Int' }, - categoryIn: { __type: '[ID]' }, - categoryName: { __type: 'String' }, - categoryNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - tag: { __type: 'String' }, - tagId: { __type: 'String' }, - tagIn: { __type: '[ID]' }, - tagNotIn: { __type: '[ID]' }, - tagSlugAnd: { __type: '[String]' }, - tagSlugIn: { __type: '[String]' }, - title: { __type: 'String' }, - }, - UserToPostConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[UserToPostConnectionEdge]' }, - nodes: { __type: '[Post]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - UserToPostConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Post' }, - }, - Post: { - __typename: { __type: 'String!' }, - author: { __type: 'NodeWithAuthorToUserConnectionEdge' }, - authorDatabaseId: { __type: 'Int' }, - authorId: { __type: 'ID' }, - categories: { - __type: 'PostToCategoryConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PostToCategoryConnectionWhereArgs', - }, - }, - commentCount: { __type: 'Int' }, - commentStatus: { __type: 'String' }, - comments: { - __type: 'PostToCommentConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PostToCommentConnectionWhereArgs', - }, - }, - content: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - contentType: { __type: 'ContentNodeToContentTypeConnectionEdge' }, - databaseId: { __type: 'Int!' }, - date: { __type: 'String' }, - dateGmt: { __type: 'String' }, - desiredSlug: { __type: 'String' }, - editingLockedBy: { __type: 'ContentNodeToEditLockConnectionEdge' }, - enclosure: { __type: 'String' }, - enqueuedScripts: { - __type: 'ContentNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'ContentNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - excerpt: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - featuredImage: { __type: 'NodeWithFeaturedImageToMediaItemConnectionEdge' }, - featuredImageDatabaseId: { __type: 'Int' }, - featuredImageId: { __type: 'ID' }, - guid: { __type: 'String' }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isPreview: { __type: 'Boolean' }, - isRestricted: { __type: 'Boolean' }, - isRevision: { __type: 'Boolean' }, - isSticky: { __type: 'Boolean!' }, - isTermNode: { __type: 'Boolean!' }, - lastEditedBy: { __type: 'ContentNodeToEditLastConnectionEdge' }, - link: { __type: 'String' }, - modified: { __type: 'String' }, - modifiedGmt: { __type: 'String' }, - pingStatus: { __type: 'String' }, - pinged: { __type: '[String]' }, - postFormats: { - __type: 'PostToPostFormatConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PostToPostFormatConnectionWhereArgs', - }, - }, - postId: { __type: 'Int!' }, - preview: { __type: 'PostToPreviewConnectionEdge' }, - previewRevisionDatabaseId: { __type: 'Int' }, - previewRevisionId: { __type: 'ID' }, - revisionOf: { __type: 'NodeWithRevisionsToContentNodeConnectionEdge' }, - revisions: { - __type: 'PostToRevisionConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PostToRevisionConnectionWhereArgs', - }, - }, - slug: { __type: 'String' }, - status: { __type: 'String' }, - tags: { - __type: 'PostToTagConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PostToTagConnectionWhereArgs', - }, - }, - template: { __type: 'ContentTemplate' }, - terms: { - __type: 'PostToTermNodeConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PostToTermNodeConnectionWhereArgs', - }, - }, - title: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - toPing: { __type: '[String]' }, - uri: { __type: 'String' }, - }, - NodeWithExcerpt: { - __typename: { __type: 'String!' }, - excerpt: { - __type: 'String', - __args: { format: 'PostObjectFieldFormatEnum' }, - }, - }, - NodeWithTrackbacks: { - __typename: { __type: 'String!' }, - pingStatus: { __type: 'String' }, - pinged: { __type: '[String]' }, - toPing: { __type: '[String]' }, - }, - PostToCategoryConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - PostToCategoryConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PostToCategoryConnectionEdge]' }, - nodes: { __type: '[Category]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PostToCategoryConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Category' }, - }, - PostToCommentConnectionWhereArgs: { - authorEmail: { __type: 'String' }, - authorIn: { __type: '[ID]' }, - authorNotIn: { __type: '[ID]' }, - authorUrl: { __type: 'String' }, - commentIn: { __type: '[ID]' }, - commentNotIn: { __type: '[ID]' }, - commentType: { __type: 'String' }, - commentTypeIn: { __type: '[String]' }, - commentTypeNotIn: { __type: 'String' }, - contentAuthor: { __type: '[ID]' }, - contentAuthorIn: { __type: '[ID]' }, - contentAuthorNotIn: { __type: '[ID]' }, - contentId: { __type: 'ID' }, - contentIdIn: { __type: '[ID]' }, - contentIdNotIn: { __type: '[ID]' }, - contentName: { __type: 'String' }, - contentParent: { __type: 'Int' }, - contentStatus: { __type: '[PostStatusEnum]' }, - contentType: { __type: '[ContentTypeEnum]' }, - includeUnapproved: { __type: '[ID]' }, - karma: { __type: 'Int' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'CommentsConnectionOrderbyEnum' }, - parent: { __type: 'Int' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - search: { __type: 'String' }, - status: { __type: 'String' }, - userId: { __type: 'ID' }, - }, - PostToCommentConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PostToCommentConnectionEdge]' }, - nodes: { __type: '[Comment]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PostToCommentConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Comment' }, - }, - PostToPostFormatConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - PostToPostFormatConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PostToPostFormatConnectionEdge]' }, - nodes: { __type: '[PostFormat]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PostToPostFormatConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'PostFormat' }, - }, - PostFormat: { - __typename: { __type: 'String!' }, - contentNodes: { - __type: 'PostFormatToContentNodeConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PostFormatToContentNodeConnectionWhereArgs', - }, - }, - count: { __type: 'Int' }, - databaseId: { __type: 'Int!' }, - description: { __type: 'String' }, - enqueuedScripts: { - __type: 'TermNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'TermNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - link: { __type: 'String' }, - name: { __type: 'String' }, - postFormatId: { __type: 'Int' }, - posts: { - __type: 'PostFormatToPostConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'PostFormatToPostConnectionWhereArgs', - }, - }, - slug: { __type: 'String' }, - taxonomy: { __type: 'PostFormatToTaxonomyConnectionEdge' }, - termGroupId: { __type: 'Int' }, - termTaxonomyId: { __type: 'Int' }, - uri: { __type: 'String' }, - }, - PostFormatToContentNodeConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypesOfPostFormatEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - PostFormatToContentNodeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PostFormatToContentNodeConnectionEdge]' }, - nodes: { __type: '[ContentNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PostFormatToContentNodeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentNode' }, - }, - PostFormatToPostConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - categoryId: { __type: 'Int' }, - categoryIn: { __type: '[ID]' }, - categoryName: { __type: 'String' }, - categoryNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - tag: { __type: 'String' }, - tagId: { __type: 'String' }, - tagIn: { __type: '[ID]' }, - tagNotIn: { __type: '[ID]' }, - tagSlugAnd: { __type: '[String]' }, - tagSlugIn: { __type: '[String]' }, - title: { __type: 'String' }, - }, - PostFormatToPostConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PostFormatToPostConnectionEdge]' }, - nodes: { __type: '[Post]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PostFormatToPostConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Post' }, - }, - PostFormatToTaxonomyConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Taxonomy' }, - }, - PostToPreviewConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Post' }, - }, - PostToRevisionConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - categoryId: { __type: 'Int' }, - categoryIn: { __type: '[ID]' }, - categoryName: { __type: 'String' }, - categoryNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - tag: { __type: 'String' }, - tagId: { __type: 'String' }, - tagIn: { __type: '[ID]' }, - tagNotIn: { __type: '[ID]' }, - tagSlugAnd: { __type: '[String]' }, - tagSlugIn: { __type: '[String]' }, - title: { __type: 'String' }, - }, - PostToRevisionConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PostToRevisionConnectionEdge]' }, - nodes: { __type: '[Post]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PostToRevisionConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Post' }, - }, - PostToTagConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - PostToTagConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PostToTagConnectionEdge]' }, - nodes: { __type: '[Tag]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PostToTagConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Tag' }, - }, - Tag: { - __typename: { __type: 'String!' }, - contentNodes: { - __type: 'TagToContentNodeConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'TagToContentNodeConnectionWhereArgs', - }, - }, - count: { __type: 'Int' }, - databaseId: { __type: 'Int!' }, - description: { __type: 'String' }, - enqueuedScripts: { - __type: 'TermNodeToEnqueuedScriptConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - enqueuedStylesheets: { - __type: 'TermNodeToEnqueuedStylesheetConnection', - __args: { first: 'Int', last: 'Int', after: 'String', before: 'String' }, - }, - id: { __type: 'ID!' }, - isContentNode: { __type: 'Boolean!' }, - isRestricted: { __type: 'Boolean' }, - isTermNode: { __type: 'Boolean!' }, - link: { __type: 'String' }, - name: { __type: 'String' }, - posts: { - __type: 'TagToPostConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'TagToPostConnectionWhereArgs', - }, - }, - slug: { __type: 'String' }, - tagId: { __type: 'Int' }, - taxonomy: { __type: 'TagToTaxonomyConnectionEdge' }, - termGroupId: { __type: 'Int' }, - termTaxonomyId: { __type: 'Int' }, - uri: { __type: 'String' }, - }, - TagToContentNodeConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypesOfTagEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - TagToContentNodeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[TagToContentNodeConnectionEdge]' }, - nodes: { __type: '[ContentNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - TagToContentNodeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentNode' }, - }, - TagToPostConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - categoryId: { __type: 'Int' }, - categoryIn: { __type: '[ID]' }, - categoryName: { __type: 'String' }, - categoryNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - tag: { __type: 'String' }, - tagId: { __type: 'String' }, - tagIn: { __type: '[ID]' }, - tagNotIn: { __type: '[ID]' }, - tagSlugAnd: { __type: '[String]' }, - tagSlugIn: { __type: '[String]' }, - title: { __type: 'String' }, - }, - TagToPostConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[TagToPostConnectionEdge]' }, - nodes: { __type: '[Post]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - TagToPostConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Post' }, - }, - TagToTaxonomyConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Taxonomy' }, - }, - PostToTermNodeConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - taxonomies: { __type: '[TaxonomyEnum]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - PostToTermNodeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[PostToTermNodeConnectionEdge]' }, - nodes: { __type: '[TermNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - PostToTermNodeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'TermNode' }, - }, - UserToContentRevisionUnionConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypeEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - UserToContentRevisionUnionConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[UserToContentRevisionUnionConnectionEdge]' }, - nodes: { __type: '[ContentRevisionUnion]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - UserToContentRevisionUnionConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentRevisionUnion' }, - }, - UserToUserRoleConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[UserToUserRoleConnectionEdge]' }, - nodes: { __type: '[UserRole]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - UserToUserRoleConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'UserRole' }, - }, - UserRole: { - __typename: { __type: 'String!' }, - capabilities: { __type: '[String]' }, - displayName: { __type: 'String' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - name: { __type: 'String' }, - }, - CategoryToParentCategoryConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Category' }, - }, - CategoryToPostConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - categoryId: { __type: 'Int' }, - categoryIn: { __type: '[ID]' }, - categoryName: { __type: 'String' }, - categoryNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - tag: { __type: 'String' }, - tagId: { __type: 'String' }, - tagIn: { __type: '[ID]' }, - tagNotIn: { __type: '[ID]' }, - tagSlugAnd: { __type: '[String]' }, - tagSlugIn: { __type: '[String]' }, - title: { __type: 'String' }, - }, - CategoryToPostConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[CategoryToPostConnectionEdge]' }, - nodes: { __type: '[Post]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - CategoryToPostConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Post' }, - }, - CategoryToTaxonomyConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Taxonomy' }, - }, - RootQueryToCommentConnectionWhereArgs: { - authorEmail: { __type: 'String' }, - authorIn: { __type: '[ID]' }, - authorNotIn: { __type: '[ID]' }, - authorUrl: { __type: 'String' }, - commentIn: { __type: '[ID]' }, - commentNotIn: { __type: '[ID]' }, - commentType: { __type: 'String' }, - commentTypeIn: { __type: '[String]' }, - commentTypeNotIn: { __type: 'String' }, - contentAuthor: { __type: '[ID]' }, - contentAuthorIn: { __type: '[ID]' }, - contentAuthorNotIn: { __type: '[ID]' }, - contentId: { __type: 'ID' }, - contentIdIn: { __type: '[ID]' }, - contentIdNotIn: { __type: '[ID]' }, - contentName: { __type: 'String' }, - contentParent: { __type: 'Int' }, - contentStatus: { __type: '[PostStatusEnum]' }, - contentType: { __type: '[ContentTypeEnum]' }, - includeUnapproved: { __type: '[ID]' }, - karma: { __type: 'Int' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'CommentsConnectionOrderbyEnum' }, - parent: { __type: 'Int' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - search: { __type: 'String' }, - status: { __type: 'String' }, - userId: { __type: 'ID' }, - }, - RootQueryToCommentConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToCommentConnectionEdge]' }, - nodes: { __type: '[Comment]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToCommentConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Comment' }, - }, - RootQueryToContentNodeConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypeEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - RootQueryToContentNodeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToContentNodeConnectionEdge]' }, - nodes: { __type: '[ContentNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToContentNodeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentNode' }, - }, - RootQueryToContentTypeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToContentTypeConnectionEdge]' }, - nodes: { __type: '[ContentType]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToContentTypeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentType' }, - }, - DiscussionSettings: { - __typename: { __type: 'String!' }, - defaultCommentStatus: { __type: 'String' }, - defaultPingStatus: { __type: 'String' }, - }, - GeneralSettings: { - __typename: { __type: 'String!' }, - dateFormat: { __type: 'String' }, - description: { __type: 'String' }, - email: { __type: 'String' }, - language: { __type: 'String' }, - startOfWeek: { __type: 'Int' }, - timeFormat: { __type: 'String' }, - timezone: { __type: 'String' }, - title: { __type: 'String' }, - url: { __type: 'String' }, - }, - RootQueryToMediaItemConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - RootQueryToMediaItemConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToMediaItemConnectionEdge]' }, - nodes: { __type: '[MediaItem]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToMediaItemConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'MediaItem' }, - }, - Menu: { - __typename: { __type: 'String!' }, - count: { __type: 'Int' }, - databaseId: { __type: 'Int!' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - locations: { __type: '[MenuLocationEnum]' }, - menuId: { __type: 'Int' }, - menuItems: { - __type: 'MenuToMenuItemConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'MenuToMenuItemConnectionWhereArgs', - }, - }, - name: { __type: 'String' }, - slug: { __type: 'String' }, - }, - MenuToMenuItemConnectionWhereArgs: { - id: { __type: 'Int' }, - location: { __type: 'MenuLocationEnum' }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - }, - MenuToMenuItemConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[MenuToMenuItemConnectionEdge]' }, - nodes: { __type: '[MenuItem]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - MenuToMenuItemConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'MenuItem' }, - }, - MenuItem: { - __typename: { __type: 'String!' }, - childItems: { - __type: 'MenuItemToMenuItemConnection', - __args: { - first: 'Int', - last: 'Int', - after: 'String', - before: 'String', - where: 'MenuItemToMenuItemConnectionWhereArgs', - }, - }, - connectedNode: { __type: 'MenuItemToMenuItemLinkableConnectionEdge' }, - connectedObject: { __type: 'MenuItemObjectUnion' }, - cssClasses: { __type: '[String]' }, - databaseId: { __type: 'Int!' }, - description: { __type: 'String' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - label: { __type: 'String' }, - linkRelationship: { __type: 'String' }, - locations: { __type: '[MenuLocationEnum]' }, - menu: { __type: 'MenuItemToMenuConnectionEdge' }, - menuItemId: { __type: 'Int' }, - order: { __type: 'Int' }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - path: { __type: 'String' }, - target: { __type: 'String' }, - title: { __type: 'String' }, - url: { __type: 'String' }, - }, - MenuItemToMenuItemConnectionWhereArgs: { - id: { __type: 'Int' }, - location: { __type: 'MenuLocationEnum' }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - }, - MenuItemToMenuItemConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[MenuItemToMenuItemConnectionEdge]' }, - nodes: { __type: '[MenuItem]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - MenuItemToMenuItemConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'MenuItem' }, - }, - MenuItemToMenuItemLinkableConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'MenuItemLinkable' }, - }, - MenuItemToMenuConnectionEdge: { - __typename: { __type: 'String!' }, - node: { __type: 'Menu' }, - }, - RootQueryToMenuItemConnectionWhereArgs: { - id: { __type: 'Int' }, - location: { __type: 'MenuLocationEnum' }, - parentDatabaseId: { __type: 'Int' }, - parentId: { __type: 'ID' }, - }, - RootQueryToMenuItemConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToMenuItemConnectionEdge]' }, - nodes: { __type: '[MenuItem]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToMenuItemConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'MenuItem' }, - }, - RootQueryToMenuConnectionWhereArgs: { - id: { __type: 'Int' }, - location: { __type: 'MenuLocationEnum' }, - slug: { __type: 'String' }, - }, - RootQueryToMenuConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToMenuConnectionEdge]' }, - nodes: { __type: '[Menu]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToMenuConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Menu' }, - }, - RootQueryToPageConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - RootQueryToPageConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToPageConnectionEdge]' }, - nodes: { __type: '[Page]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToPageConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Page' }, - }, - Plugin: { - __typename: { __type: 'String!' }, - author: { __type: 'String' }, - authorUri: { __type: 'String' }, - description: { __type: 'String' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - name: { __type: 'String' }, - path: { __type: 'String' }, - pluginUri: { __type: 'String' }, - version: { __type: 'String' }, - }, - RootQueryToPluginConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToPluginConnectionEdge]' }, - nodes: { __type: '[Plugin]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToPluginConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Plugin' }, - }, - RootQueryToPostFormatConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - RootQueryToPostFormatConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToPostFormatConnectionEdge]' }, - nodes: { __type: '[PostFormat]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToPostFormatConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'PostFormat' }, - }, - RootQueryToPostConnectionWhereArgs: { - author: { __type: 'Int' }, - authorIn: { __type: '[ID]' }, - authorName: { __type: 'String' }, - authorNotIn: { __type: '[ID]' }, - categoryId: { __type: 'Int' }, - categoryIn: { __type: '[ID]' }, - categoryName: { __type: 'String' }, - categoryNotIn: { __type: '[ID]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - tag: { __type: 'String' }, - tagId: { __type: 'String' }, - tagIn: { __type: '[ID]' }, - tagNotIn: { __type: '[ID]' }, - tagSlugAnd: { __type: '[String]' }, - tagSlugIn: { __type: '[String]' }, - title: { __type: 'String' }, - }, - RootQueryToPostConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToPostConnectionEdge]' }, - nodes: { __type: '[Post]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToPostConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Post' }, - }, - ReadingSettings: { - __typename: { __type: 'String!' }, - postsPerPage: { __type: 'Int' }, - }, - RootQueryToEnqueuedScriptConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToEnqueuedScriptConnectionEdge]' }, - nodes: { __type: '[EnqueuedScript]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToEnqueuedScriptConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'EnqueuedScript' }, - }, - RootQueryToEnqueuedStylesheetConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToEnqueuedStylesheetConnectionEdge]' }, - nodes: { __type: '[EnqueuedStylesheet]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToEnqueuedStylesheetConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'EnqueuedStylesheet' }, - }, - RootQueryToContentRevisionUnionConnectionWhereArgs: { - contentTypes: { __type: '[ContentTypeEnum]' }, - dateQuery: { __type: 'DateQueryInput' }, - hasPassword: { __type: 'Boolean' }, - id: { __type: 'Int' }, - in: { __type: '[ID]' }, - mimeType: { __type: 'MimeTypeEnum' }, - name: { __type: 'String' }, - nameIn: { __type: '[String]' }, - notIn: { __type: '[ID]' }, - orderby: { __type: '[PostObjectsConnectionOrderbyInput]' }, - parent: { __type: 'ID' }, - parentIn: { __type: '[ID]' }, - parentNotIn: { __type: '[ID]' }, - password: { __type: 'String' }, - search: { __type: 'String' }, - stati: { __type: '[PostStatusEnum]' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - RootQueryToContentRevisionUnionConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToContentRevisionUnionConnectionEdge]' }, - nodes: { __type: '[ContentRevisionUnion]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToContentRevisionUnionConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'ContentRevisionUnion' }, - }, - RootQueryToTagConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - RootQueryToTagConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToTagConnectionEdge]' }, - nodes: { __type: '[Tag]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToTagConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Tag' }, - }, - RootQueryToTaxonomyConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToTaxonomyConnectionEdge]' }, - nodes: { __type: '[Taxonomy]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToTaxonomyConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Taxonomy' }, - }, - RootQueryToTermNodeConnectionWhereArgs: { - cacheDomain: { __type: 'String' }, - childOf: { __type: 'Int' }, - childless: { __type: 'Boolean' }, - descriptionLike: { __type: 'String' }, - exclude: { __type: '[ID]' }, - excludeTree: { __type: '[ID]' }, - hideEmpty: { __type: 'Boolean' }, - hierarchical: { __type: 'Boolean' }, - include: { __type: '[ID]' }, - name: { __type: '[String]' }, - nameLike: { __type: 'String' }, - objectIds: { __type: '[ID]' }, - order: { __type: 'OrderEnum' }, - orderby: { __type: 'TermObjectsConnectionOrderbyEnum' }, - padCounts: { __type: 'Boolean' }, - parent: { __type: 'Int' }, - search: { __type: 'String' }, - slug: { __type: '[String]' }, - taxonomies: { __type: '[TaxonomyEnum]' }, - termTaxonomId: { __type: '[ID]' }, - updateTermMetaCache: { __type: 'Boolean' }, - }, - RootQueryToTermNodeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToTermNodeConnectionEdge]' }, - nodes: { __type: '[TermNode]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToTermNodeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'TermNode' }, - }, - Theme: { - __typename: { __type: 'String!' }, - author: { __type: 'String' }, - authorUri: { __type: 'String' }, - description: { __type: 'String' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - name: { __type: 'String' }, - screenshot: { __type: 'String' }, - slug: { __type: 'String' }, - tags: { __type: '[String]' }, - themeUri: { __type: 'String' }, - version: { __type: 'String' }, - }, - RootQueryToThemeConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToThemeConnectionEdge]' }, - nodes: { __type: '[Theme]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToThemeConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'Theme' }, - }, - RootQueryToUserRoleConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToUserRoleConnectionEdge]' }, - nodes: { __type: '[UserRole]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToUserRoleConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'UserRole' }, - }, - RootQueryToUserConnectionWhereArgs: { - exclude: { __type: '[Int]' }, - hasPublishedPosts: { __type: '[ContentTypeEnum]' }, - include: { __type: '[Int]' }, - login: { __type: 'String' }, - loginIn: { __type: '[String]' }, - loginNotIn: { __type: '[String]' }, - nicename: { __type: 'String' }, - nicenameIn: { __type: '[String]' }, - nicenameNotIn: { __type: '[String]' }, - orderby: { __type: '[UsersConnectionOrderbyInput]' }, - role: { __type: 'UserRoleEnum' }, - roleIn: { __type: '[UserRoleEnum]' }, - roleNotIn: { __type: '[UserRoleEnum]' }, - search: { __type: 'String' }, - searchColumns: { __type: '[UsersConnectionSearchColumnEnum]' }, - }, - UsersConnectionOrderbyInput: { - field: { __type: 'UsersConnectionOrderbyEnum!' }, - order: { __type: 'OrderEnum' }, - }, - RootQueryToUserConnection: { - __typename: { __type: 'String!' }, - edges: { __type: '[RootQueryToUserConnectionEdge]' }, - nodes: { __type: '[User]' }, - pageInfo: { __type: 'WPPageInfo' }, - }, - RootQueryToUserConnectionEdge: { - __typename: { __type: 'String!' }, - cursor: { __type: 'String' }, - node: { __type: 'User' }, - }, - WritingSettings: { - __typename: { __type: 'String!' }, - defaultCategory: { __type: 'Int' }, - defaultPostFormat: { __type: 'String' }, - useSmilies: { __type: 'Boolean' }, - }, - CreateCategoryInput: { - aliasOf: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - name: { __type: 'String!' }, - parentId: { __type: 'ID' }, - slug: { __type: 'String' }, - }, - CreateCategoryPayload: { - __typename: { __type: 'String!' }, - category: { __type: 'Category' }, - clientMutationId: { __type: 'String' }, - }, - CreateCommentInput: { - approved: { __type: 'String' }, - author: { __type: 'String' }, - authorEmail: { __type: 'String' }, - authorUrl: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - commentOn: { __type: 'Int' }, - content: { __type: 'String' }, - date: { __type: 'String' }, - parent: { __type: 'ID' }, - type: { __type: 'String' }, - }, - CreateCommentPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - comment: { __type: 'Comment' }, - success: { __type: 'Boolean' }, - }, - CreateMediaItemInput: { - altText: { __type: 'String' }, - authorId: { __type: 'ID' }, - caption: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - commentStatus: { __type: 'String' }, - date: { __type: 'String' }, - dateGmt: { __type: 'String' }, - description: { __type: 'String' }, - filePath: { __type: 'String' }, - fileType: { __type: 'MimeTypeEnum' }, - parentId: { __type: 'ID' }, - pingStatus: { __type: 'String' }, - slug: { __type: 'String' }, - status: { __type: 'MediaItemStatusEnum' }, - title: { __type: 'String' }, - }, - CreateMediaItemPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - mediaItem: { __type: 'MediaItem' }, - }, - CreatePageInput: { - authorId: { __type: 'ID' }, - clientMutationId: { __type: 'String' }, - commentStatus: { __type: 'String' }, - content: { __type: 'String' }, - date: { __type: 'String' }, - menuOrder: { __type: 'Int' }, - parentId: { __type: 'ID' }, - password: { __type: 'String' }, - slug: { __type: 'String' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - CreatePagePayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - page: { __type: 'Page' }, - }, - CreatePostInput: { - authorId: { __type: 'ID' }, - categories: { __type: 'PostCategoriesInput' }, - clientMutationId: { __type: 'String' }, - commentStatus: { __type: 'String' }, - content: { __type: 'String' }, - date: { __type: 'String' }, - excerpt: { __type: 'String' }, - menuOrder: { __type: 'Int' }, - password: { __type: 'String' }, - pingStatus: { __type: 'String' }, - pinged: { __type: '[String]' }, - postFormats: { __type: 'PostPostFormatsInput' }, - slug: { __type: 'String' }, - status: { __type: 'PostStatusEnum' }, - tags: { __type: 'PostTagsInput' }, - title: { __type: 'String' }, - toPing: { __type: '[String]' }, - }, - PostCategoriesInput: { - append: { __type: 'Boolean' }, - nodes: { __type: '[PostCategoriesNodeInput]' }, - }, - PostCategoriesNodeInput: { - description: { __type: 'String' }, - id: { __type: 'ID' }, - name: { __type: 'String' }, - slug: { __type: 'String' }, - }, - PostPostFormatsInput: { - append: { __type: 'Boolean' }, - nodes: { __type: '[PostPostFormatsNodeInput]' }, - }, - PostPostFormatsNodeInput: { - description: { __type: 'String' }, - id: { __type: 'ID' }, - name: { __type: 'String' }, - slug: { __type: 'String' }, - }, - PostTagsInput: { - append: { __type: 'Boolean' }, - nodes: { __type: '[PostTagsNodeInput]' }, - }, - PostTagsNodeInput: { - description: { __type: 'String' }, - id: { __type: 'ID' }, - name: { __type: 'String' }, - slug: { __type: 'String' }, - }, - CreatePostPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - post: { __type: 'Post' }, - }, - CreatePostFormatInput: { - aliasOf: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - name: { __type: 'String!' }, - slug: { __type: 'String' }, - }, - CreatePostFormatPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - postFormat: { __type: 'PostFormat' }, - }, - CreateTagInput: { - aliasOf: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - name: { __type: 'String!' }, - slug: { __type: 'String' }, - }, - CreateTagPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - tag: { __type: 'Tag' }, - }, - CreateUserInput: { - aim: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - displayName: { __type: 'String' }, - email: { __type: 'String' }, - firstName: { __type: 'String' }, - jabber: { __type: 'String' }, - lastName: { __type: 'String' }, - locale: { __type: 'String' }, - nicename: { __type: 'String' }, - nickname: { __type: 'String' }, - password: { __type: 'String' }, - registered: { __type: 'String' }, - richEditing: { __type: 'String' }, - roles: { __type: '[String]' }, - username: { __type: 'String!' }, - websiteUrl: { __type: 'String' }, - yim: { __type: 'String' }, - }, - CreateUserPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - user: { __type: 'User' }, - }, - DeleteCategoryInput: { - clientMutationId: { __type: 'String' }, - id: { __type: 'ID!' }, - }, - DeleteCategoryPayload: { - __typename: { __type: 'String!' }, - category: { __type: 'Category' }, - clientMutationId: { __type: 'String' }, - deletedId: { __type: 'ID' }, - }, - DeleteCommentInput: { - clientMutationId: { __type: 'String' }, - forceDelete: { __type: 'Boolean' }, - id: { __type: 'ID!' }, - }, - DeleteCommentPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - comment: { __type: 'Comment' }, - deletedId: { __type: 'ID' }, - }, - DeleteMediaItemInput: { - clientMutationId: { __type: 'String' }, - forceDelete: { __type: 'Boolean' }, - id: { __type: 'ID!' }, - }, - DeleteMediaItemPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - deletedId: { __type: 'ID' }, - mediaItem: { __type: 'MediaItem' }, - }, - DeletePageInput: { - clientMutationId: { __type: 'String' }, - forceDelete: { __type: 'Boolean' }, - id: { __type: 'ID!' }, - }, - DeletePagePayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - deletedId: { __type: 'ID' }, - page: { __type: 'Page' }, - }, - DeletePostInput: { - clientMutationId: { __type: 'String' }, - forceDelete: { __type: 'Boolean' }, - id: { __type: 'ID!' }, - }, - DeletePostPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - deletedId: { __type: 'ID' }, - post: { __type: 'Post' }, - }, - DeletePostFormatInput: { - clientMutationId: { __type: 'String' }, - id: { __type: 'ID!' }, - }, - DeletePostFormatPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - deletedId: { __type: 'ID' }, - postFormat: { __type: 'PostFormat' }, - }, - DeleteTagInput: { - clientMutationId: { __type: 'String' }, - id: { __type: 'ID!' }, - }, - DeleteTagPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - deletedId: { __type: 'ID' }, - tag: { __type: 'Tag' }, - }, - DeleteUserInput: { - clientMutationId: { __type: 'String' }, - id: { __type: 'ID!' }, - reassignId: { __type: 'ID' }, - }, - DeleteUserPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - deletedId: { __type: 'ID' }, - user: { __type: 'User' }, - }, - RegisterUserInput: { - aim: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - displayName: { __type: 'String' }, - email: { __type: 'String' }, - firstName: { __type: 'String' }, - jabber: { __type: 'String' }, - lastName: { __type: 'String' }, - locale: { __type: 'String' }, - nicename: { __type: 'String' }, - nickname: { __type: 'String' }, - password: { __type: 'String' }, - registered: { __type: 'String' }, - richEditing: { __type: 'String' }, - username: { __type: 'String!' }, - websiteUrl: { __type: 'String' }, - yim: { __type: 'String' }, - }, - RegisterUserPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - user: { __type: 'User' }, - }, - ResetUserPasswordInput: { - clientMutationId: { __type: 'String' }, - key: { __type: 'String' }, - login: { __type: 'String' }, - password: { __type: 'String' }, - }, - ResetUserPasswordPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - user: { __type: 'User' }, - }, - RestoreCommentInput: { - clientMutationId: { __type: 'String' }, - id: { __type: 'ID!' }, - }, - RestoreCommentPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - comment: { __type: 'Comment' }, - restoredId: { __type: 'ID' }, - }, - SendPasswordResetEmailInput: { - clientMutationId: { __type: 'String' }, - username: { __type: 'String!' }, - }, - SendPasswordResetEmailPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - user: { __type: 'User' }, - }, - UpdateCategoryInput: { - aliasOf: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - id: { __type: 'ID!' }, - name: { __type: 'String' }, - parentId: { __type: 'ID' }, - slug: { __type: 'String' }, - }, - UpdateCategoryPayload: { - __typename: { __type: 'String!' }, - category: { __type: 'Category' }, - clientMutationId: { __type: 'String' }, - }, - UpdateCommentInput: { - approved: { __type: 'String' }, - author: { __type: 'String' }, - authorEmail: { __type: 'String' }, - authorUrl: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - commentOn: { __type: 'Int' }, - content: { __type: 'String' }, - date: { __type: 'String' }, - id: { __type: 'ID!' }, - parent: { __type: 'ID' }, - type: { __type: 'String' }, - }, - UpdateCommentPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - comment: { __type: 'Comment' }, - success: { __type: 'Boolean' }, - }, - UpdateMediaItemInput: { - altText: { __type: 'String' }, - authorId: { __type: 'ID' }, - caption: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - commentStatus: { __type: 'String' }, - date: { __type: 'String' }, - dateGmt: { __type: 'String' }, - description: { __type: 'String' }, - filePath: { __type: 'String' }, - fileType: { __type: 'MimeTypeEnum' }, - id: { __type: 'ID!' }, - parentId: { __type: 'ID' }, - pingStatus: { __type: 'String' }, - slug: { __type: 'String' }, - status: { __type: 'MediaItemStatusEnum' }, - title: { __type: 'String' }, - }, - UpdateMediaItemPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - mediaItem: { __type: 'MediaItem' }, - }, - UpdatePageInput: { - authorId: { __type: 'ID' }, - clientMutationId: { __type: 'String' }, - commentStatus: { __type: 'String' }, - content: { __type: 'String' }, - date: { __type: 'String' }, - id: { __type: 'ID!' }, - menuOrder: { __type: 'Int' }, - parentId: { __type: 'ID' }, - password: { __type: 'String' }, - slug: { __type: 'String' }, - status: { __type: 'PostStatusEnum' }, - title: { __type: 'String' }, - }, - UpdatePagePayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - page: { __type: 'Page' }, - }, - UpdatePostInput: { - authorId: { __type: 'ID' }, - categories: { __type: 'PostCategoriesInput' }, - clientMutationId: { __type: 'String' }, - commentStatus: { __type: 'String' }, - content: { __type: 'String' }, - date: { __type: 'String' }, - excerpt: { __type: 'String' }, - id: { __type: 'ID!' }, - menuOrder: { __type: 'Int' }, - password: { __type: 'String' }, - pingStatus: { __type: 'String' }, - pinged: { __type: '[String]' }, - postFormats: { __type: 'PostPostFormatsInput' }, - slug: { __type: 'String' }, - status: { __type: 'PostStatusEnum' }, - tags: { __type: 'PostTagsInput' }, - title: { __type: 'String' }, - toPing: { __type: '[String]' }, - }, - UpdatePostPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - post: { __type: 'Post' }, - }, - UpdatePostFormatInput: { - aliasOf: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - id: { __type: 'ID!' }, - name: { __type: 'String' }, - slug: { __type: 'String' }, - }, - UpdatePostFormatPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - postFormat: { __type: 'PostFormat' }, - }, - UpdateSettingsInput: { - clientMutationId: { __type: 'String' }, - discussionSettingsDefaultCommentStatus: { __type: 'String' }, - discussionSettingsDefaultPingStatus: { __type: 'String' }, - generalSettingsDateFormat: { __type: 'String' }, - generalSettingsDescription: { __type: 'String' }, - generalSettingsEmail: { __type: 'String' }, - generalSettingsLanguage: { __type: 'String' }, - generalSettingsStartOfWeek: { __type: 'Int' }, - generalSettingsTimeFormat: { __type: 'String' }, - generalSettingsTimezone: { __type: 'String' }, - generalSettingsTitle: { __type: 'String' }, - generalSettingsUrl: { __type: 'String' }, - readingSettingsPostsPerPage: { __type: 'Int' }, - writingSettingsDefaultCategory: { __type: 'Int' }, - writingSettingsDefaultPostFormat: { __type: 'String' }, - writingSettingsUseSmilies: { __type: 'Boolean' }, - }, - UpdateSettingsPayload: { - __typename: { __type: 'String!' }, - allSettings: { __type: 'Settings' }, - clientMutationId: { __type: 'String' }, - discussionSettings: { __type: 'DiscussionSettings' }, - generalSettings: { __type: 'GeneralSettings' }, - readingSettings: { __type: 'ReadingSettings' }, - writingSettings: { __type: 'WritingSettings' }, - }, - UpdateTagInput: { - aliasOf: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - id: { __type: 'ID!' }, - name: { __type: 'String' }, - slug: { __type: 'String' }, - }, - UpdateTagPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - tag: { __type: 'Tag' }, - }, - UpdateUserInput: { - aim: { __type: 'String' }, - clientMutationId: { __type: 'String' }, - description: { __type: 'String' }, - displayName: { __type: 'String' }, - email: { __type: 'String' }, - firstName: { __type: 'String' }, - id: { __type: 'ID!' }, - jabber: { __type: 'String' }, - lastName: { __type: 'String' }, - locale: { __type: 'String' }, - nicename: { __type: 'String' }, - nickname: { __type: 'String' }, - password: { __type: 'String' }, - registered: { __type: 'String' }, - richEditing: { __type: 'String' }, - roles: { __type: '[String]' }, - websiteUrl: { __type: 'String' }, - yim: { __type: 'String' }, - }, - UpdateUserPayload: { - __typename: { __type: 'String!' }, - clientMutationId: { __type: 'String' }, - user: { __type: 'User' }, - }, - CommentAuthor: { - __typename: { __type: 'String!' }, - databaseId: { __type: 'Int!' }, - email: { __type: 'String' }, - id: { __type: 'ID!' }, - isRestricted: { __type: 'Boolean' }, - name: { __type: 'String' }, - url: { __type: 'String' }, - }, - DefaultTemplate: { - __typename: { __type: 'String!' }, - templateName: { __type: 'String' }, - }, - [SchemaUnionsKey]: { - ContentRevisionUnion: ['Post', 'Page'], - MenuItemObjectUnion: ['Post', 'Page', 'Category', 'Tag', 'PostFormat'], - }, -} as const; - -export interface Query { - __typename: 'Query' | undefined; - allSettings?: Maybe; - categories: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - category: (args: { - id: Scalars['ID']; - idType?: Maybe; - }) => Maybe; - comment: (args: { id: Scalars['ID'] }) => Maybe; - comments: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - contentNode: (args: { - id: Scalars['ID']; - idType?: Maybe; - contentType?: Maybe; - asPreview?: Maybe; - }) => Maybe; - contentNodes: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - contentType: (args: { - id: Scalars['ID']; - idType?: Maybe; - }) => Maybe; - contentTypes: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - }) => Maybe; - discussionSettings?: Maybe; - generalSettings?: Maybe; - mediaItem: (args: { - id: Scalars['ID']; - idType?: Maybe; - asPreview?: Maybe; - }) => Maybe; - mediaItemBy: (args?: { - id?: Maybe; - mediaItemId?: Maybe; - uri?: Maybe; - slug?: Maybe; - }) => Maybe; - mediaItems: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - menu: (args: { - id: Scalars['ID']; - idType?: Maybe; - }) => Maybe; - menuItem: (args: { - id: Scalars['ID']; - idType?: Maybe; - }) => Maybe; - menuItems: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - menus: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - node: (args?: { id?: Maybe }) => Maybe; - nodeByUri: (args: { - uri: Scalars['String']; - }) => Maybe; - page: (args: { - id: Scalars['ID']; - idType?: Maybe; - asPreview?: Maybe; - }) => Maybe; - pageBy: (args?: { - id?: Maybe; - pageId?: Maybe; - uri?: Maybe; - }) => Maybe; - pages: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - plugin: (args: { id: Scalars['ID'] }) => Maybe; - plugins: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - }) => Maybe; - post: (args: { - id: Scalars['ID']; - idType?: Maybe; - asPreview?: Maybe; - }) => Maybe; - postBy: (args?: { - id?: Maybe; - postId?: Maybe; - uri?: Maybe; - slug?: Maybe; - }) => Maybe; - postFormat: (args: { - id: Scalars['ID']; - idType?: Maybe; - }) => Maybe; - postFormats: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - posts: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - readingSettings?: Maybe; - registeredScripts: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - }) => Maybe; - registeredStylesheets: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - }) => Maybe; - revisions: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - tag: (args: { id: Scalars['ID']; idType?: Maybe }) => Maybe; - tags: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - taxonomies: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - }) => Maybe; - taxonomy: (args: { - id: Scalars['ID']; - idType?: Maybe; - }) => Maybe; - termNode: (args: { - id: Scalars['ID']; - idType?: Maybe; - taxonomy?: Maybe; - }) => Maybe; - terms: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - theme: (args: { id: Scalars['ID'] }) => Maybe; - themes: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - }) => Maybe; - user: (args: { - id: Scalars['ID']; - idType?: Maybe; - }) => Maybe; - userRole: (args: { id: Scalars['ID'] }) => Maybe; - userRoles: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - }) => Maybe; - users: (args?: { - first?: Maybe; - last?: Maybe; - after?: Maybe; - before?: Maybe; - where?: Maybe; - }) => Maybe; - viewer?: Maybe; - writingSettings?: Maybe; -} - -export interface Mutation { - __typename: 'Mutation' | undefined; - createCategory: (args: { - input: CreateCategoryInput; - }) => Maybe; - createComment: (args: { - input: CreateCommentInput; - }) => Maybe; - createMediaItem: (args: { - input: CreateMediaItemInput; - }) => Maybe; - createPage: (args: { input: CreatePageInput }) => Maybe; - createPost: (args: { input: CreatePostInput }) => Maybe; - createPostFormat: (args: { - input: CreatePostFormatInput; - }) => Maybe; - createTag: (args: { input: CreateTagInput }) => Maybe; - createUser: (args: { input: CreateUserInput }) => Maybe; - deleteCategory: (args: { - input: DeleteCategoryInput; - }) => Maybe; - deleteComment: (args: { - input: DeleteCommentInput; - }) => Maybe; - deleteMediaItem: (args: { - input: DeleteMediaItemInput; - }) => Maybe; - deletePage: (args: { input: DeletePageInput }) => Maybe; - deletePost: (args: { input: DeletePostInput }) => Maybe; - deletePostFormat: (args: { - input: DeletePostFormatInput; - }) => Maybe; - deleteTag: (args: { input: DeleteTagInput }) => Maybe; - deleteUser: (args: { input: DeleteUserInput }) => Maybe; - increaseCount: (args?: { - count?: Maybe; - }) => Maybe; - registerUser: (args: { - input: RegisterUserInput; - }) => Maybe; - resetUserPassword: (args: { - input: ResetUserPasswordInput; - }) => Maybe; - restoreComment: (args: { - input: RestoreCommentInput; - }) => Maybe; - sendPasswordResetEmail: (args: { - input: SendPasswordResetEmailInput; - }) => Maybe; - updateCategory: (args: { - input: UpdateCategoryInput; - }) => Maybe; - updateComment: (args: { - input: UpdateCommentInput; - }) => Maybe; - updateMediaItem: (args: { - input: UpdateMediaItemInput; - }) => Maybe; - updatePage: (args: { input: UpdatePageInput }) => Maybe; - updatePost: (args: { input: UpdatePostInput }) => Maybe; - updatePostFormat: (args: { - input: UpdatePostFormatInput; - }) => Maybe; - updateSettings: (args: { - input: UpdateSettingsInput; - }) => Maybe; - updateTag: (args: { input: UpdateTagInput }) => Maybe; - updateUser: (args: { input: UpdateUserInput }) => Maybe; -} - -export interface Subscription { - __typename: 'Subscription' | undefined; -} - -/** - * All of the registered settings - */ -export interface Settings { - __typename: 'Settings' | undefined; - /** - * Settings of the the string Settings Group - */ - discussionSettingsDefaultCommentStatus?: Maybe; - /** - * Settings of the the string Settings Group - */ - discussionSettingsDefaultPingStatus?: Maybe; - /** - * Settings of the the string Settings Group - */ - generalSettingsDateFormat?: Maybe; - /** - * Settings of the the string Settings Group - */ - generalSettingsDescription?: Maybe; - /** - * Settings of the the string Settings Group - */ - generalSettingsEmail?: Maybe; - /** - * Settings of the the string Settings Group - */ - generalSettingsLanguage?: Maybe; - /** - * Settings of the the integer Settings Group - */ - generalSettingsStartOfWeek?: Maybe; - /** - * Settings of the the string Settings Group - */ - generalSettingsTimeFormat?: Maybe; - /** - * Settings of the the string Settings Group - */ - generalSettingsTimezone?: Maybe; - /** - * Settings of the the string Settings Group - */ - generalSettingsTitle?: Maybe; - /** - * Settings of the the string Settings Group - */ - generalSettingsUrl?: Maybe; - /** - * Settings of the the integer Settings Group - */ - readingSettingsPostsPerPage?: Maybe; - /** - * Settings of the the integer Settings Group - */ - writingSettingsDefaultCategory?: Maybe; - /** - * Settings of the the string Settings Group - */ - writingSettingsDefaultPostFormat?: Maybe; - /** - * Settings of the the boolean Settings Group - */ - writingSettingsUseSmilies?: Maybe; -} - -/** - * Connection between the RootQuery type and the category type - */ -export interface RootQueryToCategoryConnection { - __typename: 'RootQueryToCategoryConnection' | undefined; - /** - * Edges for the RootQueryToCategoryConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToCategoryConnectionEdge { - __typename: 'RootQueryToCategoryConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The category type - */ -export interface Category - extends Omit, - Omit, - Omit, - Omit, - Omit, - Omit { - __typename: 'Category' | undefined; - /** - * The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - */ - ancestors: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of databaseId - */ - categoryId?: Maybe; - /** - * Connection between the category type and the category type - */ - children: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the category type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * The description of the object - */ - description?: Maybe; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The link to the term - */ - link?: Maybe; - /** - * The human friendly name of the object. - */ - name?: Maybe; - /** - * Connection between the category type and the category type - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - /** - * Connection between the category type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - /** - * Connection between the category type and the Taxonomy type - */ - taxonomy?: Maybe; - /** - * The ID of the term group that this term object belongs to - */ - termGroupId?: Maybe; - /** - * The taxonomy ID that the object is associated with - */ - termTaxonomyId?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * An object with an ID - */ -export interface Node { - __typename: 'Node' | undefined; - /** - * The globally unique ID for the object - */ - id: ScalarsEnums['ID']; -} - -/** - * Terms are nodes within a Taxonomy, used to group and relate other nodes. - */ -export interface TermNode { - __typename: 'TermNode' | undefined; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * Identifies the primary key from the database. - */ - databaseId: ScalarsEnums['Int']; - /** - * The description of the object - */ - description?: Maybe; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The link to the term - */ - link?: Maybe; - /** - * The human friendly name of the object. - */ - name?: Maybe; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - /** - * The ID of the term group that this term object belongs to - */ - termGroupId?: Maybe; - /** - * The taxonomy ID that the object is associated with - */ - termTaxonomyId?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * Any node that has a URI - */ -export interface UniformResourceIdentifiable { - __typename: 'UniformResourceIdentifiable' | undefined; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * Connection between the TermNode type and the EnqueuedScript type - */ -export interface TermNodeToEnqueuedScriptConnection { - __typename: 'TermNodeToEnqueuedScriptConnection' | undefined; - /** - * Edges for the TermNodeToEnqueuedScriptConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface TermNodeToEnqueuedScriptConnectionEdge { - __typename: 'TermNodeToEnqueuedScriptConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Script enqueued by the CMS - */ -export interface EnqueuedScript - extends Omit, - Omit { - __typename: 'EnqueuedScript' | undefined; - /** - * @todo - */ - args?: Maybe; - /** - * Dependencies needed to use this asset - */ - dependencies?: Maybe>>; - /** - * Extra information needed for the script - */ - extra?: Maybe; - /** - * The handle of the enqueued asset - */ - handle?: Maybe; - /** - * The ID of the enqueued asset - */ - id: ScalarsEnums['ID']; - /** - * The source of the asset - */ - src?: Maybe; - /** - * The version of the enqueued asset - */ - version?: Maybe; -} - -/** - * Asset enqueued by the CMS - */ -export interface EnqueuedAsset { - __typename: 'EnqueuedAsset' | undefined; - /** - * @todo - */ - args?: Maybe; - /** - * Dependencies needed to use this asset - */ - dependencies?: Maybe>>; - /** - * Extra information needed for the script - */ - extra?: Maybe; - /** - * The handle of the enqueued asset - */ - handle?: Maybe; - /** - * The ID of the enqueued asset - */ - id: ScalarsEnums['ID']; - /** - * The source of the asset - */ - src?: Maybe; - /** - * The version of the enqueued asset - */ - version?: Maybe; -} - -/** - * Information about pagination in a connection. - */ -export interface WPPageInfo { - __typename: 'WPPageInfo' | undefined; - /** - * When paginating forwards, the cursor to continue. - */ - endCursor?: Maybe; - /** - * When paginating forwards, are there more items? - */ - hasNextPage: ScalarsEnums['Boolean']; - /** - * When paginating backwards, are there more items? - */ - hasPreviousPage: ScalarsEnums['Boolean']; - /** - * When paginating backwards, the cursor to continue. - */ - startCursor?: Maybe; -} - -/** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ -export interface TermNodeToEnqueuedStylesheetConnection { - __typename: 'TermNodeToEnqueuedStylesheetConnection' | undefined; - /** - * Edges for the TermNodeToEnqueuedStylesheetConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface TermNodeToEnqueuedStylesheetConnectionEdge { - __typename: 'TermNodeToEnqueuedStylesheetConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Stylesheet enqueued by the CMS - */ -export interface EnqueuedStylesheet - extends Omit, - Omit { - __typename: 'EnqueuedStylesheet' | undefined; - /** - * @todo - */ - args?: Maybe; - /** - * Dependencies needed to use this asset - */ - dependencies?: Maybe>>; - /** - * Extra information needed for the script - */ - extra?: Maybe; - /** - * The handle of the enqueued asset - */ - handle?: Maybe; - /** - * The ID of the enqueued asset - */ - id: ScalarsEnums['ID']; - /** - * The source of the asset - */ - src?: Maybe; - /** - * The version of the enqueued asset - */ - version?: Maybe; -} - -/** - * Object that can be identified with a Database ID - */ -export interface DatabaseIdentifier { - __typename: 'DatabaseIdentifier' | undefined; - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; -} - -/** - * Term node with hierarchical (parent/child) relationships - */ -export interface HierarchicalTermNode { - __typename: 'HierarchicalTermNode' | undefined; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; -} - -/** - * Nodes that can be linked to as Menu Items - */ -export interface MenuItemLinkable { - __typename: 'MenuItemLinkable' | undefined; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * Connection between the category type and the category type - */ -export interface CategoryToAncestorsCategoryConnection { - __typename: 'CategoryToAncestorsCategoryConnection' | undefined; - /** - * Edges for the CategoryToAncestorsCategoryConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface CategoryToAncestorsCategoryConnectionEdge { - __typename: 'CategoryToAncestorsCategoryConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the category type and the category type - */ -export interface CategoryToCategoryConnection { - __typename: 'CategoryToCategoryConnection' | undefined; - /** - * Edges for the CategoryToCategoryConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface CategoryToCategoryConnectionEdge { - __typename: 'CategoryToCategoryConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the category type and the ContentNode type - */ -export interface CategoryToContentNodeConnection { - __typename: 'CategoryToContentNodeConnection' | undefined; - /** - * Edges for the CategoryToContentNodeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface CategoryToContentNodeConnectionEdge { - __typename: 'CategoryToContentNodeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Nodes used to manage content - */ -export interface ContentNode { - __typename: 'ContentNode' | undefined; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The ID of the node in the database. - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * Connection between the ContentNode type and the ContentType type - */ -export interface ContentNodeToContentTypeConnectionEdge { - __typename: 'ContentNodeToContentTypeConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * An Post Type object - */ -export interface ContentType - extends Omit, - Omit { - __typename: 'ContentType' | undefined; - /** - * Whether this content type should can be exported. - */ - canExport?: Maybe; - /** - * Connection between the ContentType type and the Taxonomy type - */ - connectedTaxonomies: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentType type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Whether content of this type should be deleted when the author of it is deleted from the system. - */ - deleteWithUser?: Maybe; - /** - * Description of the content type. - */ - description?: Maybe; - /** - * Whether to exclude nodes of this content type from front end search results. - */ - excludeFromSearch?: Maybe; - /** - * The plural name of the content type within the GraphQL Schema. - */ - graphqlPluralName?: Maybe; - /** - * The singular name of the content type within the GraphQL Schema. - */ - graphqlSingleName?: Maybe; - /** - * Whether this content type should have archives. Content archives are generated by type and by date. - */ - hasArchive?: Maybe; - /** - * Whether the content type is hierarchical, for example pages. - */ - hierarchical?: Maybe; - /** - * The globally unique identifier of the post-type object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the static front page. - */ - isFrontPage: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the blog posts page. - */ - isPostsPage: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * Display name of the content type. - */ - label?: Maybe; - /** - * Details about the content type labels. - */ - labels?: Maybe; - /** - * The name of the icon file to display as a menu icon. - */ - menuIcon?: Maybe; - /** - * The position of this post type in the menu. Only applies if show_in_menu is true. - */ - menuPosition?: Maybe; - /** - * The internal name of the post type. This should not be used for display purposes. - */ - name?: Maybe; - /** - * 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?: Maybe; - /** - * Whether queries can be performed on the front end for the content type as part of parse_request(). - */ - publiclyQueryable?: Maybe; - /** - * Name of content type to display in REST API "wp/v2" namespace. - */ - restBase?: Maybe; - /** - * The REST Controller class assigned to handling this content type. - */ - restControllerClass?: Maybe; - /** - * Makes this content type available via the admin bar. - */ - showInAdminBar?: Maybe; - /** - * Whether to add the content type to the GraphQL Schema. - */ - showInGraphql?: Maybe; - /** - * 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?: Maybe; - /** - * Makes this content type available for selection in navigation menus. - */ - showInNavMenus?: Maybe; - /** - * Whether the content type is associated with a route under the the REST API "wp/v2" namespace. - */ - showInRest?: Maybe; - /** - * Whether to generate and allow a UI for managing this content type in the admin. - */ - showUi?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * Connection between the ContentType type and the Taxonomy type - */ -export interface ContentTypeToTaxonomyConnection { - __typename: 'ContentTypeToTaxonomyConnection' | undefined; - /** - * Edges for the ContentTypeToTaxonomyConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface ContentTypeToTaxonomyConnectionEdge { - __typename: 'ContentTypeToTaxonomyConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * A taxonomy object - */ -export interface Taxonomy extends Omit { - __typename: 'Taxonomy' | undefined; - /** - * List of Content Types associated with the Taxonomy - */ - connectedContentTypes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Description of the taxonomy. This field is equivalent to WP_Taxonomy->description - */ - description?: Maybe; - /** - * The plural name of the post type within the GraphQL Schema. - */ - graphqlPluralName?: Maybe; - /** - * The singular name of the post type within the GraphQL Schema. - */ - graphqlSingleName?: Maybe; - /** - * Whether the taxonomy is hierarchical - */ - hierarchical?: Maybe; - /** - * The globally unique identifier of the taxonomy object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Name of the taxonomy shown in the menu. Usually plural. - */ - label?: Maybe; - /** - * The display name of the taxonomy. This field is equivalent to WP_Taxonomy->label - */ - name?: Maybe; - /** - * Whether the taxonomy is publicly queryable - */ - public?: Maybe; - /** - * Name of content type to diplay in REST API "wp/v2" namespace. - */ - restBase?: Maybe; - /** - * The REST Controller class assigned to handling this content type. - */ - restControllerClass?: Maybe; - /** - * Whether to show the taxonomy as part of a tag cloud widget. This field is equivalent to WP_Taxonomy->show_tagcloud - */ - showCloud?: Maybe; - /** - * Whether to display a column for the taxonomy on its post type listing screens. - */ - showInAdminColumn?: Maybe; - /** - * Whether to add the post type to the GraphQL Schema. - */ - showInGraphql?: Maybe; - /** - * Whether to show the taxonomy in the admin menu - */ - showInMenu?: Maybe; - /** - * Whether the taxonomy is available for selection in navigation menus. - */ - showInNavMenus?: Maybe; - /** - * Whether to show the taxonomy in the quick/bulk edit panel. - */ - showInQuickEdit?: Maybe; - /** - * Whether to add the post type route in the REST API "wp/v2" namespace. - */ - showInRest?: Maybe; - /** - * Whether to generate and allow a UI for managing terms in this taxonomy in the admin - */ - showUi?: Maybe; -} - -/** - * Connection between the Taxonomy type and the ContentType type - */ -export interface TaxonomyToContentTypeConnection { - __typename: 'TaxonomyToContentTypeConnection' | undefined; - /** - * Edges for the TaxonomyToContentTypeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface TaxonomyToContentTypeConnectionEdge { - __typename: 'TaxonomyToContentTypeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the ContentType type and the ContentNode type - */ -export interface ContentTypeToContentNodeConnection { - __typename: 'ContentTypeToContentNodeConnection' | undefined; - /** - * Edges for the ContentTypeToContentNodeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface ContentTypeToContentNodeConnectionEdge { - __typename: 'ContentTypeToContentNodeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Details for labels of the PostType - */ -export interface PostTypeLabelDetails { - __typename: 'PostTypeLabelDetails' | undefined; - /** - * Default is ‘Add New’ for both hierarchical and non-hierarchical types. - */ - addNew?: Maybe; - /** - * Label for adding a new singular item. - */ - addNewItem?: Maybe; - /** - * Label to signify all items in a submenu link. - */ - allItems?: Maybe; - /** - * Label for archives in nav menus - */ - archives?: Maybe; - /** - * Label for the attributes meta box. - */ - attributes?: Maybe; - /** - * Label for editing a singular item. - */ - editItem?: Maybe; - /** - * Label for the Featured Image meta box title. - */ - featuredImage?: Maybe; - /** - * Label for the table views hidden heading. - */ - filterItemsList?: Maybe; - /** - * Label for the media frame button. - */ - insertIntoItem?: Maybe; - /** - * Label for the table hidden heading. - */ - itemsList?: Maybe; - /** - * Label for the table pagination hidden heading. - */ - itemsListNavigation?: Maybe; - /** - * Label for the menu name. - */ - menuName?: Maybe; - /** - * General name for the post type, usually plural. - */ - name?: Maybe; - /** - * Label for the new item page title. - */ - newItem?: Maybe; - /** - * Label used when no items are found. - */ - notFound?: Maybe; - /** - * Label used when no items are in the trash. - */ - notFoundInTrash?: Maybe; - /** - * Label used to prefix parents of hierarchical items. - */ - parentItemColon?: Maybe; - /** - * Label for removing the featured image. - */ - removeFeaturedImage?: Maybe; - /** - * Label for searching plural items. - */ - searchItems?: Maybe; - /** - * Label for setting the featured image. - */ - setFeaturedImage?: Maybe; - /** - * Name for one object of this post type. - */ - singularName?: Maybe; - /** - * Label for the media frame filter. - */ - uploadedToThisItem?: Maybe; - /** - * Label in the media frame for using a featured image. - */ - useFeaturedImage?: Maybe; - /** - * Label for viewing a singular item. - */ - viewItem?: Maybe; - /** - * Label for viewing post type archives. - */ - viewItems?: Maybe; -} - -/** - * Connection between the ContentNode type and the User type - */ -export interface ContentNodeToEditLockConnectionEdge { - __typename: 'ContentNodeToEditLockConnectionEdge' | undefined; - /** - * The timestamp for when the node was last edited - */ - lockTimestamp?: Maybe; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * A User object - */ -export interface User - extends Omit, - Omit, - Omit, - Omit { - __typename: 'User' | undefined; - /** - * Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument. - */ - avatar: (args?: { - /** - * The size attribute of the avatar field can be used to fetch avatars of different sizes. The value corresponds to the dimension in pixels to fetch. The default is 96 pixels. - * @defaultValue `96` - */ - size?: Maybe; - /** - * Whether to always show the default image, never the Gravatar. Default false - */ - forceDefault?: Maybe; - /** - * The rating level of the avatar. - */ - rating?: Maybe; - }) => Maybe; - /** - * User metadata option name. Usually it will be "wp_capabilities". - */ - capKey?: Maybe; - /** - * A list of capabilities (permissions) granted to the user - */ - capabilities?: Maybe>>; - /** - * Connection between the User type and the Comment type - */ - comments: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Identifies the primary key from the database. - */ - databaseId: ScalarsEnums['Int']; - /** - * Description of the user. - */ - description?: Maybe; - /** - * Email address of the user. This is equivalent to the WP_User->user_email property. - */ - email?: Maybe; - /** - * Connection between the User type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the User type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * A complete list of capabilities including capabilities inherited from a role. This is equivalent to the array keys of WP_User->allcaps. - */ - extraCapabilities?: Maybe>>; - /** - * First name of the user. This is equivalent to the WP_User->user_first_name property. - */ - firstName?: Maybe; - /** - * The globally unique identifier for the user object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * Last name of the user. This is equivalent to the WP_User->user_last_name property. - */ - lastName?: Maybe; - /** - * The preferred language locale set for the user. Value derived from get_user_locale(). - */ - locale?: Maybe; - /** - * Connection between the User type and the mediaItem type - */ - mediaItems: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Display name of the user. This is equivalent to the WP_User->dispaly_name property. - */ - name?: Maybe; - /** - * The nicename for the user. This field is equivalent to WP_User->user_nicename - */ - nicename?: Maybe; - /** - * Nickname of the user. - */ - nickname?: Maybe; - /** - * Connection between the User type and the page type - */ - pages: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the User type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The date the user registered or was created. The field follows a full ISO8601 date string format. - */ - registeredDate?: Maybe; - /** - * Connection between the User and Revisions authored by the user - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the User type and the UserRole type - */ - roles: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The slug for the user. This field is equivalent to WP_User->user_nicename - */ - slug?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; - /** - * A website url that is associated with the user. - */ - url?: Maybe; - /** - * The Id of the user. Equivalent to WP_User->ID - * @deprecated Deprecated in favor of the databaseId field - */ - userId?: Maybe; - /** - * Username for the user. This field is equivalent to WP_User->user_login. - */ - username?: Maybe; -} - -/** - * The author of a comment - */ -export interface Commenter { - __typename: 'Commenter' | undefined; - /** - * Identifies the primary key from the database. - */ - databaseId: ScalarsEnums['Int']; - /** - * The email address of the author of a comment. - */ - email?: Maybe; - /** - * The globally unique identifier for the comment author. - */ - id: ScalarsEnums['ID']; - /** - * Whether the author information is considered restricted. (not fully public) - */ - isRestricted?: Maybe; - /** - * The name of the author of a comment. - */ - name?: Maybe; - /** - * The url of the author of a comment. - */ - url?: Maybe; -} - -/** - * Avatars are profile images for users. WordPress by default uses the Gravatar service to host and fetch avatars from. - */ -export interface Avatar { - __typename: 'Avatar' | undefined; - /** - * 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?: Maybe; - /** - * HTML attributes to insert in the IMG element. Is not sanitized. - */ - extraAttr?: Maybe; - /** - * Whether to always show the default image, never the Gravatar. - */ - forceDefault?: Maybe; - /** - * Whether the avatar was successfully found. - */ - foundAvatar?: Maybe; - /** - * Height of the avatar image. - */ - height?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. - */ - rating?: Maybe; - /** - * Type of url scheme to use. Typically HTTP vs. HTTPS. - */ - scheme?: Maybe; - /** - * The size of the avatar in pixels. A value of 96 will match a 96px x 96px gravatar image. - */ - size?: Maybe; - /** - * URL for the gravatar image source. - */ - url?: Maybe; - /** - * Width of the avatar image. - */ - width?: Maybe; -} - -/** - * Connection between the User type and the Comment type - */ -export interface UserToCommentConnection { - __typename: 'UserToCommentConnection' | undefined; - /** - * Edges for the UserToCommentConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface UserToCommentConnectionEdge { - __typename: 'UserToCommentConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * A Comment object - */ -export interface Comment - extends Omit, - Omit { - __typename: 'Comment' | undefined; - /** - * 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?: Maybe; - /** - * 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?: Maybe; - /** - * The author of the comment - */ - author?: Maybe; - /** - * 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?: Maybe; - /** - * ID for the comment, unique among comments. - * @deprecated Deprecated in favor of databaseId - */ - commentId?: Maybe; - /** - * Connection between the Comment type and the ContentNode type - */ - commentedOn?: Maybe; - /** - * Content of the comment. This field is equivalent to WP_Comment->comment_content and the value matching the "comment_content" column in SQL. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['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?: Maybe; - /** - * 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?: Maybe; - /** - * The globally unique identifier for the comment object - */ - id: ScalarsEnums['ID']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * 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?: Maybe; - /** - * Connection between the Comment type and the Comment type - */ - parent: (args?: { - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The database id of the parent comment node or null if it is the root comment - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent comment node. - */ - parentId?: Maybe; - /** - * Connection between the Comment type and the Comment type - */ - replies: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Type of comment. This field is equivalent to WP_Comment->comment_type and the value matching the "comment_type" column in SQL. - */ - type?: Maybe; -} - -/** - * Connection between the Comment type and the Commenter type - */ -export interface CommentToCommenterConnectionEdge { - __typename: 'CommentToCommenterConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the Comment type and the ContentNode type - */ -export interface CommentToContentNodeConnectionEdge { - __typename: 'CommentToContentNodeConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the Comment type and the Comment type - */ -export interface CommentToParentCommentConnectionEdge { - __typename: 'CommentToParentCommentConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the Comment type and the Comment type - */ -export interface CommentToCommentConnection { - __typename: 'CommentToCommentConnection' | undefined; - /** - * Edges for the CommentToCommentConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface CommentToCommentConnectionEdge { - __typename: 'CommentToCommentConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the User type and the EnqueuedScript type - */ -export interface UserToEnqueuedScriptConnection { - __typename: 'UserToEnqueuedScriptConnection' | undefined; - /** - * Edges for the UserToEnqueuedScriptConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface UserToEnqueuedScriptConnectionEdge { - __typename: 'UserToEnqueuedScriptConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the User type and the EnqueuedStylesheet type - */ -export interface UserToEnqueuedStylesheetConnection { - __typename: 'UserToEnqueuedStylesheetConnection' | undefined; - /** - * Edges for the UserToEnqueuedStylesheetConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface UserToEnqueuedStylesheetConnectionEdge { - __typename: 'UserToEnqueuedStylesheetConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the User type and the mediaItem type - */ -export interface UserToMediaItemConnection { - __typename: 'UserToMediaItemConnection' | undefined; - /** - * Edges for the UserToMediaItemConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface UserToMediaItemConnectionEdge { - __typename: 'UserToMediaItemConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The mediaItem type - */ -export interface MediaItem - extends Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit { - __typename: 'MediaItem' | undefined; - /** - * Alternative text to display when resource is not displayed - */ - altText?: Maybe; - /** - * Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - */ - ancestors: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; - /** - * The caption for the resource - */ - caption: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the HierarchicalContentNode type and the ContentNode type - */ - children: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; - /** - * Connection between the mediaItem type and the Comment type - */ - comments: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * Description of the image (stored as post_content) - */ - description: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The filesize in bytes of the resource - */ - fileSize: (args?: { - /** - * Size of the MediaItem to return - */ - size?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * The globally unique identifier of the attachment object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * Details about the mediaItem - */ - mediaDetails?: Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - mediaItemId: ScalarsEnums['Int']; - /** - * Url of the mediaItem - */ - mediaItemUrl?: Maybe; - /** - * Type of resource - */ - mediaType?: Maybe; - /** - * The mime type of the mediaItem - */ - mimeType?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - /** - * The parent of the node. The parent object can be of various types - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * The sizes attribute value for an image. - */ - sizes: (args?: { - /** - * Size of the MediaItem to calculate sizes with - */ - size?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * Url of the mediaItem - */ - sourceUrl: (args?: { - /** - * Size of the MediaItem to return - */ - size?: Maybe; - }) => Maybe; - /** - * 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: (args?: { - /** - * Size of the MediaItem to calculate srcSet with - */ - size?: Maybe; - }) => Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * The template assigned to the node - */ - template?: Maybe; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * A node that can have a template associated with it - */ -export interface NodeWithTemplate { - __typename: 'NodeWithTemplate' | undefined; - /** - * The template assigned to the node - */ - template?: Maybe; -} - -/** - * The template assigned to a node of content - */ -export interface ContentTemplate { - __typename: 'ContentTemplate' | undefined; - /** - * The name of the template - */ - templateName?: Maybe; -} - -/** - * A node that NodeWith a title - */ -export interface NodeWithTitle { - __typename: 'NodeWithTitle' | undefined; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; -} - -/** - * A node that can have an author assigned to it - */ -export interface NodeWithAuthor { - __typename: 'NodeWithAuthor' | undefined; - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; -} - -/** - * Connection between the NodeWithAuthor type and the User type - */ -export interface NodeWithAuthorToUserConnectionEdge { - __typename: 'NodeWithAuthorToUserConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * A node that can have comments associated with it - */ -export interface NodeWithComments { - __typename: 'NodeWithComments' | undefined; - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; -} - -/** - * Content node with hierarchical (parent/child) relationships - */ -export interface HierarchicalContentNode { - __typename: 'HierarchicalContentNode' | undefined; - /** - * Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - */ - ancestors: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the HierarchicalContentNode type and the ContentNode type - */ - children: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The parent of the node. The parent object can be of various types - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; -} - -/** - * Connection between the HierarchicalContentNode type and the ContentNode type - */ -export interface HierarchicalContentNodeToContentNodeAncestorsConnection { - __typename: - | 'HierarchicalContentNodeToContentNodeAncestorsConnection' - | undefined; - /** - * Edges for the HierarchicalContentNodeToContentNodeAncestorsConnection connection - */ - edges?: Maybe< - Array> - >; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface HierarchicalContentNodeToContentNodeAncestorsConnectionEdge { - __typename: - | 'HierarchicalContentNodeToContentNodeAncestorsConnectionEdge' - | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the HierarchicalContentNode type and the ContentNode type - */ -export interface HierarchicalContentNodeToContentNodeChildrenConnection { - __typename: - | 'HierarchicalContentNodeToContentNodeChildrenConnection' - | undefined; - /** - * Edges for the HierarchicalContentNodeToContentNodeChildrenConnection connection - */ - edges?: Maybe< - Array> - >; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface HierarchicalContentNodeToContentNodeChildrenConnectionEdge { - __typename: - | 'HierarchicalContentNodeToContentNodeChildrenConnectionEdge' - | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the HierarchicalContentNode type and the ContentNode type - */ -export interface HierarchicalContentNodeToParentContentNodeConnectionEdge { - __typename: - | 'HierarchicalContentNodeToParentContentNodeConnectionEdge' - | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the mediaItem type and the Comment type - */ -export interface MediaItemToCommentConnection { - __typename: 'MediaItemToCommentConnection' | undefined; - /** - * Edges for the MediaItemToCommentConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface MediaItemToCommentConnectionEdge { - __typename: 'MediaItemToCommentConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the ContentNode type and the EnqueuedScript type - */ -export interface ContentNodeToEnqueuedScriptConnection { - __typename: 'ContentNodeToEnqueuedScriptConnection' | undefined; - /** - * Edges for the ContentNodeToEnqueuedScriptConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface ContentNodeToEnqueuedScriptConnectionEdge { - __typename: 'ContentNodeToEnqueuedScriptConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ -export interface ContentNodeToEnqueuedStylesheetConnection { - __typename: 'ContentNodeToEnqueuedStylesheetConnection' | undefined; - /** - * Edges for the ContentNodeToEnqueuedStylesheetConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface ContentNodeToEnqueuedStylesheetConnectionEdge { - __typename: 'ContentNodeToEnqueuedStylesheetConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the ContentNode type and the User type - */ -export interface ContentNodeToEditLastConnectionEdge { - __typename: 'ContentNodeToEditLastConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * File details for a Media Item - */ -export interface MediaDetails { - __typename: 'MediaDetails' | undefined; - /** - * The filename of the mediaItem - */ - file?: Maybe; - /** - * The height of the mediaItem - */ - height?: Maybe; - /** - * Meta information associated with the mediaItem - */ - meta?: Maybe; - /** - * The available sizes of the mediaItem - */ - sizes?: Maybe>>; - /** - * The width of the mediaItem - */ - width?: Maybe; -} - -/** - * Meta connected to a MediaItem - */ -export interface MediaItemMeta { - __typename: 'MediaItemMeta' | undefined; - /** - * Aperture measurement of the media item. - */ - aperture?: Maybe; - /** - * Information about the camera used to create the media item. - */ - camera?: Maybe; - /** - * The text string description associated with the media item. - */ - caption?: Maybe; - /** - * Copyright information associated with the media item. - */ - copyright?: Maybe; - /** - * The date/time when the media was created. - */ - createdTimestamp?: Maybe; - /** - * The original creator of the media item. - */ - credit?: Maybe; - /** - * The focal length value of the media item. - */ - focalLength?: Maybe; - /** - * The ISO (International Organization for Standardization) value of the media item. - */ - iso?: Maybe; - /** - * List of keywords used to describe or identfy the media item. - */ - keywords?: Maybe>>; - /** - * The vertical or horizontal aspect of the media item. - */ - orientation?: Maybe; - /** - * The shutter speed information of the media item. - */ - shutterSpeed?: Maybe; - /** - * A useful title for the media item. - */ - title?: Maybe; -} - -/** - * Details of an available size for a media item - */ -export interface MediaSize { - __typename: 'MediaSize' | undefined; - /** - * The filename of the referenced size - */ - file?: Maybe; - /** - * The filesize of the resource - */ - fileSize?: Maybe; - /** - * The height of the referenced size - */ - height?: Maybe; - /** - * The mime type of the referenced size - */ - mimeType?: Maybe; - /** - * The referenced size name - */ - name?: Maybe; - /** - * The url of the referenced size - */ - sourceUrl?: Maybe; - /** - * The width of the referenced size - */ - width?: Maybe; -} - -/** - * Connection between the User type and the page type - */ -export interface UserToPageConnection { - __typename: 'UserToPageConnection' | undefined; - /** - * Edges for the UserToPageConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface UserToPageConnectionEdge { - __typename: 'UserToPageConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The page type - */ -export interface Page - extends Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit { - __typename: 'Page' | undefined; - /** - * Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - */ - ancestors: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; - /** - * Connection between the HierarchicalContentNode type and the ContentNode type - */ - children: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; - /** - * Connection between the page type and the Comment type - */ - comments: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * 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?: Maybe; - /** - * The globally unique identifier of the page object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the static front page. - */ - isFrontPage: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the blog posts page. - */ - isPostsPage: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether this page is set to the privacy page. - */ - isPrivacyPage: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - */ - menuOrder?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - pageId: ScalarsEnums['Int']; - /** - * The parent of the node. The parent object can be of various types - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - /** - * Connection between the page type and the page type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the page type and the page type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * A node that supports the content editor - */ -export interface NodeWithContentEditor { - __typename: 'NodeWithContentEditor' | undefined; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; -} - -/** - * A node that can have a featured image set - */ -export interface NodeWithFeaturedImage { - __typename: 'NodeWithFeaturedImage' | undefined; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * 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?: Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ -export interface NodeWithFeaturedImageToMediaItemConnectionEdge { - __typename: 'NodeWithFeaturedImageToMediaItemConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * A node that can have revisions - */ -export interface NodeWithRevisions { - __typename: 'NodeWithRevisions' | undefined; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; -} - -/** - * Connection between the NodeWithRevisions type and the ContentNode type - */ -export interface NodeWithRevisionsToContentNodeConnectionEdge { - __typename: 'NodeWithRevisionsToContentNodeConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * A node that can have page attributes - */ -export interface NodeWithPageAttributes { - __typename: 'NodeWithPageAttributes' | undefined; - /** - * A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - */ - menuOrder?: Maybe; -} - -/** - * Connection between the page type and the Comment type - */ -export interface PageToCommentConnection { - __typename: 'PageToCommentConnection' | undefined; - /** - * Edges for the PageToCommentConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PageToCommentConnectionEdge { - __typename: 'PageToCommentConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the page type and the page type - */ -export interface PageToPreviewConnectionEdge { - __typename: 'PageToPreviewConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the page type and the page type - */ -export interface PageToRevisionConnection { - __typename: 'PageToRevisionConnection' | undefined; - /** - * Edges for the pageToRevisionConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PageToRevisionConnectionEdge { - __typename: 'PageToRevisionConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the User type and the post type - */ -export interface UserToPostConnection { - __typename: 'UserToPostConnection' | undefined; - /** - * Edges for the UserToPostConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface UserToPostConnectionEdge { - __typename: 'UserToPostConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The post type - */ -export interface Post - extends Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit { - __typename: 'Post' | undefined; - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; - /** - * Connection between the post type and the category type - */ - categories: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; - /** - * Connection between the post type and the Comment type - */ - comments: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The excerpt of the post. - */ - excerpt: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * 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?: Maybe; - /** - * The globally unique identifier of the post object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - /** - * Whether this page is sticky - */ - isSticky: ScalarsEnums['Boolean']; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - /** - * Whether the pings are open or closed for this particular post. - */ - pingStatus?: Maybe; - /** - * URLs that have been pinged. - */ - pinged?: Maybe>>; - /** - * Connection between the post type and the postFormat type - */ - postFormats: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - postId: ScalarsEnums['Int']; - /** - * Connection between the post type and the post type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the post type and the post type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * Connection between the post type and the tag type - */ - tags: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - /** - * Connection between the post type and the TermNode type - */ - terms: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * URLs queued to be pinged. - */ - toPing?: Maybe>>; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * A node that can have an excerpt - */ -export interface NodeWithExcerpt { - __typename: 'NodeWithExcerpt' | undefined; - /** - * The excerpt of the post. - */ - excerpt: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; -} - -/** - * A node that can have trackbacks and pingbacks - */ -export interface NodeWithTrackbacks { - __typename: 'NodeWithTrackbacks' | undefined; - /** - * Whether the pings are open or closed for this particular post. - */ - pingStatus?: Maybe; - /** - * URLs that have been pinged. - */ - pinged?: Maybe>>; - /** - * URLs queued to be pinged. - */ - toPing?: Maybe>>; -} - -/** - * Connection between the post type and the category type - */ -export interface PostToCategoryConnection { - __typename: 'PostToCategoryConnection' | undefined; - /** - * Edges for the PostToCategoryConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PostToCategoryConnectionEdge { - __typename: 'PostToCategoryConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the post type and the Comment type - */ -export interface PostToCommentConnection { - __typename: 'PostToCommentConnection' | undefined; - /** - * Edges for the PostToCommentConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PostToCommentConnectionEdge { - __typename: 'PostToCommentConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the post type and the postFormat type - */ -export interface PostToPostFormatConnection { - __typename: 'PostToPostFormatConnection' | undefined; - /** - * Edges for the PostToPostFormatConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PostToPostFormatConnectionEdge { - __typename: 'PostToPostFormatConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The postFormat type - */ -export interface PostFormat - extends Omit, - Omit, - Omit, - Omit, - Omit { - __typename: 'PostFormat' | undefined; - /** - * Connection between the postFormat type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * The description of the object - */ - description?: Maybe; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The link to the term - */ - link?: Maybe; - /** - * The human friendly name of the object. - */ - name?: Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of databaseId - */ - postFormatId?: Maybe; - /** - * Connection between the postFormat type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - /** - * Connection between the postFormat type and the Taxonomy type - */ - taxonomy?: Maybe; - /** - * The ID of the term group that this term object belongs to - */ - termGroupId?: Maybe; - /** - * The taxonomy ID that the object is associated with - */ - termTaxonomyId?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * Connection between the postFormat type and the ContentNode type - */ -export interface PostFormatToContentNodeConnection { - __typename: 'PostFormatToContentNodeConnection' | undefined; - /** - * Edges for the PostFormatToContentNodeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PostFormatToContentNodeConnectionEdge { - __typename: 'PostFormatToContentNodeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the postFormat type and the post type - */ -export interface PostFormatToPostConnection { - __typename: 'PostFormatToPostConnection' | undefined; - /** - * Edges for the PostFormatToPostConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PostFormatToPostConnectionEdge { - __typename: 'PostFormatToPostConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the postFormat type and the Taxonomy type - */ -export interface PostFormatToTaxonomyConnectionEdge { - __typename: 'PostFormatToTaxonomyConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the post type and the post type - */ -export interface PostToPreviewConnectionEdge { - __typename: 'PostToPreviewConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the post type and the post type - */ -export interface PostToRevisionConnection { - __typename: 'PostToRevisionConnection' | undefined; - /** - * Edges for the postToRevisionConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PostToRevisionConnectionEdge { - __typename: 'PostToRevisionConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the post type and the tag type - */ -export interface PostToTagConnection { - __typename: 'PostToTagConnection' | undefined; - /** - * Edges for the PostToTagConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PostToTagConnectionEdge { - __typename: 'PostToTagConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The tag type - */ -export interface Tag - extends Omit, - Omit, - Omit, - Omit, - Omit { - __typename: 'Tag' | undefined; - /** - * Connection between the tag type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * The description of the object - */ - description?: Maybe; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The link to the term - */ - link?: Maybe; - /** - * The human friendly name of the object. - */ - name?: Maybe; - /** - * Connection between the tag type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of databaseId - */ - tagId?: Maybe; - /** - * Connection between the tag type and the Taxonomy type - */ - taxonomy?: Maybe; - /** - * The ID of the term group that this term object belongs to - */ - termGroupId?: Maybe; - /** - * The taxonomy ID that the object is associated with - */ - termTaxonomyId?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} - -/** - * Connection between the tag type and the ContentNode type - */ -export interface TagToContentNodeConnection { - __typename: 'TagToContentNodeConnection' | undefined; - /** - * Edges for the TagToContentNodeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface TagToContentNodeConnectionEdge { - __typename: 'TagToContentNodeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the tag type and the post type - */ -export interface TagToPostConnection { - __typename: 'TagToPostConnection' | undefined; - /** - * Edges for the TagToPostConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface TagToPostConnectionEdge { - __typename: 'TagToPostConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the tag type and the Taxonomy type - */ -export interface TagToTaxonomyConnectionEdge { - __typename: 'TagToTaxonomyConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the post type and the TermNode type - */ -export interface PostToTermNodeConnection { - __typename: 'PostToTermNodeConnection' | undefined; - /** - * Edges for the PostToTermNodeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface PostToTermNodeConnectionEdge { - __typename: 'PostToTermNodeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the User type and the ContentRevisionUnion type - */ -export interface UserToContentRevisionUnionConnection { - __typename: 'UserToContentRevisionUnionConnection' | undefined; - /** - * Edges for the UserToContentRevisionUnionConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface UserToContentRevisionUnionConnectionEdge { - __typename: 'UserToContentRevisionUnionConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the User type and the UserRole type - */ -export interface UserToUserRoleConnection { - __typename: 'UserToUserRoleConnection' | undefined; - /** - * Edges for the UserToUserRoleConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface UserToUserRoleConnectionEdge { - __typename: 'UserToUserRoleConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * A user role object - */ -export interface UserRole extends Omit { - __typename: 'UserRole' | undefined; - /** - * The capabilities that belong to this role - */ - capabilities?: Maybe>>; - /** - * The display name of the role - */ - displayName?: Maybe; - /** - * The globally unique identifier for the user role object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * The registered name of the role - */ - name?: Maybe; -} - -/** - * Connection between the category type and the category type - */ -export interface CategoryToParentCategoryConnectionEdge { - __typename: 'CategoryToParentCategoryConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the category type and the post type - */ -export interface CategoryToPostConnection { - __typename: 'CategoryToPostConnection' | undefined; - /** - * Edges for the CategoryToPostConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface CategoryToPostConnectionEdge { - __typename: 'CategoryToPostConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the category type and the Taxonomy type - */ -export interface CategoryToTaxonomyConnectionEdge { - __typename: 'CategoryToTaxonomyConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the Comment type - */ -export interface RootQueryToCommentConnection { - __typename: 'RootQueryToCommentConnection' | undefined; - /** - * Edges for the RootQueryToCommentConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToCommentConnectionEdge { - __typename: 'RootQueryToCommentConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the ContentNode type - */ -export interface RootQueryToContentNodeConnection { - __typename: 'RootQueryToContentNodeConnection' | undefined; - /** - * Edges for the RootQueryToContentNodeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToContentNodeConnectionEdge { - __typename: 'RootQueryToContentNodeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the ContentType type - */ -export interface RootQueryToContentTypeConnection { - __typename: 'RootQueryToContentTypeConnection' | undefined; - /** - * Edges for the RootQueryToContentTypeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToContentTypeConnectionEdge { - __typename: 'RootQueryToContentTypeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The discussion setting type - */ -export interface DiscussionSettings { - __typename: 'DiscussionSettings' | undefined; - /** - * Allow people to submit comments on new posts. - */ - defaultCommentStatus?: Maybe; - /** - * Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. - */ - defaultPingStatus?: Maybe; -} - -/** - * The general setting type - */ -export interface GeneralSettings { - __typename: 'GeneralSettings' | undefined; - /** - * A date format for all date strings. - */ - dateFormat?: Maybe; - /** - * Site tagline. - */ - description?: Maybe; - /** - * This address is used for admin purposes, like new user notification. - */ - email?: Maybe; - /** - * WordPress locale code. - */ - language?: Maybe; - /** - * A day number of the week that the week should start on. - */ - startOfWeek?: Maybe; - /** - * A time format for all time strings. - */ - timeFormat?: Maybe; - /** - * A city in the same timezone as you. - */ - timezone?: Maybe; - /** - * Site title. - */ - title?: Maybe; - /** - * Site URL. - */ - url?: Maybe; -} - -/** - * Connection between the RootQuery type and the mediaItem type - */ -export interface RootQueryToMediaItemConnection { - __typename: 'RootQueryToMediaItemConnection' | undefined; - /** - * Edges for the RootQueryToMediaItemConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToMediaItemConnectionEdge { - __typename: 'RootQueryToMediaItemConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. - */ -export interface Menu - extends Omit, - Omit { - __typename: 'Menu' | undefined; - /** - * The number of items in the menu - */ - count?: Maybe; - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; - /** - * The globally unique identifier of the nav menu object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * The locations a menu is assigned to - */ - locations?: Maybe>>; - /** - * WP ID of the nav menu. - * @deprecated Deprecated in favor of the databaseId field - */ - menuId?: Maybe; - /** - * Connection between the Menu type and the MenuItem type - */ - menuItems: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Display name of the menu. Equivalent to WP_Term->name. - */ - name?: Maybe; - /** - * The url friendly name of the menu. Equivalent to WP_Term->slug - */ - slug?: Maybe; -} - -/** - * Connection between the Menu type and the MenuItem type - */ -export interface MenuToMenuItemConnection { - __typename: 'MenuToMenuItemConnection' | undefined; - /** - * Edges for the MenuToMenuItemConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface MenuToMenuItemConnectionEdge { - __typename: 'MenuToMenuItemConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. - */ -export interface MenuItem - extends Omit, - Omit { - __typename: 'MenuItem' | undefined; - /** - * Connection between the MenuItem type and the MenuItem type - */ - childItems: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection from MenuItem to it's connected node - */ - connectedNode?: Maybe; - /** - * The object connected to this menu item. - * @deprecated Deprecated in favor of the connectedNode field - */ - connectedObject?: Maybe; - /** - * Class attribute for the menu item link - */ - cssClasses?: Maybe>>; - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; - /** - * Description of the menu item. - */ - description?: Maybe; - /** - * The globally unique identifier of the nav menu item object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Label or title of the menu item. - */ - label?: Maybe; - /** - * Link relationship (XFN) of the menu item. - */ - linkRelationship?: Maybe; - /** - * The locations the menu item's Menu is assigned to - */ - locations?: Maybe>>; - /** - * The Menu a MenuItem is part of - */ - menu?: Maybe; - /** - * WP ID of the menu item. - * @deprecated Deprecated in favor of the databaseId field - */ - menuItemId?: Maybe; - /** - * Menu item order - */ - order?: Maybe; - /** - * The database id of the parent menu item or null if it is the root - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent nav menu item object. - */ - parentId?: Maybe; - /** - * Path for the resource. Relative path for internal resources. Absolute path for external resources. - */ - path?: Maybe; - /** - * Target attribute for the menu item link. - */ - target?: Maybe; - /** - * Title attribute for the menu item link - */ - title?: Maybe; - /** - * URL or destination of the menu item. - */ - url?: Maybe; -} - -/** - * Connection between the MenuItem type and the MenuItem type - */ -export interface MenuItemToMenuItemConnection { - __typename: 'MenuItemToMenuItemConnection' | undefined; - /** - * Edges for the MenuItemToMenuItemConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface MenuItemToMenuItemConnectionEdge { - __typename: 'MenuItemToMenuItemConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the MenuItem type and the MenuItemLinkable type - */ -export interface MenuItemToMenuItemLinkableConnectionEdge { - __typename: 'MenuItemToMenuItemLinkableConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the MenuItem type and the Menu type - */ -export interface MenuItemToMenuConnectionEdge { - __typename: 'MenuItemToMenuConnectionEdge' | undefined; - /** - * The node of the connection, without the edges - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the MenuItem type - */ -export interface RootQueryToMenuItemConnection { - __typename: 'RootQueryToMenuItemConnection' | undefined; - /** - * Edges for the RootQueryToMenuItemConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToMenuItemConnectionEdge { - __typename: 'RootQueryToMenuItemConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the Menu type - */ -export interface RootQueryToMenuConnection { - __typename: 'RootQueryToMenuConnection' | undefined; - /** - * Edges for the RootQueryToMenuConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToMenuConnectionEdge { - __typename: 'RootQueryToMenuConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the page type - */ -export interface RootQueryToPageConnection { - __typename: 'RootQueryToPageConnection' | undefined; - /** - * Edges for the RootQueryToPageConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToPageConnectionEdge { - __typename: 'RootQueryToPageConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * An plugin object - */ -export interface Plugin extends Omit { - __typename: 'Plugin' | undefined; - /** - * Name of the plugin author(s), may also be a company name. - */ - author?: Maybe; - /** - * URI for the related author(s)/company website. - */ - authorUri?: Maybe; - /** - * Description of the plugin. - */ - description?: Maybe; - /** - * The globally unique identifier of the plugin object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Display name of the plugin. - */ - name?: Maybe; - /** - * Plugin path. - */ - path?: Maybe; - /** - * URI for the plugin website. This is useful for directing users for support requests etc. - */ - pluginUri?: Maybe; - /** - * Current version of the plugin. - */ - version?: Maybe; -} - -/** - * Connection between the RootQuery type and the Plugin type - */ -export interface RootQueryToPluginConnection { - __typename: 'RootQueryToPluginConnection' | undefined; - /** - * Edges for the RootQueryToPluginConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToPluginConnectionEdge { - __typename: 'RootQueryToPluginConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the postFormat type - */ -export interface RootQueryToPostFormatConnection { - __typename: 'RootQueryToPostFormatConnection' | undefined; - /** - * Edges for the RootQueryToPostFormatConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToPostFormatConnectionEdge { - __typename: 'RootQueryToPostFormatConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the post type - */ -export interface RootQueryToPostConnection { - __typename: 'RootQueryToPostConnection' | undefined; - /** - * Edges for the RootQueryToPostConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToPostConnectionEdge { - __typename: 'RootQueryToPostConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The reading setting type - */ -export interface ReadingSettings { - __typename: 'ReadingSettings' | undefined; - /** - * Blog pages show at most. - */ - postsPerPage?: Maybe; -} - -/** - * Connection between the RootQuery type and the EnqueuedScript type - */ -export interface RootQueryToEnqueuedScriptConnection { - __typename: 'RootQueryToEnqueuedScriptConnection' | undefined; - /** - * Edges for the RootQueryToEnqueuedScriptConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToEnqueuedScriptConnectionEdge { - __typename: 'RootQueryToEnqueuedScriptConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the EnqueuedStylesheet type - */ -export interface RootQueryToEnqueuedStylesheetConnection { - __typename: 'RootQueryToEnqueuedStylesheetConnection' | undefined; - /** - * Edges for the RootQueryToEnqueuedStylesheetConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToEnqueuedStylesheetConnectionEdge { - __typename: 'RootQueryToEnqueuedStylesheetConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the ContentRevisionUnion type - */ -export interface RootQueryToContentRevisionUnionConnection { - __typename: 'RootQueryToContentRevisionUnionConnection' | undefined; - /** - * Edges for the RootQueryToContentRevisionUnionConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToContentRevisionUnionConnectionEdge { - __typename: 'RootQueryToContentRevisionUnionConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the tag type - */ -export interface RootQueryToTagConnection { - __typename: 'RootQueryToTagConnection' | undefined; - /** - * Edges for the RootQueryToTagConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToTagConnectionEdge { - __typename: 'RootQueryToTagConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the Taxonomy type - */ -export interface RootQueryToTaxonomyConnection { - __typename: 'RootQueryToTaxonomyConnection' | undefined; - /** - * Edges for the RootQueryToTaxonomyConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToTaxonomyConnectionEdge { - __typename: 'RootQueryToTaxonomyConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the TermNode type - */ -export interface RootQueryToTermNodeConnection { - __typename: 'RootQueryToTermNodeConnection' | undefined; - /** - * Edges for the RootQueryToTermNodeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToTermNodeConnectionEdge { - __typename: 'RootQueryToTermNodeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * A theme object - */ -export interface Theme extends Omit { - __typename: 'Theme' | undefined; - /** - * Name of the theme author(s), could also be a company name. This field is equivalent to WP_Theme->get( "Author" ). - */ - author?: Maybe; - /** - * URI for the author/company website. This field is equivalent to WP_Theme->get( "AuthorURI" ). - */ - authorUri?: Maybe; - /** - * The description of the theme. This field is equivalent to WP_Theme->get( "Description" ). - */ - description?: Maybe; - /** - * The globally unique identifier of the theme object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Display name of the theme. This field is equivalent to WP_Theme->get( "Name" ). - */ - name?: Maybe; - /** - * The URL of the screenshot for the theme. The screenshot is intended to give an overview of what the theme looks like. This field is equivalent to WP_Theme->get_screenshot(). - */ - screenshot?: Maybe; - /** - * The theme slug is used to internally match themes. Theme slugs can have subdirectories like: my-theme/sub-theme. This field is equivalent to WP_Theme->get_stylesheet(). - */ - slug?: Maybe; - /** - * URI for the author/company website. This field is equivalent to WP_Theme->get( "Tags" ). - */ - tags?: Maybe>>; - /** - * A URI if the theme has a website associated with it. The Theme URI is handy for directing users to a theme site for support etc. This field is equivalent to WP_Theme->get( "ThemeURI" ). - */ - themeUri?: Maybe; - /** - * The current version of the theme. This field is equivalent to WP_Theme->get( "Version" ). - */ - version?: Maybe; -} - -/** - * Connection between the RootQuery type and the Theme type - */ -export interface RootQueryToThemeConnection { - __typename: 'RootQueryToThemeConnection' | undefined; - /** - * Edges for the RootQueryToThemeConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToThemeConnectionEdge { - __typename: 'RootQueryToThemeConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the UserRole type - */ -export interface RootQueryToUserRoleConnection { - __typename: 'RootQueryToUserRoleConnection' | undefined; - /** - * Edges for the RootQueryToUserRoleConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToUserRoleConnectionEdge { - __typename: 'RootQueryToUserRoleConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * Connection between the RootQuery type and the User type - */ -export interface RootQueryToUserConnection { - __typename: 'RootQueryToUserConnection' | undefined; - /** - * Edges for the RootQueryToUserConnection connection - */ - edges?: Maybe>>; - /** - * The nodes of the connection, without the edges - */ - nodes?: Maybe>>; - /** - * Information about pagination in a connection. - */ - pageInfo?: Maybe; -} - -/** - * An edge in a connection - */ -export interface RootQueryToUserConnectionEdge { - __typename: 'RootQueryToUserConnectionEdge' | undefined; - /** - * A cursor for use in pagination - */ - cursor?: Maybe; - /** - * The item at the end of the edge - */ - node?: Maybe; -} - -/** - * The writing setting type - */ -export interface WritingSettings { - __typename: 'WritingSettings' | undefined; - /** - * Default post category. - */ - defaultCategory?: Maybe; - /** - * Default post format. - */ - defaultPostFormat?: Maybe; - /** - * Convert emoticons like :-) and :-P to graphics on display. - */ - useSmilies?: Maybe; -} - -/** - * The payload for the createCategory mutation - */ -export interface CreateCategoryPayload { - __typename: 'CreateCategoryPayload' | undefined; - /** - * The created category - */ - category?: Maybe; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; -} - -/** - * The payload for the createComment mutation - */ -export interface CreateCommentPayload { - __typename: 'CreateCommentPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The comment that was created - */ - comment?: Maybe; - /** - * Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache - */ - success?: Maybe; -} - -/** - * The payload for the createMediaItem mutation - */ -export interface CreateMediaItemPayload { - __typename: 'CreateMediaItemPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The MediaItem object mutation type. - */ - mediaItem?: Maybe; -} - -/** - * The payload for the createPage mutation - */ -export interface CreatePagePayload { - __typename: 'CreatePagePayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The Post object mutation type. - */ - page?: Maybe; -} - -/** - * The payload for the createPost mutation - */ -export interface CreatePostPayload { - __typename: 'CreatePostPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The Post object mutation type. - */ - post?: Maybe; -} - -/** - * The payload for the createPostFormat mutation - */ -export interface CreatePostFormatPayload { - __typename: 'CreatePostFormatPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The created post_format - */ - postFormat?: Maybe; -} - -/** - * The payload for the createTag mutation - */ -export interface CreateTagPayload { - __typename: 'CreateTagPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The created post_tag - */ - tag?: Maybe; -} - -/** - * The payload for the createUser mutation - */ -export interface CreateUserPayload { - __typename: 'CreateUserPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The User object mutation type. - */ - user?: Maybe; -} - -/** - * The payload for the deleteCategory mutation - */ -export interface DeleteCategoryPayload { - __typename: 'DeleteCategoryPayload' | undefined; - /** - * The deteted term object - */ - category?: Maybe; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The ID of the deleted object - */ - deletedId?: Maybe; -} - -/** - * The payload for the deleteComment mutation - */ -export interface DeleteCommentPayload { - __typename: 'DeleteCommentPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The deleted comment object - */ - comment?: Maybe; - /** - * The deleted comment ID - */ - deletedId?: Maybe; -} - -/** - * The payload for the deleteMediaItem mutation - */ -export interface DeleteMediaItemPayload { - __typename: 'DeleteMediaItemPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The ID of the deleted mediaItem - */ - deletedId?: Maybe; - /** - * The mediaItem before it was deleted - */ - mediaItem?: Maybe; -} - -/** - * The payload for the deletePage mutation - */ -export interface DeletePagePayload { - __typename: 'DeletePagePayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The ID of the deleted object - */ - deletedId?: Maybe; - /** - * The object before it was deleted - */ - page?: Maybe; -} - -/** - * The payload for the deletePost mutation - */ -export interface DeletePostPayload { - __typename: 'DeletePostPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The ID of the deleted object - */ - deletedId?: Maybe; - /** - * The object before it was deleted - */ - post?: Maybe; -} - -/** - * The payload for the deletePostFormat mutation - */ -export interface DeletePostFormatPayload { - __typename: 'DeletePostFormatPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The ID of the deleted object - */ - deletedId?: Maybe; - /** - * The deteted term object - */ - postFormat?: Maybe; -} - -/** - * The payload for the deleteTag mutation - */ -export interface DeleteTagPayload { - __typename: 'DeleteTagPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The ID of the deleted object - */ - deletedId?: Maybe; - /** - * The deteted term object - */ - tag?: Maybe; -} - -/** - * The payload for the deleteUser mutation - */ -export interface DeleteUserPayload { - __typename: 'DeleteUserPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The ID of the user that you just deleted - */ - deletedId?: Maybe; - /** - * The deleted user object - */ - user?: Maybe; -} - -/** - * The payload for the registerUser mutation - */ -export interface RegisterUserPayload { - __typename: 'RegisterUserPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The User object mutation type. - */ - user?: Maybe; -} - -/** - * The payload for the resetUserPassword mutation - */ -export interface ResetUserPasswordPayload { - __typename: 'ResetUserPasswordPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The User object mutation type. - */ - user?: Maybe; -} - -/** - * The payload for the restoreComment mutation - */ -export interface RestoreCommentPayload { - __typename: 'RestoreCommentPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The restored comment object - */ - comment?: Maybe; - /** - * The ID of the restored comment - */ - restoredId?: Maybe; -} - -/** - * The payload for the sendPasswordResetEmail mutation - */ -export interface SendPasswordResetEmailPayload { - __typename: 'SendPasswordResetEmailPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The user that the password reset email was sent to - */ - user?: Maybe; -} - -/** - * The payload for the UpdateCategory mutation - */ -export interface UpdateCategoryPayload { - __typename: 'UpdateCategoryPayload' | undefined; - /** - * The created category - */ - category?: Maybe; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; -} - -/** - * The payload for the updateComment mutation - */ -export interface UpdateCommentPayload { - __typename: 'UpdateCommentPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The comment that was created - */ - comment?: Maybe; - /** - * Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache - */ - success?: Maybe; -} - -/** - * The payload for the updateMediaItem mutation - */ -export interface UpdateMediaItemPayload { - __typename: 'UpdateMediaItemPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The MediaItem object mutation type. - */ - mediaItem?: Maybe; -} - -/** - * The payload for the updatePage mutation - */ -export interface UpdatePagePayload { - __typename: 'UpdatePagePayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The Post object mutation type. - */ - page?: Maybe; -} - -/** - * The payload for the updatePost mutation - */ -export interface UpdatePostPayload { - __typename: 'UpdatePostPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The Post object mutation type. - */ - post?: Maybe; -} - -/** - * The payload for the UpdatePostFormat mutation - */ -export interface UpdatePostFormatPayload { - __typename: 'UpdatePostFormatPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The created post_format - */ - postFormat?: Maybe; -} - -/** - * The payload for the updateSettings mutation - */ -export interface UpdateSettingsPayload { - __typename: 'UpdateSettingsPayload' | undefined; - /** - * Update all settings. - */ - allSettings?: Maybe; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * Update the discussion setting. - */ - discussionSettings?: Maybe; - /** - * Update the general setting. - */ - generalSettings?: Maybe; - /** - * Update the reading setting. - */ - readingSettings?: Maybe; - /** - * Update the writing setting. - */ - writingSettings?: Maybe; -} - -/** - * The payload for the UpdateTag mutation - */ -export interface UpdateTagPayload { - __typename: 'UpdateTagPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The created post_tag - */ - tag?: Maybe; -} - -/** - * The payload for the updateUser mutation - */ -export interface UpdateUserPayload { - __typename: 'UpdateUserPayload' | undefined; - /** - * If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. - */ - clientMutationId?: Maybe; - /** - * The User object mutation type. - */ - user?: Maybe; -} - -/** - * A Comment Author object - */ -export interface CommentAuthor - extends Omit, - Omit { - __typename: 'CommentAuthor' | undefined; - /** - * Identifies the primary key from the database. - */ - databaseId: ScalarsEnums['Int']; - /** - * The email for the comment author - */ - email?: Maybe; - /** - * The globally unique identifier for the comment author object - */ - id: ScalarsEnums['ID']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * The name for the comment author. - */ - name?: Maybe; - /** - * The url the comment author. - */ - url?: Maybe; -} - -/** - * The template assigned to the node - */ -export interface DefaultTemplate extends Omit { - __typename: 'DefaultTemplate' | undefined; - /** - * The name of the template - */ - templateName?: Maybe; -} - -export interface SchemaObjectTypes { - Query: Query; - Mutation: Mutation; - Subscription: Subscription; - Settings: Settings; - RootQueryToCategoryConnection: RootQueryToCategoryConnection; - RootQueryToCategoryConnectionEdge: RootQueryToCategoryConnectionEdge; - Category: Category; - Node: Node; - TermNode: TermNode; - UniformResourceIdentifiable: UniformResourceIdentifiable; - TermNodeToEnqueuedScriptConnection: TermNodeToEnqueuedScriptConnection; - TermNodeToEnqueuedScriptConnectionEdge: TermNodeToEnqueuedScriptConnectionEdge; - EnqueuedScript: EnqueuedScript; - EnqueuedAsset: EnqueuedAsset; - WPPageInfo: WPPageInfo; - TermNodeToEnqueuedStylesheetConnection: TermNodeToEnqueuedStylesheetConnection; - TermNodeToEnqueuedStylesheetConnectionEdge: TermNodeToEnqueuedStylesheetConnectionEdge; - EnqueuedStylesheet: EnqueuedStylesheet; - DatabaseIdentifier: DatabaseIdentifier; - HierarchicalTermNode: HierarchicalTermNode; - MenuItemLinkable: MenuItemLinkable; - CategoryToAncestorsCategoryConnection: CategoryToAncestorsCategoryConnection; - CategoryToAncestorsCategoryConnectionEdge: CategoryToAncestorsCategoryConnectionEdge; - CategoryToCategoryConnection: CategoryToCategoryConnection; - CategoryToCategoryConnectionEdge: CategoryToCategoryConnectionEdge; - CategoryToContentNodeConnection: CategoryToContentNodeConnection; - CategoryToContentNodeConnectionEdge: CategoryToContentNodeConnectionEdge; - ContentNode: ContentNode; - ContentNodeToContentTypeConnectionEdge: ContentNodeToContentTypeConnectionEdge; - ContentType: ContentType; - ContentTypeToTaxonomyConnection: ContentTypeToTaxonomyConnection; - ContentTypeToTaxonomyConnectionEdge: ContentTypeToTaxonomyConnectionEdge; - Taxonomy: Taxonomy; - TaxonomyToContentTypeConnection: TaxonomyToContentTypeConnection; - TaxonomyToContentTypeConnectionEdge: TaxonomyToContentTypeConnectionEdge; - ContentTypeToContentNodeConnection: ContentTypeToContentNodeConnection; - ContentTypeToContentNodeConnectionEdge: ContentTypeToContentNodeConnectionEdge; - PostTypeLabelDetails: PostTypeLabelDetails; - ContentNodeToEditLockConnectionEdge: ContentNodeToEditLockConnectionEdge; - User: User; - Commenter: Commenter; - Avatar: Avatar; - UserToCommentConnection: UserToCommentConnection; - UserToCommentConnectionEdge: UserToCommentConnectionEdge; - Comment: Comment; - CommentToCommenterConnectionEdge: CommentToCommenterConnectionEdge; - CommentToContentNodeConnectionEdge: CommentToContentNodeConnectionEdge; - CommentToParentCommentConnectionEdge: CommentToParentCommentConnectionEdge; - CommentToCommentConnection: CommentToCommentConnection; - CommentToCommentConnectionEdge: CommentToCommentConnectionEdge; - UserToEnqueuedScriptConnection: UserToEnqueuedScriptConnection; - UserToEnqueuedScriptConnectionEdge: UserToEnqueuedScriptConnectionEdge; - UserToEnqueuedStylesheetConnection: UserToEnqueuedStylesheetConnection; - UserToEnqueuedStylesheetConnectionEdge: UserToEnqueuedStylesheetConnectionEdge; - UserToMediaItemConnection: UserToMediaItemConnection; - UserToMediaItemConnectionEdge: UserToMediaItemConnectionEdge; - MediaItem: MediaItem; - NodeWithTemplate: NodeWithTemplate; - ContentTemplate: ContentTemplate; - NodeWithTitle: NodeWithTitle; - NodeWithAuthor: NodeWithAuthor; - NodeWithAuthorToUserConnectionEdge: NodeWithAuthorToUserConnectionEdge; - NodeWithComments: NodeWithComments; - HierarchicalContentNode: HierarchicalContentNode; - HierarchicalContentNodeToContentNodeAncestorsConnection: HierarchicalContentNodeToContentNodeAncestorsConnection; - HierarchicalContentNodeToContentNodeAncestorsConnectionEdge: HierarchicalContentNodeToContentNodeAncestorsConnectionEdge; - HierarchicalContentNodeToContentNodeChildrenConnection: HierarchicalContentNodeToContentNodeChildrenConnection; - HierarchicalContentNodeToContentNodeChildrenConnectionEdge: HierarchicalContentNodeToContentNodeChildrenConnectionEdge; - HierarchicalContentNodeToParentContentNodeConnectionEdge: HierarchicalContentNodeToParentContentNodeConnectionEdge; - MediaItemToCommentConnection: MediaItemToCommentConnection; - MediaItemToCommentConnectionEdge: MediaItemToCommentConnectionEdge; - ContentNodeToEnqueuedScriptConnection: ContentNodeToEnqueuedScriptConnection; - ContentNodeToEnqueuedScriptConnectionEdge: ContentNodeToEnqueuedScriptConnectionEdge; - ContentNodeToEnqueuedStylesheetConnection: ContentNodeToEnqueuedStylesheetConnection; - ContentNodeToEnqueuedStylesheetConnectionEdge: ContentNodeToEnqueuedStylesheetConnectionEdge; - ContentNodeToEditLastConnectionEdge: ContentNodeToEditLastConnectionEdge; - MediaDetails: MediaDetails; - MediaItemMeta: MediaItemMeta; - MediaSize: MediaSize; - UserToPageConnection: UserToPageConnection; - UserToPageConnectionEdge: UserToPageConnectionEdge; - Page: Page; - NodeWithContentEditor: NodeWithContentEditor; - NodeWithFeaturedImage: NodeWithFeaturedImage; - NodeWithFeaturedImageToMediaItemConnectionEdge: NodeWithFeaturedImageToMediaItemConnectionEdge; - NodeWithRevisions: NodeWithRevisions; - NodeWithRevisionsToContentNodeConnectionEdge: NodeWithRevisionsToContentNodeConnectionEdge; - NodeWithPageAttributes: NodeWithPageAttributes; - PageToCommentConnection: PageToCommentConnection; - PageToCommentConnectionEdge: PageToCommentConnectionEdge; - PageToPreviewConnectionEdge: PageToPreviewConnectionEdge; - PageToRevisionConnection: PageToRevisionConnection; - PageToRevisionConnectionEdge: PageToRevisionConnectionEdge; - UserToPostConnection: UserToPostConnection; - UserToPostConnectionEdge: UserToPostConnectionEdge; - Post: Post; - NodeWithExcerpt: NodeWithExcerpt; - NodeWithTrackbacks: NodeWithTrackbacks; - PostToCategoryConnection: PostToCategoryConnection; - PostToCategoryConnectionEdge: PostToCategoryConnectionEdge; - PostToCommentConnection: PostToCommentConnection; - PostToCommentConnectionEdge: PostToCommentConnectionEdge; - PostToPostFormatConnection: PostToPostFormatConnection; - PostToPostFormatConnectionEdge: PostToPostFormatConnectionEdge; - PostFormat: PostFormat; - PostFormatToContentNodeConnection: PostFormatToContentNodeConnection; - PostFormatToContentNodeConnectionEdge: PostFormatToContentNodeConnectionEdge; - PostFormatToPostConnection: PostFormatToPostConnection; - PostFormatToPostConnectionEdge: PostFormatToPostConnectionEdge; - PostFormatToTaxonomyConnectionEdge: PostFormatToTaxonomyConnectionEdge; - PostToPreviewConnectionEdge: PostToPreviewConnectionEdge; - PostToRevisionConnection: PostToRevisionConnection; - PostToRevisionConnectionEdge: PostToRevisionConnectionEdge; - PostToTagConnection: PostToTagConnection; - PostToTagConnectionEdge: PostToTagConnectionEdge; - Tag: Tag; - TagToContentNodeConnection: TagToContentNodeConnection; - TagToContentNodeConnectionEdge: TagToContentNodeConnectionEdge; - TagToPostConnection: TagToPostConnection; - TagToPostConnectionEdge: TagToPostConnectionEdge; - TagToTaxonomyConnectionEdge: TagToTaxonomyConnectionEdge; - PostToTermNodeConnection: PostToTermNodeConnection; - PostToTermNodeConnectionEdge: PostToTermNodeConnectionEdge; - UserToContentRevisionUnionConnection: UserToContentRevisionUnionConnection; - UserToContentRevisionUnionConnectionEdge: UserToContentRevisionUnionConnectionEdge; - UserToUserRoleConnection: UserToUserRoleConnection; - UserToUserRoleConnectionEdge: UserToUserRoleConnectionEdge; - UserRole: UserRole; - CategoryToParentCategoryConnectionEdge: CategoryToParentCategoryConnectionEdge; - CategoryToPostConnection: CategoryToPostConnection; - CategoryToPostConnectionEdge: CategoryToPostConnectionEdge; - CategoryToTaxonomyConnectionEdge: CategoryToTaxonomyConnectionEdge; - RootQueryToCommentConnection: RootQueryToCommentConnection; - RootQueryToCommentConnectionEdge: RootQueryToCommentConnectionEdge; - RootQueryToContentNodeConnection: RootQueryToContentNodeConnection; - RootQueryToContentNodeConnectionEdge: RootQueryToContentNodeConnectionEdge; - RootQueryToContentTypeConnection: RootQueryToContentTypeConnection; - RootQueryToContentTypeConnectionEdge: RootQueryToContentTypeConnectionEdge; - DiscussionSettings: DiscussionSettings; - GeneralSettings: GeneralSettings; - RootQueryToMediaItemConnection: RootQueryToMediaItemConnection; - RootQueryToMediaItemConnectionEdge: RootQueryToMediaItemConnectionEdge; - Menu: Menu; - MenuToMenuItemConnection: MenuToMenuItemConnection; - MenuToMenuItemConnectionEdge: MenuToMenuItemConnectionEdge; - MenuItem: MenuItem; - MenuItemToMenuItemConnection: MenuItemToMenuItemConnection; - MenuItemToMenuItemConnectionEdge: MenuItemToMenuItemConnectionEdge; - MenuItemToMenuItemLinkableConnectionEdge: MenuItemToMenuItemLinkableConnectionEdge; - MenuItemToMenuConnectionEdge: MenuItemToMenuConnectionEdge; - RootQueryToMenuItemConnection: RootQueryToMenuItemConnection; - RootQueryToMenuItemConnectionEdge: RootQueryToMenuItemConnectionEdge; - RootQueryToMenuConnection: RootQueryToMenuConnection; - RootQueryToMenuConnectionEdge: RootQueryToMenuConnectionEdge; - RootQueryToPageConnection: RootQueryToPageConnection; - RootQueryToPageConnectionEdge: RootQueryToPageConnectionEdge; - Plugin: Plugin; - RootQueryToPluginConnection: RootQueryToPluginConnection; - RootQueryToPluginConnectionEdge: RootQueryToPluginConnectionEdge; - RootQueryToPostFormatConnection: RootQueryToPostFormatConnection; - RootQueryToPostFormatConnectionEdge: RootQueryToPostFormatConnectionEdge; - RootQueryToPostConnection: RootQueryToPostConnection; - RootQueryToPostConnectionEdge: RootQueryToPostConnectionEdge; - ReadingSettings: ReadingSettings; - RootQueryToEnqueuedScriptConnection: RootQueryToEnqueuedScriptConnection; - RootQueryToEnqueuedScriptConnectionEdge: RootQueryToEnqueuedScriptConnectionEdge; - RootQueryToEnqueuedStylesheetConnection: RootQueryToEnqueuedStylesheetConnection; - RootQueryToEnqueuedStylesheetConnectionEdge: RootQueryToEnqueuedStylesheetConnectionEdge; - RootQueryToContentRevisionUnionConnection: RootQueryToContentRevisionUnionConnection; - RootQueryToContentRevisionUnionConnectionEdge: RootQueryToContentRevisionUnionConnectionEdge; - RootQueryToTagConnection: RootQueryToTagConnection; - RootQueryToTagConnectionEdge: RootQueryToTagConnectionEdge; - RootQueryToTaxonomyConnection: RootQueryToTaxonomyConnection; - RootQueryToTaxonomyConnectionEdge: RootQueryToTaxonomyConnectionEdge; - RootQueryToTermNodeConnection: RootQueryToTermNodeConnection; - RootQueryToTermNodeConnectionEdge: RootQueryToTermNodeConnectionEdge; - Theme: Theme; - RootQueryToThemeConnection: RootQueryToThemeConnection; - RootQueryToThemeConnectionEdge: RootQueryToThemeConnectionEdge; - RootQueryToUserRoleConnection: RootQueryToUserRoleConnection; - RootQueryToUserRoleConnectionEdge: RootQueryToUserRoleConnectionEdge; - RootQueryToUserConnection: RootQueryToUserConnection; - RootQueryToUserConnectionEdge: RootQueryToUserConnectionEdge; - WritingSettings: WritingSettings; - CreateCategoryPayload: CreateCategoryPayload; - CreateCommentPayload: CreateCommentPayload; - CreateMediaItemPayload: CreateMediaItemPayload; - CreatePagePayload: CreatePagePayload; - CreatePostPayload: CreatePostPayload; - CreatePostFormatPayload: CreatePostFormatPayload; - CreateTagPayload: CreateTagPayload; - CreateUserPayload: CreateUserPayload; - DeleteCategoryPayload: DeleteCategoryPayload; - DeleteCommentPayload: DeleteCommentPayload; - DeleteMediaItemPayload: DeleteMediaItemPayload; - DeletePagePayload: DeletePagePayload; - DeletePostPayload: DeletePostPayload; - DeletePostFormatPayload: DeletePostFormatPayload; - DeleteTagPayload: DeleteTagPayload; - DeleteUserPayload: DeleteUserPayload; - RegisterUserPayload: RegisterUserPayload; - ResetUserPasswordPayload: ResetUserPasswordPayload; - RestoreCommentPayload: RestoreCommentPayload; - SendPasswordResetEmailPayload: SendPasswordResetEmailPayload; - UpdateCategoryPayload: UpdateCategoryPayload; - UpdateCommentPayload: UpdateCommentPayload; - UpdateMediaItemPayload: UpdateMediaItemPayload; - UpdatePagePayload: UpdatePagePayload; - UpdatePostPayload: UpdatePostPayload; - UpdatePostFormatPayload: UpdatePostFormatPayload; - UpdateSettingsPayload: UpdateSettingsPayload; - UpdateTagPayload: UpdateTagPayload; - UpdateUserPayload: UpdateUserPayload; - CommentAuthor: CommentAuthor; - DefaultTemplate: DefaultTemplate; -} -export type SchemaObjectTypesNames = - | 'Query' - | 'Mutation' - | 'Subscription' - | 'Settings' - | 'RootQueryToCategoryConnection' - | 'RootQueryToCategoryConnectionEdge' - | 'Category' - | 'Node' - | 'TermNode' - | 'UniformResourceIdentifiable' - | 'TermNodeToEnqueuedScriptConnection' - | 'TermNodeToEnqueuedScriptConnectionEdge' - | 'EnqueuedScript' - | 'EnqueuedAsset' - | 'WPPageInfo' - | 'TermNodeToEnqueuedStylesheetConnection' - | 'TermNodeToEnqueuedStylesheetConnectionEdge' - | 'EnqueuedStylesheet' - | 'DatabaseIdentifier' - | 'HierarchicalTermNode' - | 'MenuItemLinkable' - | 'CategoryToAncestorsCategoryConnection' - | 'CategoryToAncestorsCategoryConnectionEdge' - | 'CategoryToCategoryConnection' - | 'CategoryToCategoryConnectionEdge' - | 'CategoryToContentNodeConnection' - | 'CategoryToContentNodeConnectionEdge' - | 'ContentNode' - | 'ContentNodeToContentTypeConnectionEdge' - | 'ContentType' - | 'ContentTypeToTaxonomyConnection' - | 'ContentTypeToTaxonomyConnectionEdge' - | 'Taxonomy' - | 'TaxonomyToContentTypeConnection' - | 'TaxonomyToContentTypeConnectionEdge' - | 'ContentTypeToContentNodeConnection' - | 'ContentTypeToContentNodeConnectionEdge' - | 'PostTypeLabelDetails' - | 'ContentNodeToEditLockConnectionEdge' - | 'User' - | 'Commenter' - | 'Avatar' - | 'UserToCommentConnection' - | 'UserToCommentConnectionEdge' - | 'Comment' - | 'CommentToCommenterConnectionEdge' - | 'CommentToContentNodeConnectionEdge' - | 'CommentToParentCommentConnectionEdge' - | 'CommentToCommentConnection' - | 'CommentToCommentConnectionEdge' - | 'UserToEnqueuedScriptConnection' - | 'UserToEnqueuedScriptConnectionEdge' - | 'UserToEnqueuedStylesheetConnection' - | 'UserToEnqueuedStylesheetConnectionEdge' - | 'UserToMediaItemConnection' - | 'UserToMediaItemConnectionEdge' - | 'MediaItem' - | 'NodeWithTemplate' - | 'ContentTemplate' - | 'NodeWithTitle' - | 'NodeWithAuthor' - | 'NodeWithAuthorToUserConnectionEdge' - | 'NodeWithComments' - | 'HierarchicalContentNode' - | 'HierarchicalContentNodeToContentNodeAncestorsConnection' - | 'HierarchicalContentNodeToContentNodeAncestorsConnectionEdge' - | 'HierarchicalContentNodeToContentNodeChildrenConnection' - | 'HierarchicalContentNodeToContentNodeChildrenConnectionEdge' - | 'HierarchicalContentNodeToParentContentNodeConnectionEdge' - | 'MediaItemToCommentConnection' - | 'MediaItemToCommentConnectionEdge' - | 'ContentNodeToEnqueuedScriptConnection' - | 'ContentNodeToEnqueuedScriptConnectionEdge' - | 'ContentNodeToEnqueuedStylesheetConnection' - | 'ContentNodeToEnqueuedStylesheetConnectionEdge' - | 'ContentNodeToEditLastConnectionEdge' - | 'MediaDetails' - | 'MediaItemMeta' - | 'MediaSize' - | 'UserToPageConnection' - | 'UserToPageConnectionEdge' - | 'Page' - | 'NodeWithContentEditor' - | 'NodeWithFeaturedImage' - | 'NodeWithFeaturedImageToMediaItemConnectionEdge' - | 'NodeWithRevisions' - | 'NodeWithRevisionsToContentNodeConnectionEdge' - | 'NodeWithPageAttributes' - | 'PageToCommentConnection' - | 'PageToCommentConnectionEdge' - | 'PageToPreviewConnectionEdge' - | 'PageToRevisionConnection' - | 'PageToRevisionConnectionEdge' - | 'UserToPostConnection' - | 'UserToPostConnectionEdge' - | 'Post' - | 'NodeWithExcerpt' - | 'NodeWithTrackbacks' - | 'PostToCategoryConnection' - | 'PostToCategoryConnectionEdge' - | 'PostToCommentConnection' - | 'PostToCommentConnectionEdge' - | 'PostToPostFormatConnection' - | 'PostToPostFormatConnectionEdge' - | 'PostFormat' - | 'PostFormatToContentNodeConnection' - | 'PostFormatToContentNodeConnectionEdge' - | 'PostFormatToPostConnection' - | 'PostFormatToPostConnectionEdge' - | 'PostFormatToTaxonomyConnectionEdge' - | 'PostToPreviewConnectionEdge' - | 'PostToRevisionConnection' - | 'PostToRevisionConnectionEdge' - | 'PostToTagConnection' - | 'PostToTagConnectionEdge' - | 'Tag' - | 'TagToContentNodeConnection' - | 'TagToContentNodeConnectionEdge' - | 'TagToPostConnection' - | 'TagToPostConnectionEdge' - | 'TagToTaxonomyConnectionEdge' - | 'PostToTermNodeConnection' - | 'PostToTermNodeConnectionEdge' - | 'UserToContentRevisionUnionConnection' - | 'UserToContentRevisionUnionConnectionEdge' - | 'UserToUserRoleConnection' - | 'UserToUserRoleConnectionEdge' - | 'UserRole' - | 'CategoryToParentCategoryConnectionEdge' - | 'CategoryToPostConnection' - | 'CategoryToPostConnectionEdge' - | 'CategoryToTaxonomyConnectionEdge' - | 'RootQueryToCommentConnection' - | 'RootQueryToCommentConnectionEdge' - | 'RootQueryToContentNodeConnection' - | 'RootQueryToContentNodeConnectionEdge' - | 'RootQueryToContentTypeConnection' - | 'RootQueryToContentTypeConnectionEdge' - | 'DiscussionSettings' - | 'GeneralSettings' - | 'RootQueryToMediaItemConnection' - | 'RootQueryToMediaItemConnectionEdge' - | 'Menu' - | 'MenuToMenuItemConnection' - | 'MenuToMenuItemConnectionEdge' - | 'MenuItem' - | 'MenuItemToMenuItemConnection' - | 'MenuItemToMenuItemConnectionEdge' - | 'MenuItemToMenuItemLinkableConnectionEdge' - | 'MenuItemToMenuConnectionEdge' - | 'RootQueryToMenuItemConnection' - | 'RootQueryToMenuItemConnectionEdge' - | 'RootQueryToMenuConnection' - | 'RootQueryToMenuConnectionEdge' - | 'RootQueryToPageConnection' - | 'RootQueryToPageConnectionEdge' - | 'Plugin' - | 'RootQueryToPluginConnection' - | 'RootQueryToPluginConnectionEdge' - | 'RootQueryToPostFormatConnection' - | 'RootQueryToPostFormatConnectionEdge' - | 'RootQueryToPostConnection' - | 'RootQueryToPostConnectionEdge' - | 'ReadingSettings' - | 'RootQueryToEnqueuedScriptConnection' - | 'RootQueryToEnqueuedScriptConnectionEdge' - | 'RootQueryToEnqueuedStylesheetConnection' - | 'RootQueryToEnqueuedStylesheetConnectionEdge' - | 'RootQueryToContentRevisionUnionConnection' - | 'RootQueryToContentRevisionUnionConnectionEdge' - | 'RootQueryToTagConnection' - | 'RootQueryToTagConnectionEdge' - | 'RootQueryToTaxonomyConnection' - | 'RootQueryToTaxonomyConnectionEdge' - | 'RootQueryToTermNodeConnection' - | 'RootQueryToTermNodeConnectionEdge' - | 'Theme' - | 'RootQueryToThemeConnection' - | 'RootQueryToThemeConnectionEdge' - | 'RootQueryToUserRoleConnection' - | 'RootQueryToUserRoleConnectionEdge' - | 'RootQueryToUserConnection' - | 'RootQueryToUserConnectionEdge' - | 'WritingSettings' - | 'CreateCategoryPayload' - | 'CreateCommentPayload' - | 'CreateMediaItemPayload' - | 'CreatePagePayload' - | 'CreatePostPayload' - | 'CreatePostFormatPayload' - | 'CreateTagPayload' - | 'CreateUserPayload' - | 'DeleteCategoryPayload' - | 'DeleteCommentPayload' - | 'DeleteMediaItemPayload' - | 'DeletePagePayload' - | 'DeletePostPayload' - | 'DeletePostFormatPayload' - | 'DeleteTagPayload' - | 'DeleteUserPayload' - | 'RegisterUserPayload' - | 'ResetUserPasswordPayload' - | 'RestoreCommentPayload' - | 'SendPasswordResetEmailPayload' - | 'UpdateCategoryPayload' - | 'UpdateCommentPayload' - | 'UpdateMediaItemPayload' - | 'UpdatePagePayload' - | 'UpdatePostPayload' - | 'UpdatePostFormatPayload' - | 'UpdateSettingsPayload' - | 'UpdateTagPayload' - | 'UpdateUserPayload' - | 'CommentAuthor' - | 'DefaultTemplate'; - -/** - * A union of Content Node Types that support revisions - */ -export type ContentRevisionUnion = - | { - __typename: 'Post' | undefined; - ancestors?: undefined; - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; - /** - * Connection between the post type and the category type - */ - categories: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - children?: undefined; - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; - /** - * Connection between the post type and the Comment type - */ - comments: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The excerpt of the post. - */ - excerpt: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * 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?: Maybe; - /** - * The globally unique identifier of the post object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - /** - * Whether this page is sticky - */ - isSticky: ScalarsEnums['Boolean']; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - menuOrder?: undefined; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - pageId?: undefined; - parent?: undefined; - parentDatabaseId?: undefined; - parentId?: undefined; - /** - * Whether the pings are open or closed for this particular post. - */ - pingStatus?: Maybe; - /** - * URLs that have been pinged. - */ - pinged?: Maybe>>; - /** - * Connection between the post type and the postFormat type - */ - postFormats: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - postId: ScalarsEnums['Int']; - /** - * Connection between the post type and the post type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the post type and the post type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * Connection between the post type and the tag type - */ - tags: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - /** - * Connection between the post type and the TermNode type - */ - terms: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * URLs queued to be pinged. - */ - toPing?: Maybe>>; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename: 'Page' | undefined; - /** - * Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - */ - ancestors: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; - categories?: undefined; - /** - * Connection between the HierarchicalContentNode type and the ContentNode type - */ - children: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; - /** - * Connection between the page type and the Comment type - */ - comments: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * 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?: Maybe; - /** - * The globally unique identifier of the page object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the static front page. - */ - isFrontPage: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the blog posts page. - */ - isPostsPage: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether this page is set to the privacy page. - */ - isPrivacyPage: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - */ - menuOrder?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - pageId: ScalarsEnums['Int']; - /** - * The parent of the node. The parent object can be of various types - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - pingStatus?: undefined; - pinged?: undefined; - postFormats?: undefined; - postId?: undefined; - /** - * Connection between the page type and the page type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the page type and the page type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - tags?: undefined; - /** - * The template assigned to a node of content - */ - template?: Maybe; - terms?: undefined; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - }; -/** - * Deprecated in favor of MenuItemLinkeable Interface - */ -export type MenuItemObjectUnion = - | { - __typename: 'Post' | undefined; - ancestors?: undefined; - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; - /** - * Connection between the post type and the category type - */ - categories: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - categoryId?: undefined; - children?: undefined; - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; - /** - * Connection between the post type and the Comment type - */ - comments: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - contentNodes?: undefined; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - count?: undefined; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - description?: undefined; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * The excerpt of the post. - */ - excerpt: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * 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?: Maybe; - /** - * The globally unique identifier of the post object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - /** - * Whether this page is sticky - */ - isSticky: ScalarsEnums['Boolean']; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - menuOrder?: undefined; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - name?: undefined; - pageId?: undefined; - parent?: undefined; - parentDatabaseId?: undefined; - parentId?: undefined; - /** - * Whether the pings are open or closed for this particular post. - */ - pingStatus?: Maybe; - /** - * URLs that have been pinged. - */ - pinged?: Maybe>>; - postFormatId?: undefined; - /** - * Connection between the post type and the postFormat type - */ - postFormats: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - postId: ScalarsEnums['Int']; - posts?: undefined; - /** - * Connection between the post type and the post type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the post type and the post type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - tagId?: undefined; - /** - * Connection between the post type and the tag type - */ - tags: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - taxonomy?: undefined; - /** - * The template assigned to a node of content - */ - template?: Maybe; - termGroupId?: undefined; - termTaxonomyId?: undefined; - /** - * Connection between the post type and the TermNode type - */ - terms: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * URLs queued to be pinged. - */ - toPing?: Maybe>>; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename: 'Page' | undefined; - /** - * Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - */ - ancestors: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; - categories?: undefined; - categoryId?: undefined; - /** - * Connection between the HierarchicalContentNode type and the ContentNode type - */ - children: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; - /** - * Connection between the page type and the Comment type - */ - comments: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - contentNodes?: undefined; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - count?: undefined; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - description?: undefined; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * 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?: Maybe; - /** - * The globally unique identifier of the page object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the static front page. - */ - isFrontPage: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the blog posts page. - */ - isPostsPage: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether this page is set to the privacy page. - */ - isPrivacyPage: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - */ - menuOrder?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - name?: undefined; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - pageId: ScalarsEnums['Int']; - /** - * The parent of the node. The parent object can be of various types - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - pingStatus?: undefined; - pinged?: undefined; - postFormatId?: undefined; - postFormats?: undefined; - postId?: undefined; - posts?: undefined; - /** - * Connection between the page type and the page type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the page type and the page type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - tagId?: undefined; - tags?: undefined; - taxonomy?: undefined; - /** - * The template assigned to a node of content - */ - template?: Maybe; - termGroupId?: undefined; - termTaxonomyId?: undefined; - terms?: undefined; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename: 'Category' | undefined; - /** - * The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). - */ - ancestors: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - author?: undefined; - authorDatabaseId?: undefined; - authorId?: undefined; - categories?: undefined; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of databaseId - */ - categoryId?: Maybe; - /** - * Connection between the category type and the category type - */ - children: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - commentCount?: undefined; - commentStatus?: undefined; - comments?: undefined; - content?: undefined; - /** - * Connection between the category type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - contentType?: undefined; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - date?: undefined; - dateGmt?: undefined; - /** - * The description of the object - */ - description?: Maybe; - desiredSlug?: undefined; - editingLockedBy?: undefined; - enclosure?: undefined; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - featuredImage?: undefined; - featuredImageDatabaseId?: undefined; - featuredImageId?: undefined; - guid?: undefined; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - isPreview?: undefined; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - isRevision?: undefined; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - lastEditedBy?: undefined; - /** - * The link to the term - */ - link?: Maybe; - menuOrder?: undefined; - modified?: undefined; - modifiedGmt?: undefined; - /** - * The human friendly name of the object. - */ - name?: Maybe; - pageId?: undefined; - /** - * Connection between the category type and the category type - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - pingStatus?: undefined; - pinged?: undefined; - postFormatId?: undefined; - postFormats?: undefined; - postId?: undefined; - /** - * Connection between the category type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - preview?: undefined; - previewRevisionDatabaseId?: undefined; - previewRevisionId?: undefined; - revisionOf?: undefined; - revisions?: undefined; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - status?: undefined; - tagId?: undefined; - tags?: undefined; - /** - * Connection between the category type and the Taxonomy type - */ - taxonomy?: Maybe; - template?: undefined; - /** - * The ID of the term group that this term object belongs to - */ - termGroupId?: Maybe; - /** - * The taxonomy ID that the object is associated with - */ - termTaxonomyId?: Maybe; - terms?: undefined; - title?: undefined; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename: 'Tag' | undefined; - ancestors?: undefined; - author?: undefined; - authorDatabaseId?: undefined; - authorId?: undefined; - categories?: undefined; - categoryId?: undefined; - children?: undefined; - commentCount?: undefined; - commentStatus?: undefined; - comments?: undefined; - content?: undefined; - /** - * Connection between the tag type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - contentType?: undefined; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - date?: undefined; - dateGmt?: undefined; - /** - * The description of the object - */ - description?: Maybe; - desiredSlug?: undefined; - editingLockedBy?: undefined; - enclosure?: undefined; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - featuredImage?: undefined; - featuredImageDatabaseId?: undefined; - featuredImageId?: undefined; - guid?: undefined; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - isPreview?: undefined; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - isRevision?: undefined; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - lastEditedBy?: undefined; - /** - * The link to the term - */ - link?: Maybe; - menuOrder?: undefined; - modified?: undefined; - modifiedGmt?: undefined; - /** - * The human friendly name of the object. - */ - name?: Maybe; - pageId?: undefined; - parent?: undefined; - parentDatabaseId?: undefined; - parentId?: undefined; - pingStatus?: undefined; - pinged?: undefined; - postFormatId?: undefined; - postFormats?: undefined; - postId?: undefined; - /** - * Connection between the tag type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - preview?: undefined; - previewRevisionDatabaseId?: undefined; - previewRevisionId?: undefined; - revisionOf?: undefined; - revisions?: undefined; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - status?: undefined; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of databaseId - */ - tagId?: Maybe; - tags?: undefined; - /** - * Connection between the tag type and the Taxonomy type - */ - taxonomy?: Maybe; - template?: undefined; - /** - * The ID of the term group that this term object belongs to - */ - termGroupId?: Maybe; - /** - * The taxonomy ID that the object is associated with - */ - termTaxonomyId?: Maybe; - terms?: undefined; - title?: undefined; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename: 'PostFormat' | undefined; - ancestors?: undefined; - author?: undefined; - authorDatabaseId?: undefined; - authorId?: undefined; - categories?: undefined; - categoryId?: undefined; - children?: undefined; - commentCount?: undefined; - commentStatus?: undefined; - comments?: undefined; - content?: undefined; - /** - * Connection between the postFormat type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - contentType?: undefined; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - date?: undefined; - dateGmt?: undefined; - /** - * The description of the object - */ - description?: Maybe; - desiredSlug?: undefined; - editingLockedBy?: undefined; - enclosure?: undefined; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - featuredImage?: undefined; - featuredImageDatabaseId?: undefined; - featuredImageId?: undefined; - guid?: undefined; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - isPreview?: undefined; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - isRevision?: undefined; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - lastEditedBy?: undefined; - /** - * The link to the term - */ - link?: Maybe; - menuOrder?: undefined; - modified?: undefined; - modifiedGmt?: undefined; - /** - * The human friendly name of the object. - */ - name?: Maybe; - pageId?: undefined; - parent?: undefined; - parentDatabaseId?: undefined; - parentId?: undefined; - pingStatus?: undefined; - pinged?: undefined; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of databaseId - */ - postFormatId?: Maybe; - postFormats?: undefined; - postId?: undefined; - /** - * Connection between the postFormat type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe; - /** - * The number of items to return before the referenced "before" cursor - */ - last?: Maybe; - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */ - after?: Maybe; - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */ - before?: Maybe; - /** - * Arguments for filtering the connection - */ - where?: Maybe; - }) => Maybe; - preview?: undefined; - previewRevisionDatabaseId?: undefined; - previewRevisionId?: undefined; - revisionOf?: undefined; - revisions?: undefined; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - status?: undefined; - tagId?: undefined; - tags?: undefined; - /** - * Connection between the postFormat type and the Taxonomy type - */ - taxonomy?: Maybe; - template?: undefined; - /** - * The ID of the term group that this term object belongs to - */ - termGroupId?: Maybe; - /** - * The taxonomy ID that the object is associated with - */ - termTaxonomyId?: Maybe; - terms?: undefined; - title?: undefined; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - }; - -/** - * An object with an ID - */ -export interface Node { - /** - * The globally unique ID for the object - */ - id: ScalarsEnums['ID']; -} -/** - * Terms are nodes within a Taxonomy, used to group and relate other nodes. - */ -export interface TermNode { - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * Identifies the primary key from the database. - */ - databaseId: ScalarsEnums['Int']; - /** - * The description of the object - */ - description?: Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The link to the term - */ - link?: Maybe; - /** - * The human friendly name of the object. - */ - name?: Maybe; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - /** - * The ID of the term group that this term object belongs to - */ - termGroupId?: Maybe; - /** - * The taxonomy ID that the object is associated with - */ - termTaxonomyId?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} -/** - * Any node that has a URI - */ -export interface UniformResourceIdentifiable { - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} -/** - * Asset enqueued by the CMS - */ -export interface EnqueuedAsset { - /** - * @todo - */ - args?: Maybe; - /** - * Dependencies needed to use this asset - */ - dependencies?: Maybe>>; - /** - * Extra information needed for the script - */ - extra?: Maybe; - /** - * The handle of the enqueued asset - */ - handle?: Maybe; - /** - * The ID of the enqueued asset - */ - id: ScalarsEnums['ID']; - /** - * The source of the asset - */ - src?: Maybe; - /** - * The version of the enqueued asset - */ - version?: Maybe; -} -/** - * Object that can be identified with a Database ID - */ -export interface DatabaseIdentifier { - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; -} -/** - * Term node with hierarchical (parent/child) relationships - */ -export interface HierarchicalTermNode { - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; -} -/** - * Nodes that can be linked to as Menu Items - */ -export interface MenuItemLinkable { - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} -/** - * Nodes used to manage content - */ -export interface ContentNode { - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The ID of the node in the database. - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * 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?: Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} -/** - * The author of a comment - */ -export interface Commenter { - /** - * Identifies the primary key from the database. - */ - databaseId: ScalarsEnums['Int']; - /** - * The email address of the author of a comment. - */ - email?: Maybe; - /** - * The globally unique identifier for the comment author. - */ - id: ScalarsEnums['ID']; - /** - * Whether the author information is considered restricted. (not fully public) - */ - isRestricted?: Maybe; - /** - * The name of the author of a comment. - */ - name?: Maybe; - /** - * The url of the author of a comment. - */ - url?: Maybe; -} -/** - * A node that can have a template associated with it - */ -export interface NodeWithTemplate { - /** - * The template assigned to the node - */ - template?: Maybe; -} -/** - * The template assigned to a node of content - */ -export interface ContentTemplate { - /** - * The name of the template - */ - templateName?: Maybe; -} -/** - * A node that NodeWith a title - */ -export interface NodeWithTitle {} -/** - * A node that can have an author assigned to it - */ -export interface NodeWithAuthor { - /** - * Connection between the NodeWithAuthor type and the User type - */ - author?: Maybe; - /** - * The database identifier of the author of the node - */ - authorDatabaseId?: Maybe; - /** - * The globally unique identifier of the author of the node - */ - authorId?: Maybe; -} -/** - * A node that can have comments associated with it - */ -export interface NodeWithComments { - /** - * 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?: Maybe; - /** - * Whether the comments are open or closed for this particular post. - */ - commentStatus?: Maybe; -} -/** - * Content node with hierarchical (parent/child) relationships - */ -export interface HierarchicalContentNode { - /** - * The parent of the node. The parent object can be of various types - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; -} -/** - * A node that supports the content editor - */ -export interface NodeWithContentEditor {} -/** - * A node that can have a featured image set - */ -export interface NodeWithFeaturedImage { - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * 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?: Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * 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?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * 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?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - /** - * The unique resource identifier path - */ - uri?: Maybe; -} -/** - * A node that can have revisions - */ -export interface NodeWithRevisions { - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; -} -/** - * A node that can have page attributes - */ -export interface NodeWithPageAttributes { - /** - * A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - */ - menuOrder?: Maybe; -} -/** - * A node that can have an excerpt - */ -export interface NodeWithExcerpt {} -/** - * A node that can have trackbacks and pingbacks - */ -export interface NodeWithTrackbacks { - /** - * Whether the pings are open or closed for this particular post. - */ - pingStatus?: Maybe; - /** - * URLs that have been pinged. - */ - pinged?: Maybe>>; - /** - * URLs queued to be pinged. - */ - toPing?: Maybe>>; -} - -export interface GeneratedSchema { - query: Query; - mutation: Mutation; - subscription: Subscription; -} - -export type MakeNullable = { - [K in keyof T]: T[K] | undefined; -}; - -export interface ScalarsEnums extends MakeNullable { - OrderEnum: OrderEnum | undefined; - TermObjectsConnectionOrderbyEnum: - | TermObjectsConnectionOrderbyEnum - | undefined; - ContentTypesOfCategoryEnum: ContentTypesOfCategoryEnum | undefined; - PostObjectsConnectionDateColumnEnum: - | PostObjectsConnectionDateColumnEnum - | undefined; - RelationEnum: RelationEnum | undefined; - MimeTypeEnum: MimeTypeEnum | undefined; - PostObjectsConnectionOrderbyEnum: - | PostObjectsConnectionOrderbyEnum - | undefined; - PostStatusEnum: PostStatusEnum | undefined; - ContentTypeEnum: ContentTypeEnum | undefined; - AvatarRatingEnum: AvatarRatingEnum | undefined; - CommentsConnectionOrderbyEnum: CommentsConnectionOrderbyEnum | undefined; - PostObjectFieldFormatEnum: PostObjectFieldFormatEnum | undefined; - MediaItemSizeEnum: MediaItemSizeEnum | undefined; - ContentTypesOfPostFormatEnum: ContentTypesOfPostFormatEnum | undefined; - ContentTypesOfTagEnum: ContentTypesOfTagEnum | undefined; - TaxonomyEnum: TaxonomyEnum | undefined; - CategoryIdType: CategoryIdType | undefined; - ContentNodeIdTypeEnum: ContentNodeIdTypeEnum | undefined; - ContentTypeIdTypeEnum: ContentTypeIdTypeEnum | undefined; - MediaItemIdType: MediaItemIdType | undefined; - MenuNodeIdTypeEnum: MenuNodeIdTypeEnum | undefined; - MenuLocationEnum: MenuLocationEnum | undefined; - MenuItemNodeIdTypeEnum: MenuItemNodeIdTypeEnum | undefined; - PageIdType: PageIdType | undefined; - PostIdType: PostIdType | undefined; - PostFormatIdType: PostFormatIdType | undefined; - TagIdType: TagIdType | undefined; - TaxonomyIdTypeEnum: TaxonomyIdTypeEnum | undefined; - TermNodeIdTypeEnum: TermNodeIdTypeEnum | undefined; - UserNodeIdTypeEnum: UserNodeIdTypeEnum | undefined; - UsersConnectionOrderbyEnum: UsersConnectionOrderbyEnum | undefined; - UserRoleEnum: UserRoleEnum | undefined; - UsersConnectionSearchColumnEnum: UsersConnectionSearchColumnEnum | undefined; - MediaItemStatusEnum: MediaItemStatusEnum | undefined; -} diff --git a/examples/react/getting-started/src/components/App.tsx b/examples/react/getting-started/src/components/App.tsx deleted file mode 100644 index e04aaa9a0..000000000 --- a/examples/react/getting-started/src/components/App.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import 'normalize.css/normalize.css'; -import React from 'react'; -import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'; -import 'scss/main.scss'; -import { Category, Home, Page, Post, Preview } from '../pages'; -import { HelmetProvider } from 'react-helmet-async'; - -function App() { - return ( - - -
- - - - - - - - - - - - - - - - - -
-
-
- ); -} - -export default App; diff --git a/examples/react/getting-started/src/components/Footer.tsx b/examples/react/getting-started/src/components/Footer.tsx deleted file mode 100644 index f3e35d913..000000000 --- a/examples/react/getting-started/src/components/Footer.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import React from 'react'; -import styles from 'scss/components/Footer.module.scss'; - -interface Props { - copyrightHolder?: string; -} - -function Footer({ copyrightHolder = 'Company Name' }: Props): JSX.Element { - const year = new Date().getFullYear(); - - return ( -
-
-

{`© ${year} ${copyrightHolder}. All rights reserved.`}

-
-
- ); -} - -export default Footer; diff --git a/examples/react/getting-started/src/components/Header.tsx b/examples/react/getting-started/src/components/Header.tsx deleted file mode 100644 index dfb3c39cd..000000000 --- a/examples/react/getting-started/src/components/Header.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import React from 'react'; -import styles from '../scss/components/Header.module.scss'; -import { Link } from 'react-router-dom'; - -interface Props { - title?: string; - description?: string; -} - -function Header({ - title = 'Headless by WP Engine', - description, -}: Props): JSX.Element { - // TODO: accept a `menuItems` prop to receive menu items from WordPress. - const menuItems = [ - { title: 'Home', href: '/' }, - { title: 'About', href: '/about' }, - { title: 'Posts', href: '/category/uncategorized' }, - ]; - - return ( - <> -
-
-
-

- {title} -

- {description &&

{description}

} -
-
-
    - {menuItems && - menuItems.map((item) => ( -
  • - {item.title} -
  • - ))} -
  • - - GitHub - -
  • -
-
-
-
- - ); -} - -export default Header; diff --git a/examples/react/getting-started/src/components/Heading.tsx b/examples/react/getting-started/src/components/Heading.tsx deleted file mode 100644 index b408fee48..000000000 --- a/examples/react/getting-started/src/components/Heading.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import React from 'react'; - -// HeadingProps constrains headings to levels h1-h6. -interface HeadingProps extends React.HTMLAttributes { - level: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; -} - -// Heading allows components to pass a heading level via props. -function Heading({ - level = 'h1', - children, - className, -}: HeadingProps): JSX.Element { - const H = ({ ...props }: React.HTMLAttributes) => - React.createElement(level, props, children); - - return {children}; -} - -export default Heading; -export type { HeadingProps }; diff --git a/examples/react/getting-started/src/components/Loaders.tsx b/examples/react/getting-started/src/components/Loaders.tsx deleted file mode 100644 index bdf2b0a9a..000000000 --- a/examples/react/getting-started/src/components/Loaders.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import ContentLoader from 'react-content-loader'; - -export function PostPageLoader() { - return ( - - {/* Only SVG shapes */} - - - - - ); -} - -export function PostListItemLoader() { - return ( - - {/* Only SVG shapes */} - - - - - - ); -} - -export function PostListLoader() { - return ( - <> - - - - - - - ); -} diff --git a/examples/react/getting-started/src/components/PageTemplate.tsx b/examples/react/getting-started/src/components/PageTemplate.tsx deleted file mode 100644 index 83300ccfe..000000000 --- a/examples/react/getting-started/src/components/PageTemplate.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import { Footer, Header, PostPageLoader } from 'components'; -import { Helmet } from 'react-helmet-async'; -import { Page } from 'client'; - -type PageTemplateProps = { - page: Page | null; - isLoading: boolean; -}; - -export default function PageTemplate({ page, isLoading }: PageTemplateProps) { - return ( - <> - - {page?.title()} - - -
- -
-
- {isLoading && } - -

{page?.title()}

-
-
-
- -