From 83fd0e7a4800d6cbbcf4098a86549d9614210421 Mon Sep 17 00:00:00 2001 From: William Johnston Date: Tue, 8 Jun 2021 17:00:06 -0700 Subject: [PATCH 1/3] chore: (#262) removing apollo and adding gqless --- packages/core/gqless.config.js | 16 + packages/core/package-lock.json | 523 +- packages/core/package.json | 10 +- packages/core/src/api/apolloClient.ts | 124 - packages/core/src/api/client/index.ts | 56 + .../core/src/api/client/schema.generated.ts | 18914 ++++++++++++++++ packages/core/src/api/index.ts | 4 +- .../core/src/api/queries/GENERAL_SETTINGS.ts | 9 - packages/core/src/api/queries/GET_URI_INFO.ts | 17 - .../api/queries/LIST_POST_DATA_FRAGMENT.ts | 21 - .../src/api/queries/PAGE_DATA_FRAGMENT.ts | 21 - .../api/queries/PAGE_INFO_DATA_FRAGMENT.ts | 8 - .../src/api/queries/POST_DATA_FRAGMENT.ts | 21 - .../core/src/api/queries/categoryOptions.ts | 58 - .../core/src/api/queries/getContentNode.ts | 52 - packages/core/src/api/queries/getPosts.ts | 48 - packages/core/src/api/queries/index.ts | 8 - packages/core/src/api/services.ts | 281 - packages/core/src/config/config.ts | 20 +- packages/core/test/utils/convert.test.ts | 6 - 20 files changed, 19187 insertions(+), 1030 deletions(-) create mode 100644 packages/core/gqless.config.js delete mode 100644 packages/core/src/api/apolloClient.ts create mode 100644 packages/core/src/api/client/index.ts create mode 100644 packages/core/src/api/client/schema.generated.ts delete mode 100644 packages/core/src/api/queries/GENERAL_SETTINGS.ts delete mode 100644 packages/core/src/api/queries/GET_URI_INFO.ts delete mode 100644 packages/core/src/api/queries/LIST_POST_DATA_FRAGMENT.ts delete mode 100644 packages/core/src/api/queries/PAGE_DATA_FRAGMENT.ts delete mode 100644 packages/core/src/api/queries/PAGE_INFO_DATA_FRAGMENT.ts delete mode 100644 packages/core/src/api/queries/POST_DATA_FRAGMENT.ts delete mode 100644 packages/core/src/api/queries/categoryOptions.ts delete mode 100644 packages/core/src/api/queries/getContentNode.ts delete mode 100644 packages/core/src/api/queries/getPosts.ts delete mode 100644 packages/core/src/api/queries/index.ts delete mode 100644 packages/core/src/api/services.ts diff --git a/packages/core/gqless.config.js b/packages/core/gqless.config.js new file mode 100644 index 000000000..b755b0a57 --- /dev/null +++ b/packages/core/gqless.config.js @@ -0,0 +1,16 @@ +/** + * @type {import("@gqless/cli").GQlessConfig} + */ + const config = { + react: false, + scalarTypes: { DateTime: "string" }, + introspection: { + endpoint: "http://basicwpwithwpgraphql.local/graphql", + headers: {}, + }, + destination: "./src/api/client/index.ts", + subscriptions: false, + javascriptOutput: false, +}; + +module.exports = config; diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index e6410c47c..4e72eeea7 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -9,14 +9,15 @@ "version": "0.6.5", "license": "MIT", "dependencies": { - "@apollo/client": ">=3.3.19", "deepmerge": "^4.2.2", - "graphql": ">=15.5", + "gqless": "^2.0.14", + "graphql-tag": "^2.12.4", "isomorphic-fetch": "^3.0.0", "lodash": "^4.17.21", "universal-cookie": "^4.0.4" }, "devDependencies": { + "@gqless/cli": "^2.0.16", "@graphql-codegen/add": "^2.0.2", "@graphql-codegen/cli": "^1.21.4", "@graphql-codegen/typescript": "^1.22.0", @@ -37,6 +38,7 @@ "eslint-plugin-import": "^2.23.2", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-simple-import-sort": "^7.0.0", + "graphql": "^15.5.0", "jest": "^26.6.3", "npm-run-all": "^4.1.5", "prettier": "^2.3.0", @@ -57,39 +59,6 @@ "rimraf": "^3.0.2" } }, - "node_modules/@apollo/client": { - "version": "3.3.19", - "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.3.19.tgz", - "integrity": "sha512-vzljWLPP0GwocfBhUopzDCUwsiaNTtii1eu8qDybAXqwj4/ZhnIM46c6dNQmnVcJpAIFRIsNCOxM4OlMDySJug==", - "dependencies": { - "@graphql-typed-document-node/core": "^3.0.0", - "@types/zen-observable": "^0.8.0", - "@wry/context": "^0.6.0", - "@wry/equality": "^0.4.0", - "fast-json-stable-stringify": "^2.0.0", - "graphql-tag": "^2.12.0", - "hoist-non-react-statics": "^3.3.2", - "optimism": "^0.16.0", - "prop-types": "^15.7.2", - "symbol-observable": "^2.0.0", - "ts-invariant": "^0.7.0", - "tslib": "^1.10.0", - "zen-observable": "^0.8.14" - }, - "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0", - "react": "^16.8.0 || ^17.0.0", - "subscriptions-transport-ws": "^0.9.0" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - }, - "subscriptions-transport-ws": { - "optional": true - } - } - }, "node_modules/@ardatan/aggregate-error": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/@ardatan/aggregate-error/-/aggregate-error-0.0.6.tgz", @@ -1218,6 +1187,57 @@ "node": ">=8" } }, + "node_modules/@gqless/cli": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@gqless/cli/-/cli-2.0.16.tgz", + "integrity": "sha512-DRs9KB8+WfKXCWResUJkAKQ9sVaV2/l/7qaZpmI3zjWMV3xKH4wgipyUmQ16R1Te1DdQkVa3leQPcolUj7vgYw==", + "dev": true, + "dependencies": { + "@graphql-codegen/core": "^1.17.9", + "@graphql-codegen/typescript": "^1.21.1", + "@graphql-tools/delegate": "^7.1.2", + "@graphql-tools/utils": "^7.7.3", + "@graphql-tools/wrap": "^7.0.5", + "commander": "^7.2.0", + "cosmiconfig": "^7.0.0", + "cross-fetch": "^3.1.4", + "gqless": "^2.0.14", + "mkdirp": "^1.0.4", + "prettier": "^2.2.1" + }, + "bin": { + "gqless": "bin/gqless.js" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "graphql": "^15.5.0" + }, + "peerDependenciesMeta": { + "graphql": { + "optional": true + } + } + }, + "node_modules/@gqless/cli/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@gqless/cli/node_modules/cross-fetch": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", + "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "dev": true, + "dependencies": { + "node-fetch": "2.6.1" + } + }, "node_modules/@graphql-codegen/add": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@graphql-codegen/add/-/add-2.0.2.tgz", @@ -1411,18 +1431,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@graphql-codegen/cli/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@graphql-codegen/cli/node_modules/string-width": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", @@ -2215,14 +2223,6 @@ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", "dev": true }, - "node_modules/@graphql-typed-document-node/core": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.0.tgz", - "integrity": "sha512-wYn6r8zVZyQJ6rQaALBEln5B1pzxb9shV5Ef97kTvn6yVGrqyXVnDqnU24MXnFubR+rZjBY9NWuxX3FB2sTsjg==", - "peerDependencies": { - "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" - } - }, "node_modules/@iarna/toml": { "version": "2.2.5", "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz", @@ -3480,11 +3480,6 @@ "integrity": "sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA==", "dev": true }, - "node_modules/@types/zen-observable": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/@types/zen-observable/-/zen-observable-0.8.2.tgz", - "integrity": "sha512-HrCIVMLjE1MOozVoD86622S7aunluLb2PJdPfb3nYiEtohm8mIB/vyv0Fd37AdeMFrTUQXEunw78YloMA3Qilg==" - }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "4.24.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.24.0.tgz", @@ -3803,54 +3798,6 @@ "@xtuc/long": "4.2.2" } }, - "node_modules/@wry/context": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@wry/context/-/context-0.6.0.tgz", - "integrity": "sha512-sAgendOXR8dM7stJw3FusRxFHF/ZinU0lffsA2YTyyIOfic86JX02qlPqPVqJNZJPAxFt+2EE8bvq6ZlS0Kf+Q==", - "dependencies": { - "tslib": "^2.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@wry/context/node_modules/tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" - }, - "node_modules/@wry/equality": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.4.0.tgz", - "integrity": "sha512-DxN/uawWfhRbgYE55zVCPOoe+jvsQ4m7PT1Wlxjyb/LCCLuU1UsucV2BbCxFAX8bjcSueFBbB5Qfj1Zfe8e7Fw==", - "dependencies": { - "tslib": "^2.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@wry/equality/node_modules/tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" - }, - "node_modules/@wry/trie": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@wry/trie/-/trie-0.3.0.tgz", - "integrity": "sha512-Yw1akIogPhAT6XPYsRHlZZIS0tIGmAl9EYXHi2scf7LPKKqdqmow/Hu4kEqP2cJR3EjaU/9L0ZlAjFf3hFxmug==", - "dependencies": { - "tslib": "^2.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@wry/trie/node_modules/tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" - }, "node_modules/@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", @@ -4218,7 +4165,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", - "devOptional": true + "dev": true }, "node_modules/asynckit": { "version": "0.4.0", @@ -4493,7 +4440,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", - "devOptional": true + "dev": true }, "node_modules/balanced-match": { "version": "1.0.0", @@ -6802,7 +6749,8 @@ "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true }, "node_modules/fast-levenshtein": { "version": "2.0.6", @@ -7145,6 +7093,23 @@ "node": ">=10" } }, + "node_modules/gqless": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/gqless/-/gqless-2.0.14.tgz", + "integrity": "sha512-CQWVWr82gzDoLkjsgxxcrH4vbMG8myW1c8CqpZi/+rGp50d1W5mzxm//ZFNtOeCXtzZ2mkdqsbYnyUStRo0/iw==", + "dependencies": { + "lodash": "^4.17.21", + "lodash-es": "^4.17.21" + }, + "peerDependencies": { + "graphql": "^15.5.0" + }, + "peerDependenciesMeta": { + "graphql": { + "optional": true + } + } + }, "node_modules/graceful-fs": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", @@ -7479,14 +7444,6 @@ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", "dev": true }, - "node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "dependencies": { - "react-is": "^16.7.0" - } - }, "node_modules/html-encoding-sniffer": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", @@ -8510,7 +8467,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/iterall/-/iterall-1.3.0.tgz", "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==", - "devOptional": true + "dev": true }, "node_modules/jest": { "version": "26.6.3", @@ -10534,7 +10491,8 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "node_modules/js-yaml": { "version": "3.14.1", @@ -11009,6 +10967,11 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -11152,6 +11115,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, @@ -11394,6 +11358,18 @@ "node": ">=0.10.0" } }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -11694,6 +11670,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -11894,15 +11871,6 @@ "yallist": "^3.0.2" } }, - "node_modules/optimism": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/optimism/-/optimism-0.16.1.tgz", - "integrity": "sha512-64i+Uw3otrndfq5kaoGNoY7pvOhSsjFEN4bdEFh80MWVk/dbgJfMv7VFDeCT8LxNAlEVhQmdVEbfE7X2nWNIIg==", - "dependencies": { - "@wry/context": "^0.6.0", - "@wry/trie": "^0.3.0" - } - }, "node_modules/optionator": { "version": "0.9.1", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", @@ -12702,16 +12670,6 @@ "node": ">= 6" } }, - "node_modules/prop-types": { - "version": "15.7.2", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", - "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - } - }, "node_modules/psl": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", @@ -12786,11 +12744,6 @@ "node": ">=0.10.0" } }, - "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, "node_modules/read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", @@ -14648,7 +14601,7 @@ "version": "0.9.18", "resolved": "https://registry.npmjs.org/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.18.tgz", "integrity": "sha512-tztzcBTNoEbuErsVQpTN2xUNN/efAZXyCyL5m3x4t6SKrEiTL2N8SaKWBFWM4u56pL79ULif3zjyeq+oV+nOaA==", - "devOptional": true, + "dev": true, "dependencies": { "backo2": "^1.0.2", "eventemitter3": "^3.1.0", @@ -14664,13 +14617,13 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz", "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==", - "devOptional": true + "dev": true }, "node_modules/subscriptions-transport-ws/node_modules/symbol-observable": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", - "devOptional": true, + "dev": true, "engines": { "node": ">=0.10.0" } @@ -14679,7 +14632,7 @@ "version": "5.2.2", "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", - "devOptional": true, + "dev": true, "dependencies": { "async-limiter": "~1.0.0" } @@ -14745,14 +14698,6 @@ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", "dev": true }, - "node_modules/symbol-observable": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz", - "integrity": "sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA==", - "engines": { - "node": ">=0.10" - } - }, "node_modules/symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -15152,22 +15097,6 @@ "node": ">=8" } }, - "node_modules/ts-invariant": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.7.3.tgz", - "integrity": "sha512-UWDDeovyUTIMWj+45g5nhnl+8oo+GhxL5leTaHn5c8FkQWfh8v66gccLd2/YzVmV5hoQUjCEjhrXnQqVDJdvKA==", - "dependencies": { - "tslib": "^2.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ts-invariant/node_modules/tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" - }, "node_modules/ts-jest": { "version": "26.5.6", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.5.6.tgz", @@ -15196,18 +15125,6 @@ "typescript": ">=3.8 <5.0" } }, - "node_modules/ts-jest/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/ts-jest/node_modules/yargs-parser": { "version": "20.2.7", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz", @@ -15374,7 +15291,8 @@ "node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true }, "node_modules/tsutils": { "version": "3.21.0", @@ -16135,34 +16053,9 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } - }, - "node_modules/zen-observable": { - "version": "0.8.15", - "resolved": "https://registry.npmjs.org/zen-observable/-/zen-observable-0.8.15.tgz", - "integrity": "sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==" } }, "dependencies": { - "@apollo/client": { - "version": "3.3.19", - "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.3.19.tgz", - "integrity": "sha512-vzljWLPP0GwocfBhUopzDCUwsiaNTtii1eu8qDybAXqwj4/ZhnIM46c6dNQmnVcJpAIFRIsNCOxM4OlMDySJug==", - "requires": { - "@graphql-typed-document-node/core": "^3.0.0", - "@types/zen-observable": "^0.8.0", - "@wry/context": "^0.6.0", - "@wry/equality": "^0.4.0", - "fast-json-stable-stringify": "^2.0.0", - "graphql-tag": "^2.12.0", - "hoist-non-react-statics": "^3.3.2", - "optimism": "^0.16.0", - "prop-types": "^15.7.2", - "symbol-observable": "^2.0.0", - "ts-invariant": "^0.7.0", - "tslib": "^1.10.0", - "zen-observable": "^0.8.14" - } - }, "@ardatan/aggregate-error": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/@ardatan/aggregate-error/-/aggregate-error-0.0.6.tgz", @@ -17126,6 +17019,42 @@ } } }, + "@gqless/cli": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@gqless/cli/-/cli-2.0.16.tgz", + "integrity": "sha512-DRs9KB8+WfKXCWResUJkAKQ9sVaV2/l/7qaZpmI3zjWMV3xKH4wgipyUmQ16R1Te1DdQkVa3leQPcolUj7vgYw==", + "dev": true, + "requires": { + "@graphql-codegen/core": "^1.17.9", + "@graphql-codegen/typescript": "^1.21.1", + "@graphql-tools/delegate": "^7.1.2", + "@graphql-tools/utils": "^7.7.3", + "@graphql-tools/wrap": "^7.0.5", + "commander": "^7.2.0", + "cosmiconfig": "^7.0.0", + "cross-fetch": "^3.1.4", + "gqless": "^2.0.14", + "mkdirp": "^1.0.4", + "prettier": "^2.2.1" + }, + "dependencies": { + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true + }, + "cross-fetch": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", + "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "dev": true, + "requires": { + "node-fetch": "2.6.1" + } + } + } + }, "@graphql-codegen/add": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@graphql-codegen/add/-/add-2.0.2.tgz", @@ -17277,12 +17206,6 @@ "is-unicode-supported": "^0.1.0" } }, - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true - }, "string-width": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", @@ -17995,12 +17918,6 @@ } } }, - "@graphql-typed-document-node/core": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.0.tgz", - "integrity": "sha512-wYn6r8zVZyQJ6rQaALBEln5B1pzxb9shV5Ef97kTvn6yVGrqyXVnDqnU24MXnFubR+rZjBY9NWuxX3FB2sTsjg==", - "requires": {} - }, "@iarna/toml": { "version": "2.2.5", "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz", @@ -19061,11 +18978,6 @@ "integrity": "sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA==", "dev": true }, - "@types/zen-observable": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/@types/zen-observable/-/zen-observable-0.8.2.tgz", - "integrity": "sha512-HrCIVMLjE1MOozVoD86622S7aunluLb2PJdPfb3nYiEtohm8mIB/vyv0Fd37AdeMFrTUQXEunw78YloMA3Qilg==" - }, "@typescript-eslint/eslint-plugin": { "version": "4.24.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.24.0.tgz", @@ -19310,51 +19222,6 @@ "@xtuc/long": "4.2.2" } }, - "@wry/context": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@wry/context/-/context-0.6.0.tgz", - "integrity": "sha512-sAgendOXR8dM7stJw3FusRxFHF/ZinU0lffsA2YTyyIOfic86JX02qlPqPVqJNZJPAxFt+2EE8bvq6ZlS0Kf+Q==", - "requires": { - "tslib": "^2.1.0" - }, - "dependencies": { - "tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" - } - } - }, - "@wry/equality": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.4.0.tgz", - "integrity": "sha512-DxN/uawWfhRbgYE55zVCPOoe+jvsQ4m7PT1Wlxjyb/LCCLuU1UsucV2BbCxFAX8bjcSueFBbB5Qfj1Zfe8e7Fw==", - "requires": { - "tslib": "^2.1.0" - }, - "dependencies": { - "tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" - } - } - }, - "@wry/trie": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@wry/trie/-/trie-0.3.0.tgz", - "integrity": "sha512-Yw1akIogPhAT6XPYsRHlZZIS0tIGmAl9EYXHi2scf7LPKKqdqmow/Hu4kEqP2cJR3EjaU/9L0ZlAjFf3hFxmug==", - "requires": { - "tslib": "^2.1.0" - }, - "dependencies": { - "tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" - } - } - }, "@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", @@ -19630,7 +19497,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", - "devOptional": true + "dev": true }, "asynckit": { "version": "0.4.0", @@ -19844,7 +19711,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", - "devOptional": true + "dev": true }, "balanced-match": { "version": "1.0.0", @@ -21700,7 +21567,8 @@ "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true }, "fast-levenshtein": { "version": "2.0.6", @@ -21981,6 +21849,15 @@ "slash": "^3.0.0" } }, + "gqless": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/gqless/-/gqless-2.0.14.tgz", + "integrity": "sha512-CQWVWr82gzDoLkjsgxxcrH4vbMG8myW1c8CqpZi/+rGp50d1W5mzxm//ZFNtOeCXtzZ2mkdqsbYnyUStRo0/iw==", + "requires": { + "lodash": "^4.17.21", + "lodash-es": "^4.17.21" + } + }, "graceful-fs": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", @@ -22258,14 +22135,6 @@ } } }, - "hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "requires": { - "react-is": "^16.7.0" - } - }, "html-encoding-sniffer": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", @@ -23049,7 +22918,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/iterall/-/iterall-1.3.0.tgz", "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==", - "devOptional": true + "dev": true }, "jest": { "version": "26.6.3", @@ -24577,7 +24446,8 @@ "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "js-yaml": { "version": "3.14.1", @@ -24960,6 +24830,11 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, "lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -25084,6 +24959,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, "requires": { "js-tokens": "^3.0.0 || ^4.0.0" } @@ -25274,6 +25150,12 @@ "is-extendable": "^1.0.1" } }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true + }, "ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -25525,7 +25407,8 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true }, "object-copy": { "version": "0.1.0", @@ -25687,15 +25570,6 @@ } } }, - "optimism": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/optimism/-/optimism-0.16.1.tgz", - "integrity": "sha512-64i+Uw3otrndfq5kaoGNoY7pvOhSsjFEN4bdEFh80MWVk/dbgJfMv7VFDeCT8LxNAlEVhQmdVEbfE7X2nWNIIg==", - "requires": { - "@wry/context": "^0.6.0", - "@wry/trie": "^0.3.0" - } - }, "optionator": { "version": "0.9.1", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", @@ -26322,16 +26196,6 @@ "sisteransi": "^1.0.5" } }, - "prop-types": { - "version": "15.7.2", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", - "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - } - }, "psl": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", @@ -26396,11 +26260,6 @@ } } }, - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, "read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", @@ -27898,7 +27757,7 @@ "version": "0.9.18", "resolved": "https://registry.npmjs.org/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.18.tgz", "integrity": "sha512-tztzcBTNoEbuErsVQpTN2xUNN/efAZXyCyL5m3x4t6SKrEiTL2N8SaKWBFWM4u56pL79ULif3zjyeq+oV+nOaA==", - "devOptional": true, + "dev": true, "requires": { "backo2": "^1.0.2", "eventemitter3": "^3.1.0", @@ -27911,19 +27770,19 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz", "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==", - "devOptional": true + "dev": true }, "symbol-observable": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", - "devOptional": true + "dev": true }, "ws": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", - "devOptional": true, + "dev": true, "requires": { "async-limiter": "~1.0.0" } @@ -27983,11 +27842,6 @@ } } }, - "symbol-observable": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz", - "integrity": "sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA==" - }, "symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -28302,21 +28156,6 @@ "punycode": "^2.1.1" } }, - "ts-invariant": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.7.3.tgz", - "integrity": "sha512-UWDDeovyUTIMWj+45g5nhnl+8oo+GhxL5leTaHn5c8FkQWfh8v66gccLd2/YzVmV5hoQUjCEjhrXnQqVDJdvKA==", - "requires": { - "tslib": "^2.1.0" - }, - "dependencies": { - "tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" - } - } - }, "ts-jest": { "version": "26.5.6", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.5.6.tgz", @@ -28335,12 +28174,6 @@ "yargs-parser": "20.x" }, "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true - }, "yargs-parser": { "version": "20.2.7", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz", @@ -28464,7 +28297,8 @@ "tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true }, "tsutils": { "version": "3.21.0", @@ -29058,11 +28892,6 @@ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true - }, - "zen-observable": { - "version": "0.8.15", - "resolved": "https://registry.npmjs.org/zen-observable/-/zen-observable-0.8.15.tgz", - "integrity": "sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==" } } } diff --git a/packages/core/package.json b/packages/core/package.json index 13e1b3025..69c7e7e92 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -12,8 +12,8 @@ "lint:fix": "run-s clean && tsc --noEmit -p . && eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json --quiet --fix", "lint": "eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json", "prepublish": "run-s build", - "generate-docs": "typedoc", - "generate-graphql": "graphql-codegen", + "generate:docs": "typedoc", + "generate:gqless": "gqless generate", "test": "jest --passWithNoTests", "test:watch": "jest --watch", "ts": "tsc -p .", @@ -34,14 +34,15 @@ "author": "WP Engine", "license": "MIT", "dependencies": { - "@apollo/client": ">=3.3.19", "deepmerge": "^4.2.2", - "graphql": ">=15.5", + "gqless": "^2.0.14", + "graphql-tag": "^2.12.4", "isomorphic-fetch": "^3.0.0", "lodash": "^4.17.21", "universal-cookie": "^4.0.4" }, "devDependencies": { + "@gqless/cli": "^2.0.16", "@graphql-codegen/add": "^2.0.2", "@graphql-codegen/cli": "^1.21.4", "@graphql-codegen/typescript": "^1.22.0", @@ -62,6 +63,7 @@ "eslint-plugin-import": "^2.23.2", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-simple-import-sort": "^7.0.0", + "graphql": "^15.5.0", "jest": "^26.6.3", "npm-run-all": "^4.1.5", "prettier": "^2.3.0", diff --git a/packages/core/src/api/apolloClient.ts b/packages/core/src/api/apolloClient.ts deleted file mode 100644 index bb4b3b571..000000000 --- a/packages/core/src/api/apolloClient.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { ApolloClient, InMemoryCache } from '@apollo/client/core'; -import { BatchHttpLink } from '@apollo/client/link/batch-http'; -import { setContext } from '@apollo/client/link/context'; -import merge from 'deepmerge'; -import { getCookiesFromContext, isServerSide } from '../utils'; -import { CookieOptions, getAccessToken } from '../auth'; -import { headlessConfig } from '../config'; - -export interface WithApolloClient { - __apollo_client?: ApolloClient; -} - -export type PersistentContext = Record; - -/** - * Creates Apollo Client instance and points it to the WordPress API endpoint specified via environment variables. - */ -function createApolloClient(options?: CookieOptions): ApolloClient { - const { wpUrl } = headlessConfig(); - const authLink = setContext((_, { headers }) => { - const token = getAccessToken(options); - - if (!token) { - return {}; - } - - return { - headers: { - ...headers, - authorization: token ? `Bearer ${token}` : '', - }, - }; - }); - - return new ApolloClient({ - ssrMode: isServerSide(), - link: authLink.concat( - new BatchHttpLink({ - uri: `${wpUrl}/graphql`, - }), - ), - - cache: new InMemoryCache(), - }); -} - -/** - * Creates the Apollo Client instance if it doesn't already exist. This works on both the client side and server side. - * - * If client side, it will hydrate the cache using initial state passed through Next.js' Data Fetching functions. - * - * @example - * ```ts - * // Client-side - * // For client-side, it's recommended that you use useApollo() instead getApolloClient() directly. - * ``` - * - * @example - * ```ts - * // Server-side - * export async function getStaticProps() { - * const apolloClient = getApolloClient() - * - * await apolloClient.query({ - * query: ALL_POSTS_QUERY, - * variables: allPostsQueryVars, - * }) - * - * return addApolloState(apolloClient, { - * props: {}, - * revalidate: 1, - * }) - * } - * ``` - */ -export function getApolloClient( - context?: PersistentContext, - initialState: unknown = null, -): ApolloClient { - let localApolloClient: - | ApolloClient - // eslint-disable-next-line no-underscore-dangle - | undefined = (context as WithApolloClient)?.__apollo_client; - - if (!localApolloClient) { - localApolloClient = createApolloClient({ - cookies: getCookiesFromContext(context), - }); - } - - if (context) { - // eslint-disable-next-line no-underscore-dangle - (context as WithApolloClient).__apollo_client = localApolloClient; - } - - // If your page has Next.js data fetching methods that use Apollo Client, the initial state - // gets hydrated here - if (initialState) { - // Get existing cache, loaded during client side data fetching - const existingCache = localApolloClient.extract(); - - const overwriteMerge = ( - target: never, - source: unknown[], - // eslint-disable-next-line @typescript-eslint/no-unused-vars - options?: merge.Options, - ): unknown[] => source; - - // @see https://github.com/wpengine/headless-framework/pull/11#discussion_r533133428 - // Merge the existing cache into data passed from getStaticProps/getServerSideProps - const data = merge(initialState ?? ({} as any), existingCache, { - arrayMerge: overwriteMerge, - }); - - // Restore the cache with the merged data - localApolloClient.cache.restore(data); - } - // For SSG and SSR always create a new Apollo Client - if (isServerSide()) return localApolloClient; - // Create the Apollo Client once in the client - // if (!apolloClient) apolloClient = localApolloClient; - - return localApolloClient; -} diff --git a/packages/core/src/api/client/index.ts b/packages/core/src/api/client/index.ts new file mode 100644 index 000000000..250e53ea5 --- /dev/null +++ b/packages/core/src/api/client/index.ts @@ -0,0 +1,56 @@ +/** + * GQLESS: You can safely modify this file and Query Fetcher based on your needs + */ + +import { createClient, QueryFetcher } from 'gqless'; +import fetch from 'isomorphic-fetch'; +import isObject from 'lodash/isObject'; +import { headlessConfig } from '../../config'; +import { + generatedSchema, + scalarsEnumsHash, + GeneratedSchema, + SchemaObjectTypes, + SchemaObjectTypesNames, +} from './schema.generated'; + +export const queryFetcher: QueryFetcher = async function (query, variables) { + const { wpUrl } = headlessConfig(); + const response = await fetch(`${wpUrl}/graphql`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + body: JSON.stringify({ + query, + variables, + }), + mode: 'cors', + }); + + const json = await response.json(); + + return json; +}; + +const defaultClient = createClient< + GeneratedSchema, + SchemaObjectTypesNames, + SchemaObjectTypes +>({ + schema: generatedSchema, + scalarsEnumsHash, + queryFetcher, +}); + +export function client(): typeof defaultClient { + const { apiClient } = headlessConfig(); + + if (!isObject(apiClient)) { + return defaultClient; + } + + return apiClient as typeof defaultClient; +} + +export * from './schema.generated'; diff --git a/packages/core/src/api/client/schema.generated.ts b/packages/core/src/api/client/schema.generated.ts new file mode 100644 index 000000000..45866a76b --- /dev/null +++ b/packages/core/src/api/client/schema.generated.ts @@ -0,0 +1,18914 @@ +/** + * GQLESS AUTO-GENERATED CODE: PLEASE DO NOT MODIFY MANUALLY + */ + +import { SchemaUnionsKey } from 'gqless'; + +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 { + /** 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; +} + +/** 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/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 { + /** 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; +} + +/** 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; +} + +/** 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', +} + +/** 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 { + /** 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 { + /** 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 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 { + /** 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 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 { + /** 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 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 { + /** 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 { + /** Empty menu location */ + EMPTY = 'EMPTY', +} + +/** 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 { + /** 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; +} + +/** Available timezones */ +export enum TimezoneEnum { + /** Abidjan */ + AFRICA_ABIDJAN = 'AFRICA_ABIDJAN', + /** Accra */ + AFRICA_ACCRA = 'AFRICA_ACCRA', + /** Addis Ababa */ + AFRICA_ADDIS_ABABA = 'AFRICA_ADDIS_ABABA', + /** Algiers */ + AFRICA_ALGIERS = 'AFRICA_ALGIERS', + /** Asmara */ + AFRICA_ASMARA = 'AFRICA_ASMARA', + /** Bamako */ + AFRICA_BAMAKO = 'AFRICA_BAMAKO', + /** Bangui */ + AFRICA_BANGUI = 'AFRICA_BANGUI', + /** Banjul */ + AFRICA_BANJUL = 'AFRICA_BANJUL', + /** Bissau */ + AFRICA_BISSAU = 'AFRICA_BISSAU', + /** Blantyre */ + AFRICA_BLANTYRE = 'AFRICA_BLANTYRE', + /** Brazzaville */ + AFRICA_BRAZZAVILLE = 'AFRICA_BRAZZAVILLE', + /** Bujumbura */ + AFRICA_BUJUMBURA = 'AFRICA_BUJUMBURA', + /** Cairo */ + AFRICA_CAIRO = 'AFRICA_CAIRO', + /** Casablanca */ + AFRICA_CASABLANCA = 'AFRICA_CASABLANCA', + /** Ceuta */ + AFRICA_CEUTA = 'AFRICA_CEUTA', + /** Conakry */ + AFRICA_CONAKRY = 'AFRICA_CONAKRY', + /** Dakar */ + AFRICA_DAKAR = 'AFRICA_DAKAR', + /** Dar es Salaam */ + AFRICA_DAR_ES_SALAAM = 'AFRICA_DAR_ES_SALAAM', + /** Djibouti */ + AFRICA_DJIBOUTI = 'AFRICA_DJIBOUTI', + /** Douala */ + AFRICA_DOUALA = 'AFRICA_DOUALA', + /** El Aaiun */ + AFRICA_EL_AAIUN = 'AFRICA_EL_AAIUN', + /** Freetown */ + AFRICA_FREETOWN = 'AFRICA_FREETOWN', + /** Gaborone */ + AFRICA_GABORONE = 'AFRICA_GABORONE', + /** Harare */ + AFRICA_HARARE = 'AFRICA_HARARE', + /** Johannesburg */ + AFRICA_JOHANNESBURG = 'AFRICA_JOHANNESBURG', + /** Juba */ + AFRICA_JUBA = 'AFRICA_JUBA', + /** Kampala */ + AFRICA_KAMPALA = 'AFRICA_KAMPALA', + /** Khartoum */ + AFRICA_KHARTOUM = 'AFRICA_KHARTOUM', + /** Kigali */ + AFRICA_KIGALI = 'AFRICA_KIGALI', + /** Kinshasa */ + AFRICA_KINSHASA = 'AFRICA_KINSHASA', + /** Lagos */ + AFRICA_LAGOS = 'AFRICA_LAGOS', + /** Libreville */ + AFRICA_LIBREVILLE = 'AFRICA_LIBREVILLE', + /** Lome */ + AFRICA_LOME = 'AFRICA_LOME', + /** Luanda */ + AFRICA_LUANDA = 'AFRICA_LUANDA', + /** Lubumbashi */ + AFRICA_LUBUMBASHI = 'AFRICA_LUBUMBASHI', + /** Lusaka */ + AFRICA_LUSAKA = 'AFRICA_LUSAKA', + /** Malabo */ + AFRICA_MALABO = 'AFRICA_MALABO', + /** Maputo */ + AFRICA_MAPUTO = 'AFRICA_MAPUTO', + /** Maseru */ + AFRICA_MASERU = 'AFRICA_MASERU', + /** Mbabane */ + AFRICA_MBABANE = 'AFRICA_MBABANE', + /** Mogadishu */ + AFRICA_MOGADISHU = 'AFRICA_MOGADISHU', + /** Monrovia */ + AFRICA_MONROVIA = 'AFRICA_MONROVIA', + /** Nairobi */ + AFRICA_NAIROBI = 'AFRICA_NAIROBI', + /** Ndjamena */ + AFRICA_NDJAMENA = 'AFRICA_NDJAMENA', + /** Niamey */ + AFRICA_NIAMEY = 'AFRICA_NIAMEY', + /** Nouakchott */ + AFRICA_NOUAKCHOTT = 'AFRICA_NOUAKCHOTT', + /** Ouagadougou */ + AFRICA_OUAGADOUGOU = 'AFRICA_OUAGADOUGOU', + /** Porto-Novo */ + AFRICA_PORTO_NOVO = 'AFRICA_PORTO_NOVO', + /** Sao Tome */ + AFRICA_SAO_TOME = 'AFRICA_SAO_TOME', + /** Tripoli */ + AFRICA_TRIPOLI = 'AFRICA_TRIPOLI', + /** Tunis */ + AFRICA_TUNIS = 'AFRICA_TUNIS', + /** Windhoek */ + AFRICA_WINDHOEK = 'AFRICA_WINDHOEK', + /** Adak */ + AMERICA_ADAK = 'AMERICA_ADAK', + /** Anchorage */ + AMERICA_ANCHORAGE = 'AMERICA_ANCHORAGE', + /** Anguilla */ + AMERICA_ANGUILLA = 'AMERICA_ANGUILLA', + /** Antigua */ + AMERICA_ANTIGUA = 'AMERICA_ANTIGUA', + /** Araguaina */ + AMERICA_ARAGUAINA = 'AMERICA_ARAGUAINA', + /** Argentina - Buenos Aires */ + AMERICA_ARGENTINA_BUENOS_AIRES = 'AMERICA_ARGENTINA_BUENOS_AIRES', + /** Argentina - Catamarca */ + AMERICA_ARGENTINA_CATAMARCA = 'AMERICA_ARGENTINA_CATAMARCA', + /** Argentina - Cordoba */ + AMERICA_ARGENTINA_CORDOBA = 'AMERICA_ARGENTINA_CORDOBA', + /** Argentina - Jujuy */ + AMERICA_ARGENTINA_JUJUY = 'AMERICA_ARGENTINA_JUJUY', + /** Argentina - La Rioja */ + AMERICA_ARGENTINA_LA_RIOJA = 'AMERICA_ARGENTINA_LA_RIOJA', + /** Argentina - Mendoza */ + AMERICA_ARGENTINA_MENDOZA = 'AMERICA_ARGENTINA_MENDOZA', + /** Argentina - Rio Gallegos */ + AMERICA_ARGENTINA_RIO_GALLEGOS = 'AMERICA_ARGENTINA_RIO_GALLEGOS', + /** Argentina - Salta */ + AMERICA_ARGENTINA_SALTA = 'AMERICA_ARGENTINA_SALTA', + /** Argentina - San Juan */ + AMERICA_ARGENTINA_SAN_JUAN = 'AMERICA_ARGENTINA_SAN_JUAN', + /** Argentina - San Luis */ + AMERICA_ARGENTINA_SAN_LUIS = 'AMERICA_ARGENTINA_SAN_LUIS', + /** Argentina - Tucuman */ + AMERICA_ARGENTINA_TUCUMAN = 'AMERICA_ARGENTINA_TUCUMAN', + /** Argentina - Ushuaia */ + AMERICA_ARGENTINA_USHUAIA = 'AMERICA_ARGENTINA_USHUAIA', + /** Aruba */ + AMERICA_ARUBA = 'AMERICA_ARUBA', + /** Asuncion */ + AMERICA_ASUNCION = 'AMERICA_ASUNCION', + /** Atikokan */ + AMERICA_ATIKOKAN = 'AMERICA_ATIKOKAN', + /** Bahia */ + AMERICA_BAHIA = 'AMERICA_BAHIA', + /** Bahia Banderas */ + AMERICA_BAHIA_BANDERAS = 'AMERICA_BAHIA_BANDERAS', + /** Barbados */ + AMERICA_BARBADOS = 'AMERICA_BARBADOS', + /** Belem */ + AMERICA_BELEM = 'AMERICA_BELEM', + /** Belize */ + AMERICA_BELIZE = 'AMERICA_BELIZE', + /** Blanc-Sablon */ + AMERICA_BLANC_SABLON = 'AMERICA_BLANC_SABLON', + /** Boa Vista */ + AMERICA_BOA_VISTA = 'AMERICA_BOA_VISTA', + /** Bogota */ + AMERICA_BOGOTA = 'AMERICA_BOGOTA', + /** Boise */ + AMERICA_BOISE = 'AMERICA_BOISE', + /** Cambridge Bay */ + AMERICA_CAMBRIDGE_BAY = 'AMERICA_CAMBRIDGE_BAY', + /** Campo Grande */ + AMERICA_CAMPO_GRANDE = 'AMERICA_CAMPO_GRANDE', + /** Cancun */ + AMERICA_CANCUN = 'AMERICA_CANCUN', + /** Caracas */ + AMERICA_CARACAS = 'AMERICA_CARACAS', + /** Cayenne */ + AMERICA_CAYENNE = 'AMERICA_CAYENNE', + /** Cayman */ + AMERICA_CAYMAN = 'AMERICA_CAYMAN', + /** Chicago */ + AMERICA_CHICAGO = 'AMERICA_CHICAGO', + /** Chihuahua */ + AMERICA_CHIHUAHUA = 'AMERICA_CHIHUAHUA', + /** Costa Rica */ + AMERICA_COSTA_RICA = 'AMERICA_COSTA_RICA', + /** Creston */ + AMERICA_CRESTON = 'AMERICA_CRESTON', + /** Cuiaba */ + AMERICA_CUIABA = 'AMERICA_CUIABA', + /** Curacao */ + AMERICA_CURACAO = 'AMERICA_CURACAO', + /** Danmarkshavn */ + AMERICA_DANMARKSHAVN = 'AMERICA_DANMARKSHAVN', + /** Dawson */ + AMERICA_DAWSON = 'AMERICA_DAWSON', + /** Dawson Creek */ + AMERICA_DAWSON_CREEK = 'AMERICA_DAWSON_CREEK', + /** Denver */ + AMERICA_DENVER = 'AMERICA_DENVER', + /** Detroit */ + AMERICA_DETROIT = 'AMERICA_DETROIT', + /** Dominica */ + AMERICA_DOMINICA = 'AMERICA_DOMINICA', + /** Edmonton */ + AMERICA_EDMONTON = 'AMERICA_EDMONTON', + /** Eirunepe */ + AMERICA_EIRUNEPE = 'AMERICA_EIRUNEPE', + /** El Salvador */ + AMERICA_EL_SALVADOR = 'AMERICA_EL_SALVADOR', + /** Fortaleza */ + AMERICA_FORTALEZA = 'AMERICA_FORTALEZA', + /** Fort Nelson */ + AMERICA_FORT_NELSON = 'AMERICA_FORT_NELSON', + /** Glace Bay */ + AMERICA_GLACE_BAY = 'AMERICA_GLACE_BAY', + /** Godthab */ + AMERICA_GODTHAB = 'AMERICA_GODTHAB', + /** Goose Bay */ + AMERICA_GOOSE_BAY = 'AMERICA_GOOSE_BAY', + /** Grand Turk */ + AMERICA_GRAND_TURK = 'AMERICA_GRAND_TURK', + /** Grenada */ + AMERICA_GRENADA = 'AMERICA_GRENADA', + /** Guadeloupe */ + AMERICA_GUADELOUPE = 'AMERICA_GUADELOUPE', + /** Guatemala */ + AMERICA_GUATEMALA = 'AMERICA_GUATEMALA', + /** Guayaquil */ + AMERICA_GUAYAQUIL = 'AMERICA_GUAYAQUIL', + /** Guyana */ + AMERICA_GUYANA = 'AMERICA_GUYANA', + /** Halifax */ + AMERICA_HALIFAX = 'AMERICA_HALIFAX', + /** Havana */ + AMERICA_HAVANA = 'AMERICA_HAVANA', + /** Hermosillo */ + AMERICA_HERMOSILLO = 'AMERICA_HERMOSILLO', + /** Indiana - Indianapolis */ + AMERICA_INDIANA_INDIANAPOLIS = 'AMERICA_INDIANA_INDIANAPOLIS', + /** Indiana - Knox */ + AMERICA_INDIANA_KNOX = 'AMERICA_INDIANA_KNOX', + /** Indiana - Marengo */ + AMERICA_INDIANA_MARENGO = 'AMERICA_INDIANA_MARENGO', + /** Indiana - Petersburg */ + AMERICA_INDIANA_PETERSBURG = 'AMERICA_INDIANA_PETERSBURG', + /** Indiana - Tell City */ + AMERICA_INDIANA_TELL_CITY = 'AMERICA_INDIANA_TELL_CITY', + /** Indiana - Vevay */ + AMERICA_INDIANA_VEVAY = 'AMERICA_INDIANA_VEVAY', + /** Indiana - Vincennes */ + AMERICA_INDIANA_VINCENNES = 'AMERICA_INDIANA_VINCENNES', + /** Indiana - Winamac */ + AMERICA_INDIANA_WINAMAC = 'AMERICA_INDIANA_WINAMAC', + /** Inuvik */ + AMERICA_INUVIK = 'AMERICA_INUVIK', + /** Iqaluit */ + AMERICA_IQALUIT = 'AMERICA_IQALUIT', + /** Jamaica */ + AMERICA_JAMAICA = 'AMERICA_JAMAICA', + /** Juneau */ + AMERICA_JUNEAU = 'AMERICA_JUNEAU', + /** Kentucky - Louisville */ + AMERICA_KENTUCKY_LOUISVILLE = 'AMERICA_KENTUCKY_LOUISVILLE', + /** Kentucky - Monticello */ + AMERICA_KENTUCKY_MONTICELLO = 'AMERICA_KENTUCKY_MONTICELLO', + /** Kralendijk */ + AMERICA_KRALENDIJK = 'AMERICA_KRALENDIJK', + /** La Paz */ + AMERICA_LA_PAZ = 'AMERICA_LA_PAZ', + /** Lima */ + AMERICA_LIMA = 'AMERICA_LIMA', + /** Los Angeles */ + AMERICA_LOS_ANGELES = 'AMERICA_LOS_ANGELES', + /** Lower Princes */ + AMERICA_LOWER_PRINCES = 'AMERICA_LOWER_PRINCES', + /** Maceio */ + AMERICA_MACEIO = 'AMERICA_MACEIO', + /** Managua */ + AMERICA_MANAGUA = 'AMERICA_MANAGUA', + /** Manaus */ + AMERICA_MANAUS = 'AMERICA_MANAUS', + /** Marigot */ + AMERICA_MARIGOT = 'AMERICA_MARIGOT', + /** Martinique */ + AMERICA_MARTINIQUE = 'AMERICA_MARTINIQUE', + /** Matamoros */ + AMERICA_MATAMOROS = 'AMERICA_MATAMOROS', + /** Mazatlan */ + AMERICA_MAZATLAN = 'AMERICA_MAZATLAN', + /** Menominee */ + AMERICA_MENOMINEE = 'AMERICA_MENOMINEE', + /** Merida */ + AMERICA_MERIDA = 'AMERICA_MERIDA', + /** Metlakatla */ + AMERICA_METLAKATLA = 'AMERICA_METLAKATLA', + /** Mexico City */ + AMERICA_MEXICO_CITY = 'AMERICA_MEXICO_CITY', + /** Miquelon */ + AMERICA_MIQUELON = 'AMERICA_MIQUELON', + /** Moncton */ + AMERICA_MONCTON = 'AMERICA_MONCTON', + /** Monterrey */ + AMERICA_MONTERREY = 'AMERICA_MONTERREY', + /** Montevideo */ + AMERICA_MONTEVIDEO = 'AMERICA_MONTEVIDEO', + /** Montserrat */ + AMERICA_MONTSERRAT = 'AMERICA_MONTSERRAT', + /** Nassau */ + AMERICA_NASSAU = 'AMERICA_NASSAU', + /** New York */ + AMERICA_NEW_YORK = 'AMERICA_NEW_YORK', + /** Nipigon */ + AMERICA_NIPIGON = 'AMERICA_NIPIGON', + /** Nome */ + AMERICA_NOME = 'AMERICA_NOME', + /** Noronha */ + AMERICA_NORONHA = 'AMERICA_NORONHA', + /** North Dakota - Beulah */ + AMERICA_NORTH_DAKOTA_BEULAH = 'AMERICA_NORTH_DAKOTA_BEULAH', + /** North Dakota - Center */ + AMERICA_NORTH_DAKOTA_CENTER = 'AMERICA_NORTH_DAKOTA_CENTER', + /** North Dakota - New Salem */ + AMERICA_NORTH_DAKOTA_NEW_SALEM = 'AMERICA_NORTH_DAKOTA_NEW_SALEM', + /** Ojinaga */ + AMERICA_OJINAGA = 'AMERICA_OJINAGA', + /** Panama */ + AMERICA_PANAMA = 'AMERICA_PANAMA', + /** Pangnirtung */ + AMERICA_PANGNIRTUNG = 'AMERICA_PANGNIRTUNG', + /** Paramaribo */ + AMERICA_PARAMARIBO = 'AMERICA_PARAMARIBO', + /** Phoenix */ + AMERICA_PHOENIX = 'AMERICA_PHOENIX', + /** Porto Velho */ + AMERICA_PORTO_VELHO = 'AMERICA_PORTO_VELHO', + /** Port-au-Prince */ + AMERICA_PORT_AU_PRINCE = 'AMERICA_PORT_AU_PRINCE', + /** Port of Spain */ + AMERICA_PORT_OF_SPAIN = 'AMERICA_PORT_OF_SPAIN', + /** Puerto Rico */ + AMERICA_PUERTO_RICO = 'AMERICA_PUERTO_RICO', + /** Punta Arenas */ + AMERICA_PUNTA_ARENAS = 'AMERICA_PUNTA_ARENAS', + /** Rainy River */ + AMERICA_RAINY_RIVER = 'AMERICA_RAINY_RIVER', + /** Rankin Inlet */ + AMERICA_RANKIN_INLET = 'AMERICA_RANKIN_INLET', + /** Recife */ + AMERICA_RECIFE = 'AMERICA_RECIFE', + /** Regina */ + AMERICA_REGINA = 'AMERICA_REGINA', + /** Resolute */ + AMERICA_RESOLUTE = 'AMERICA_RESOLUTE', + /** Rio Branco */ + AMERICA_RIO_BRANCO = 'AMERICA_RIO_BRANCO', + /** Santarem */ + AMERICA_SANTAREM = 'AMERICA_SANTAREM', + /** Santiago */ + AMERICA_SANTIAGO = 'AMERICA_SANTIAGO', + /** Santo Domingo */ + AMERICA_SANTO_DOMINGO = 'AMERICA_SANTO_DOMINGO', + /** Sao Paulo */ + AMERICA_SAO_PAULO = 'AMERICA_SAO_PAULO', + /** Scoresbysund */ + AMERICA_SCORESBYSUND = 'AMERICA_SCORESBYSUND', + /** Sitka */ + AMERICA_SITKA = 'AMERICA_SITKA', + /** St Barthelemy */ + AMERICA_ST_BARTHELEMY = 'AMERICA_ST_BARTHELEMY', + /** St Johns */ + AMERICA_ST_JOHNS = 'AMERICA_ST_JOHNS', + /** St Kitts */ + AMERICA_ST_KITTS = 'AMERICA_ST_KITTS', + /** St Lucia */ + AMERICA_ST_LUCIA = 'AMERICA_ST_LUCIA', + /** St Thomas */ + AMERICA_ST_THOMAS = 'AMERICA_ST_THOMAS', + /** St Vincent */ + AMERICA_ST_VINCENT = 'AMERICA_ST_VINCENT', + /** Swift Current */ + AMERICA_SWIFT_CURRENT = 'AMERICA_SWIFT_CURRENT', + /** Tegucigalpa */ + AMERICA_TEGUCIGALPA = 'AMERICA_TEGUCIGALPA', + /** Thule */ + AMERICA_THULE = 'AMERICA_THULE', + /** Thunder Bay */ + AMERICA_THUNDER_BAY = 'AMERICA_THUNDER_BAY', + /** Tijuana */ + AMERICA_TIJUANA = 'AMERICA_TIJUANA', + /** Toronto */ + AMERICA_TORONTO = 'AMERICA_TORONTO', + /** Tortola */ + AMERICA_TORTOLA = 'AMERICA_TORTOLA', + /** Vancouver */ + AMERICA_VANCOUVER = 'AMERICA_VANCOUVER', + /** Whitehorse */ + AMERICA_WHITEHORSE = 'AMERICA_WHITEHORSE', + /** Winnipeg */ + AMERICA_WINNIPEG = 'AMERICA_WINNIPEG', + /** Yakutat */ + AMERICA_YAKUTAT = 'AMERICA_YAKUTAT', + /** Yellowknife */ + AMERICA_YELLOWKNIFE = 'AMERICA_YELLOWKNIFE', + /** Casey */ + ANTARCTICA_CASEY = 'ANTARCTICA_CASEY', + /** Davis */ + ANTARCTICA_DAVIS = 'ANTARCTICA_DAVIS', + /** DumontDUrville */ + ANTARCTICA_DUMONTDURVILLE = 'ANTARCTICA_DUMONTDURVILLE', + /** Macquarie */ + ANTARCTICA_MACQUARIE = 'ANTARCTICA_MACQUARIE', + /** Mawson */ + ANTARCTICA_MAWSON = 'ANTARCTICA_MAWSON', + /** McMurdo */ + ANTARCTICA_MCMURDO = 'ANTARCTICA_MCMURDO', + /** Palmer */ + ANTARCTICA_PALMER = 'ANTARCTICA_PALMER', + /** Rothera */ + ANTARCTICA_ROTHERA = 'ANTARCTICA_ROTHERA', + /** Syowa */ + ANTARCTICA_SYOWA = 'ANTARCTICA_SYOWA', + /** Troll */ + ANTARCTICA_TROLL = 'ANTARCTICA_TROLL', + /** Vostok */ + ANTARCTICA_VOSTOK = 'ANTARCTICA_VOSTOK', + /** Longyearbyen */ + ARCTIC_LONGYEARBYEN = 'ARCTIC_LONGYEARBYEN', + /** Aden */ + ASIA_ADEN = 'ASIA_ADEN', + /** Almaty */ + ASIA_ALMATY = 'ASIA_ALMATY', + /** Amman */ + ASIA_AMMAN = 'ASIA_AMMAN', + /** Anadyr */ + ASIA_ANADYR = 'ASIA_ANADYR', + /** Aqtau */ + ASIA_AQTAU = 'ASIA_AQTAU', + /** Aqtobe */ + ASIA_AQTOBE = 'ASIA_AQTOBE', + /** Ashgabat */ + ASIA_ASHGABAT = 'ASIA_ASHGABAT', + /** Atyrau */ + ASIA_ATYRAU = 'ASIA_ATYRAU', + /** Baghdad */ + ASIA_BAGHDAD = 'ASIA_BAGHDAD', + /** Bahrain */ + ASIA_BAHRAIN = 'ASIA_BAHRAIN', + /** Baku */ + ASIA_BAKU = 'ASIA_BAKU', + /** Bangkok */ + ASIA_BANGKOK = 'ASIA_BANGKOK', + /** Barnaul */ + ASIA_BARNAUL = 'ASIA_BARNAUL', + /** Beirut */ + ASIA_BEIRUT = 'ASIA_BEIRUT', + /** Bishkek */ + ASIA_BISHKEK = 'ASIA_BISHKEK', + /** Brunei */ + ASIA_BRUNEI = 'ASIA_BRUNEI', + /** Chita */ + ASIA_CHITA = 'ASIA_CHITA', + /** Choibalsan */ + ASIA_CHOIBALSAN = 'ASIA_CHOIBALSAN', + /** Colombo */ + ASIA_COLOMBO = 'ASIA_COLOMBO', + /** Damascus */ + ASIA_DAMASCUS = 'ASIA_DAMASCUS', + /** Dhaka */ + ASIA_DHAKA = 'ASIA_DHAKA', + /** Dili */ + ASIA_DILI = 'ASIA_DILI', + /** Dubai */ + ASIA_DUBAI = 'ASIA_DUBAI', + /** Dushanbe */ + ASIA_DUSHANBE = 'ASIA_DUSHANBE', + /** Famagusta */ + ASIA_FAMAGUSTA = 'ASIA_FAMAGUSTA', + /** Gaza */ + ASIA_GAZA = 'ASIA_GAZA', + /** Hebron */ + ASIA_HEBRON = 'ASIA_HEBRON', + /** Hong Kong */ + ASIA_HONG_KONG = 'ASIA_HONG_KONG', + /** Hovd */ + ASIA_HOVD = 'ASIA_HOVD', + /** Ho Chi Minh */ + ASIA_HO_CHI_MINH = 'ASIA_HO_CHI_MINH', + /** Irkutsk */ + ASIA_IRKUTSK = 'ASIA_IRKUTSK', + /** Jakarta */ + ASIA_JAKARTA = 'ASIA_JAKARTA', + /** Jayapura */ + ASIA_JAYAPURA = 'ASIA_JAYAPURA', + /** Jerusalem */ + ASIA_JERUSALEM = 'ASIA_JERUSALEM', + /** Kabul */ + ASIA_KABUL = 'ASIA_KABUL', + /** Kamchatka */ + ASIA_KAMCHATKA = 'ASIA_KAMCHATKA', + /** Karachi */ + ASIA_KARACHI = 'ASIA_KARACHI', + /** Kathmandu */ + ASIA_KATHMANDU = 'ASIA_KATHMANDU', + /** Khandyga */ + ASIA_KHANDYGA = 'ASIA_KHANDYGA', + /** Kolkata */ + ASIA_KOLKATA = 'ASIA_KOLKATA', + /** Krasnoyarsk */ + ASIA_KRASNOYARSK = 'ASIA_KRASNOYARSK', + /** Kuala Lumpur */ + ASIA_KUALA_LUMPUR = 'ASIA_KUALA_LUMPUR', + /** Kuching */ + ASIA_KUCHING = 'ASIA_KUCHING', + /** Kuwait */ + ASIA_KUWAIT = 'ASIA_KUWAIT', + /** Macau */ + ASIA_MACAU = 'ASIA_MACAU', + /** Magadan */ + ASIA_MAGADAN = 'ASIA_MAGADAN', + /** Makassar */ + ASIA_MAKASSAR = 'ASIA_MAKASSAR', + /** Manila */ + ASIA_MANILA = 'ASIA_MANILA', + /** Muscat */ + ASIA_MUSCAT = 'ASIA_MUSCAT', + /** Nicosia */ + ASIA_NICOSIA = 'ASIA_NICOSIA', + /** Novokuznetsk */ + ASIA_NOVOKUZNETSK = 'ASIA_NOVOKUZNETSK', + /** Novosibirsk */ + ASIA_NOVOSIBIRSK = 'ASIA_NOVOSIBIRSK', + /** Omsk */ + ASIA_OMSK = 'ASIA_OMSK', + /** Oral */ + ASIA_ORAL = 'ASIA_ORAL', + /** Phnom Penh */ + ASIA_PHNOM_PENH = 'ASIA_PHNOM_PENH', + /** Pontianak */ + ASIA_PONTIANAK = 'ASIA_PONTIANAK', + /** Pyongyang */ + ASIA_PYONGYANG = 'ASIA_PYONGYANG', + /** Qatar */ + ASIA_QATAR = 'ASIA_QATAR', + /** Qostanay */ + ASIA_QOSTANAY = 'ASIA_QOSTANAY', + /** Qyzylorda */ + ASIA_QYZYLORDA = 'ASIA_QYZYLORDA', + /** Riyadh */ + ASIA_RIYADH = 'ASIA_RIYADH', + /** Sakhalin */ + ASIA_SAKHALIN = 'ASIA_SAKHALIN', + /** Samarkand */ + ASIA_SAMARKAND = 'ASIA_SAMARKAND', + /** Seoul */ + ASIA_SEOUL = 'ASIA_SEOUL', + /** Shanghai */ + ASIA_SHANGHAI = 'ASIA_SHANGHAI', + /** Singapore */ + ASIA_SINGAPORE = 'ASIA_SINGAPORE', + /** Srednekolymsk */ + ASIA_SREDNEKOLYMSK = 'ASIA_SREDNEKOLYMSK', + /** Taipei */ + ASIA_TAIPEI = 'ASIA_TAIPEI', + /** Tashkent */ + ASIA_TASHKENT = 'ASIA_TASHKENT', + /** Tbilisi */ + ASIA_TBILISI = 'ASIA_TBILISI', + /** Tehran */ + ASIA_TEHRAN = 'ASIA_TEHRAN', + /** Thimphu */ + ASIA_THIMPHU = 'ASIA_THIMPHU', + /** Tokyo */ + ASIA_TOKYO = 'ASIA_TOKYO', + /** Tomsk */ + ASIA_TOMSK = 'ASIA_TOMSK', + /** Ulaanbaatar */ + ASIA_ULAANBAATAR = 'ASIA_ULAANBAATAR', + /** Urumqi */ + ASIA_URUMQI = 'ASIA_URUMQI', + /** Ust-Nera */ + ASIA_UST_NERA = 'ASIA_UST_NERA', + /** Vientiane */ + ASIA_VIENTIANE = 'ASIA_VIENTIANE', + /** Vladivostok */ + ASIA_VLADIVOSTOK = 'ASIA_VLADIVOSTOK', + /** Yakutsk */ + ASIA_YAKUTSK = 'ASIA_YAKUTSK', + /** Yangon */ + ASIA_YANGON = 'ASIA_YANGON', + /** Yekaterinburg */ + ASIA_YEKATERINBURG = 'ASIA_YEKATERINBURG', + /** Yerevan */ + ASIA_YEREVAN = 'ASIA_YEREVAN', + /** Azores */ + ATLANTIC_AZORES = 'ATLANTIC_AZORES', + /** Bermuda */ + ATLANTIC_BERMUDA = 'ATLANTIC_BERMUDA', + /** Canary */ + ATLANTIC_CANARY = 'ATLANTIC_CANARY', + /** Cape Verde */ + ATLANTIC_CAPE_VERDE = 'ATLANTIC_CAPE_VERDE', + /** Faroe */ + ATLANTIC_FAROE = 'ATLANTIC_FAROE', + /** Madeira */ + ATLANTIC_MADEIRA = 'ATLANTIC_MADEIRA', + /** Reykjavik */ + ATLANTIC_REYKJAVIK = 'ATLANTIC_REYKJAVIK', + /** South Georgia */ + ATLANTIC_SOUTH_GEORGIA = 'ATLANTIC_SOUTH_GEORGIA', + /** Stanley */ + ATLANTIC_STANLEY = 'ATLANTIC_STANLEY', + /** St Helena */ + ATLANTIC_ST_HELENA = 'ATLANTIC_ST_HELENA', + /** Adelaide */ + AUSTRALIA_ADELAIDE = 'AUSTRALIA_ADELAIDE', + /** Brisbane */ + AUSTRALIA_BRISBANE = 'AUSTRALIA_BRISBANE', + /** Broken Hill */ + AUSTRALIA_BROKEN_HILL = 'AUSTRALIA_BROKEN_HILL', + /** Currie */ + AUSTRALIA_CURRIE = 'AUSTRALIA_CURRIE', + /** Darwin */ + AUSTRALIA_DARWIN = 'AUSTRALIA_DARWIN', + /** Eucla */ + AUSTRALIA_EUCLA = 'AUSTRALIA_EUCLA', + /** Hobart */ + AUSTRALIA_HOBART = 'AUSTRALIA_HOBART', + /** Lindeman */ + AUSTRALIA_LINDEMAN = 'AUSTRALIA_LINDEMAN', + /** Lord Howe */ + AUSTRALIA_LORD_HOWE = 'AUSTRALIA_LORD_HOWE', + /** Melbourne */ + AUSTRALIA_MELBOURNE = 'AUSTRALIA_MELBOURNE', + /** Perth */ + AUSTRALIA_PERTH = 'AUSTRALIA_PERTH', + /** Sydney */ + AUSTRALIA_SYDNEY = 'AUSTRALIA_SYDNEY', + /** Amsterdam */ + EUROPE_AMSTERDAM = 'EUROPE_AMSTERDAM', + /** Andorra */ + EUROPE_ANDORRA = 'EUROPE_ANDORRA', + /** Astrakhan */ + EUROPE_ASTRAKHAN = 'EUROPE_ASTRAKHAN', + /** Athens */ + EUROPE_ATHENS = 'EUROPE_ATHENS', + /** Belgrade */ + EUROPE_BELGRADE = 'EUROPE_BELGRADE', + /** Berlin */ + EUROPE_BERLIN = 'EUROPE_BERLIN', + /** Bratislava */ + EUROPE_BRATISLAVA = 'EUROPE_BRATISLAVA', + /** Brussels */ + EUROPE_BRUSSELS = 'EUROPE_BRUSSELS', + /** Bucharest */ + EUROPE_BUCHAREST = 'EUROPE_BUCHAREST', + /** Budapest */ + EUROPE_BUDAPEST = 'EUROPE_BUDAPEST', + /** Busingen */ + EUROPE_BUSINGEN = 'EUROPE_BUSINGEN', + /** Chisinau */ + EUROPE_CHISINAU = 'EUROPE_CHISINAU', + /** Copenhagen */ + EUROPE_COPENHAGEN = 'EUROPE_COPENHAGEN', + /** Dublin */ + EUROPE_DUBLIN = 'EUROPE_DUBLIN', + /** Gibraltar */ + EUROPE_GIBRALTAR = 'EUROPE_GIBRALTAR', + /** Guernsey */ + EUROPE_GUERNSEY = 'EUROPE_GUERNSEY', + /** Helsinki */ + EUROPE_HELSINKI = 'EUROPE_HELSINKI', + /** Isle of Man */ + EUROPE_ISLE_OF_MAN = 'EUROPE_ISLE_OF_MAN', + /** Istanbul */ + EUROPE_ISTANBUL = 'EUROPE_ISTANBUL', + /** Jersey */ + EUROPE_JERSEY = 'EUROPE_JERSEY', + /** Kaliningrad */ + EUROPE_KALININGRAD = 'EUROPE_KALININGRAD', + /** Kiev */ + EUROPE_KIEV = 'EUROPE_KIEV', + /** Kirov */ + EUROPE_KIROV = 'EUROPE_KIROV', + /** Lisbon */ + EUROPE_LISBON = 'EUROPE_LISBON', + /** Ljubljana */ + EUROPE_LJUBLJANA = 'EUROPE_LJUBLJANA', + /** London */ + EUROPE_LONDON = 'EUROPE_LONDON', + /** Luxembourg */ + EUROPE_LUXEMBOURG = 'EUROPE_LUXEMBOURG', + /** Madrid */ + EUROPE_MADRID = 'EUROPE_MADRID', + /** Malta */ + EUROPE_MALTA = 'EUROPE_MALTA', + /** Mariehamn */ + EUROPE_MARIEHAMN = 'EUROPE_MARIEHAMN', + /** Minsk */ + EUROPE_MINSK = 'EUROPE_MINSK', + /** Monaco */ + EUROPE_MONACO = 'EUROPE_MONACO', + /** Moscow */ + EUROPE_MOSCOW = 'EUROPE_MOSCOW', + /** Oslo */ + EUROPE_OSLO = 'EUROPE_OSLO', + /** Paris */ + EUROPE_PARIS = 'EUROPE_PARIS', + /** Podgorica */ + EUROPE_PODGORICA = 'EUROPE_PODGORICA', + /** Prague */ + EUROPE_PRAGUE = 'EUROPE_PRAGUE', + /** Riga */ + EUROPE_RIGA = 'EUROPE_RIGA', + /** Rome */ + EUROPE_ROME = 'EUROPE_ROME', + /** Samara */ + EUROPE_SAMARA = 'EUROPE_SAMARA', + /** San Marino */ + EUROPE_SAN_MARINO = 'EUROPE_SAN_MARINO', + /** Sarajevo */ + EUROPE_SARAJEVO = 'EUROPE_SARAJEVO', + /** Saratov */ + EUROPE_SARATOV = 'EUROPE_SARATOV', + /** Simferopol */ + EUROPE_SIMFEROPOL = 'EUROPE_SIMFEROPOL', + /** Skopje */ + EUROPE_SKOPJE = 'EUROPE_SKOPJE', + /** Sofia */ + EUROPE_SOFIA = 'EUROPE_SOFIA', + /** Stockholm */ + EUROPE_STOCKHOLM = 'EUROPE_STOCKHOLM', + /** Tallinn */ + EUROPE_TALLINN = 'EUROPE_TALLINN', + /** Tirane */ + EUROPE_TIRANE = 'EUROPE_TIRANE', + /** Ulyanovsk */ + EUROPE_ULYANOVSK = 'EUROPE_ULYANOVSK', + /** Uzhgorod */ + EUROPE_UZHGOROD = 'EUROPE_UZHGOROD', + /** Vaduz */ + EUROPE_VADUZ = 'EUROPE_VADUZ', + /** Vatican */ + EUROPE_VATICAN = 'EUROPE_VATICAN', + /** Vienna */ + EUROPE_VIENNA = 'EUROPE_VIENNA', + /** Vilnius */ + EUROPE_VILNIUS = 'EUROPE_VILNIUS', + /** Volgograd */ + EUROPE_VOLGOGRAD = 'EUROPE_VOLGOGRAD', + /** Warsaw */ + EUROPE_WARSAW = 'EUROPE_WARSAW', + /** Zagreb */ + EUROPE_ZAGREB = 'EUROPE_ZAGREB', + /** Zaporozhye */ + EUROPE_ZAPOROZHYE = 'EUROPE_ZAPOROZHYE', + /** Zurich */ + EUROPE_ZURICH = 'EUROPE_ZURICH', + /** Antananarivo */ + INDIAN_ANTANANARIVO = 'INDIAN_ANTANANARIVO', + /** Chagos */ + INDIAN_CHAGOS = 'INDIAN_CHAGOS', + /** Christmas */ + INDIAN_CHRISTMAS = 'INDIAN_CHRISTMAS', + /** Cocos */ + INDIAN_COCOS = 'INDIAN_COCOS', + /** Comoro */ + INDIAN_COMORO = 'INDIAN_COMORO', + /** Kerguelen */ + INDIAN_KERGUELEN = 'INDIAN_KERGUELEN', + /** Mahe */ + INDIAN_MAHE = 'INDIAN_MAHE', + /** Maldives */ + INDIAN_MALDIVES = 'INDIAN_MALDIVES', + /** Mauritius */ + INDIAN_MAURITIUS = 'INDIAN_MAURITIUS', + /** Mayotte */ + INDIAN_MAYOTTE = 'INDIAN_MAYOTTE', + /** Reunion */ + INDIAN_REUNION = 'INDIAN_REUNION', + /** Apia */ + PACIFIC_APIA = 'PACIFIC_APIA', + /** Auckland */ + PACIFIC_AUCKLAND = 'PACIFIC_AUCKLAND', + /** Bougainville */ + PACIFIC_BOUGAINVILLE = 'PACIFIC_BOUGAINVILLE', + /** Chatham */ + PACIFIC_CHATHAM = 'PACIFIC_CHATHAM', + /** Chuuk */ + PACIFIC_CHUUK = 'PACIFIC_CHUUK', + /** Easter */ + PACIFIC_EASTER = 'PACIFIC_EASTER', + /** Efate */ + PACIFIC_EFATE = 'PACIFIC_EFATE', + /** Enderbury */ + PACIFIC_ENDERBURY = 'PACIFIC_ENDERBURY', + /** Fakaofo */ + PACIFIC_FAKAOFO = 'PACIFIC_FAKAOFO', + /** Fiji */ + PACIFIC_FIJI = 'PACIFIC_FIJI', + /** Funafuti */ + PACIFIC_FUNAFUTI = 'PACIFIC_FUNAFUTI', + /** Galapagos */ + PACIFIC_GALAPAGOS = 'PACIFIC_GALAPAGOS', + /** Gambier */ + PACIFIC_GAMBIER = 'PACIFIC_GAMBIER', + /** Guadalcanal */ + PACIFIC_GUADALCANAL = 'PACIFIC_GUADALCANAL', + /** Guam */ + PACIFIC_GUAM = 'PACIFIC_GUAM', + /** Honolulu */ + PACIFIC_HONOLULU = 'PACIFIC_HONOLULU', + /** Kiritimati */ + PACIFIC_KIRITIMATI = 'PACIFIC_KIRITIMATI', + /** Kosrae */ + PACIFIC_KOSRAE = 'PACIFIC_KOSRAE', + /** Kwajalein */ + PACIFIC_KWAJALEIN = 'PACIFIC_KWAJALEIN', + /** Majuro */ + PACIFIC_MAJURO = 'PACIFIC_MAJURO', + /** Marquesas */ + PACIFIC_MARQUESAS = 'PACIFIC_MARQUESAS', + /** Midway */ + PACIFIC_MIDWAY = 'PACIFIC_MIDWAY', + /** Nauru */ + PACIFIC_NAURU = 'PACIFIC_NAURU', + /** Niue */ + PACIFIC_NIUE = 'PACIFIC_NIUE', + /** Norfolk */ + PACIFIC_NORFOLK = 'PACIFIC_NORFOLK', + /** Noumea */ + PACIFIC_NOUMEA = 'PACIFIC_NOUMEA', + /** Pago Pago */ + PACIFIC_PAGO_PAGO = 'PACIFIC_PAGO_PAGO', + /** Palau */ + PACIFIC_PALAU = 'PACIFIC_PALAU', + /** Pitcairn */ + PACIFIC_PITCAIRN = 'PACIFIC_PITCAIRN', + /** Pohnpei */ + PACIFIC_POHNPEI = 'PACIFIC_POHNPEI', + /** Port Moresby */ + PACIFIC_PORT_MORESBY = 'PACIFIC_PORT_MORESBY', + /** Rarotonga */ + PACIFIC_RAROTONGA = 'PACIFIC_RAROTONGA', + /** Saipan */ + PACIFIC_SAIPAN = 'PACIFIC_SAIPAN', + /** Tahiti */ + PACIFIC_TAHITI = 'PACIFIC_TAHITI', + /** Tarawa */ + PACIFIC_TARAWA = 'PACIFIC_TARAWA', + /** Tongatapu */ + PACIFIC_TONGATAPU = 'PACIFIC_TONGATAPU', + /** Wake */ + PACIFIC_WAKE = 'PACIFIC_WAKE', + /** Wallis */ + PACIFIC_WALLIS = 'PACIFIC_WALLIS', + /** UTC offset: UTC+0 */ + UTC_0 = 'UTC_0', + /** UTC offset: UTC+0:30 */ + UTC_0_30 = 'UTC_0_30', + /** UTC offset: UTC+1 */ + UTC_1 = 'UTC_1', + /** UTC offset: UTC+10 */ + UTC_10 = 'UTC_10', + /** UTC offset: UTC+10:30 */ + UTC_10_30 = 'UTC_10_30', + /** UTC offset: UTC+11 */ + UTC_11 = 'UTC_11', + /** UTC offset: UTC+11:30 */ + UTC_11_30 = 'UTC_11_30', + /** UTC offset: UTC+12 */ + UTC_12 = 'UTC_12', + /** UTC offset: UTC+12:45 */ + UTC_12_45 = 'UTC_12_45', + /** UTC offset: UTC+13 */ + UTC_13 = 'UTC_13', + /** UTC offset: UTC+13:45 */ + UTC_13_45 = 'UTC_13_45', + /** UTC offset: UTC+14 */ + UTC_14 = 'UTC_14', + /** UTC offset: UTC+1:30 */ + UTC_1_30 = 'UTC_1_30', + /** UTC offset: UTC+2 */ + UTC_2 = 'UTC_2', + /** UTC offset: UTC+2:30 */ + UTC_2_30 = 'UTC_2_30', + /** UTC offset: UTC+3 */ + UTC_3 = 'UTC_3', + /** UTC offset: UTC+3:30 */ + UTC_3_30 = 'UTC_3_30', + /** UTC offset: UTC+4 */ + UTC_4 = 'UTC_4', + /** UTC offset: UTC+4:30 */ + UTC_4_30 = 'UTC_4_30', + /** UTC offset: UTC+5 */ + UTC_5 = 'UTC_5', + /** UTC offset: UTC+5:30 */ + UTC_5_30 = 'UTC_5_30', + /** UTC offset: UTC+5:45 */ + UTC_5_45 = 'UTC_5_45', + /** UTC offset: UTC+6 */ + UTC_6 = 'UTC_6', + /** UTC offset: UTC+6:30 */ + UTC_6_30 = 'UTC_6_30', + /** UTC offset: UTC+7 */ + UTC_7 = 'UTC_7', + /** UTC offset: UTC+7:30 */ + UTC_7_30 = 'UTC_7_30', + /** UTC offset: UTC+8 */ + UTC_8 = 'UTC_8', + /** UTC offset: UTC+8:30 */ + UTC_8_30 = 'UTC_8_30', + /** UTC offset: UTC+8:45 */ + UTC_8_45 = 'UTC_8_45', + /** UTC offset: UTC+9 */ + UTC_9 = 'UTC_9', + /** UTC offset: UTC+9:30 */ + UTC_9_30 = 'UTC_9_30', +} + +/** Options for filtering the connection */ +export interface MenuItemsWhereArgs { + /** The ID of the object */ + id?: Maybe; + /** The menu location for the menu being queried */ + location?: Maybe; +} + +export const scalarsEnumsHash: import('gqless').ScalarsEnumsHash = { + String: true, + Int: true, + Boolean: true, + ID: true, + OrderEnum: true, + TermObjectsConnectionOrderbyEnum: true, + PostObjectsConnectionDateColumnEnum: true, + RelationEnum: true, + MimeTypeEnum: true, + PostObjectsConnectionOrderbyEnum: true, + PostStatusEnum: true, + AvatarRatingEnum: true, + ContentTypeEnum: true, + CommentsConnectionOrderbyEnum: true, + PostObjectFieldFormatEnum: true, + MediaItemSizeEnum: true, + Float: 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, + TimezoneEnum: 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!' }, + isRestricted: { __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!' }, + isRestricted: { __type: 'Boolean' }, + link: { __type: 'String' }, + name: { __type: 'String' }, + slug: { __type: 'String' }, + termGroupId: { __type: 'Int' }, + termTaxonomyId: { __type: 'Int' }, + 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!' }, + }, + UniformResourceIdentifiable: { + __typename: { __type: 'String!' }, + id: { __type: 'ID!' }, + uri: { __type: 'String' }, + }, + 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: { + 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!' }, + isPreview: { __type: 'Boolean' }, + isRestricted: { __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!' }, + isFrontPage: { __type: 'Boolean!' }, + isPostsPage: { __type: 'Boolean!' }, + isRestricted: { __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: { + 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!' }, + isRestricted: { __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!' }, + isPreview: { __type: 'Boolean' }, + isRestricted: { __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: { + 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: { + 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!' }, + isFrontPage: { __type: 'Boolean!' }, + isPostsPage: { __type: 'Boolean!' }, + isPreview: { __type: 'Boolean' }, + isPrivacyPage: { __type: 'Boolean!' }, + isRestricted: { __type: 'Boolean' }, + isRevision: { __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!' }, + featuredImage: { __type: 'NodeWithFeaturedImageToMediaItemConnectionEdge' }, + featuredImageDatabaseId: { __type: 'Int' }, + featuredImageId: { __type: 'ID' }, + }, + 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!' }, + isPreview: { __type: 'Boolean' }, + isRestricted: { __type: 'Boolean' }, + isRevision: { __type: 'Boolean' }, + isSticky: { __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!' }, + isRestricted: { __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: { + 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!' }, + isRestricted: { __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: { + 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: { + 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: { + 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' }, + }, + MenuItemsWhereArgs: { + id: { __type: 'Int' }, + location: { __type: 'MenuLocationEnum' }, + }, + DefaultTemplate: { + __typename: { __type: 'String!' }, + templateName: { __type: 'String' }, + }, + [SchemaUnionsKey]: { + ContentRevisionUnion: ['Post', 'Page'], + MenuItemObjectUnion: ['Post', 'Page', 'Category', 'Tag'], + PostObjectUnion: ['Post', 'Page', 'MediaItem'], + TermObjectUnion: ['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; + /** + * 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 globally unique ID for the object + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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: ScalarsEnums['String']; +} + +/** + * 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; + /** + * Unique identifier for the term + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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: ScalarsEnums['String']; +} + +/** + * 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 globally unique ID for the object + */ + 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 globally unique ID for the object + */ + 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']; +} + +/** + * Any node that has a URI + */ +export interface UniformResourceIdentifiable { + __typename: 'UniformResourceIdentifiable' | undefined; + /** + * The unique resource identifier path + */ + id: ScalarsEnums['ID']; + /** + * The unique resource identifier path + */ + uri?: Maybe; +} + +/** + * 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: ScalarsEnums['String']; +} + +/** + * 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 globally unique identifier of the node. + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is a node in the preview state + */ + isPreview?: Maybe; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; +} + +/** + * Connection between the ContentNode type and the ContentType type + */ +export interface ContentNodeToContentTypeConnectionEdge { + __typename: 'ContentNodeToContentTypeConnectionEdge' | undefined; + /** + * The nodes 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 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; + /** + * 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 nodes 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 object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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 nodes of the connection, without the edges + */ + node?: Maybe; +} + +/** + * Connection between the Comment type and the ContentNode type + */ +export interface CommentToContentNodeConnectionEdge { + __typename: 'CommentToContentNodeConnectionEdge' | undefined; + /** + * The nodes of the connection, without the edges + */ + node?: Maybe; +} + +/** + * Connection between the Comment type and the Comment type + */ +export interface CommentToParentCommentConnectionEdge { + __typename: 'CommentToParentCommentConnectionEdge' | undefined; + /** + * The nodes 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 ID of the node 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 object is a node in the preview state + */ + isPreview?: Maybe; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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 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; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; +} + +/** + * 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 nodes 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 nodes 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 nodes 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 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; + /** + * 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 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; + /** + * 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; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; +} + +/** + * 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 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; +} + +/** + * Connection between the NodeWithFeaturedImage type and the MediaItem type + */ +export interface NodeWithFeaturedImageToMediaItemConnectionEdge { + __typename: 'NodeWithFeaturedImageToMediaItemConnectionEdge' | undefined; + /** + * The nodes 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 nodes 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 nodes 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 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 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 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']; + /** + * 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>>; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; +} + +/** + * 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 { + __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; + /** + * 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 globally unique ID for the object + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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: ScalarsEnums['String']; +} + +/** + * 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 nodes of the connection, without the edges + */ + node?: Maybe; +} + +/** + * Connection between the post type and the post type + */ +export interface PostToPreviewConnectionEdge { + __typename: 'PostToPreviewConnectionEdge' | undefined; + /** + * The nodes 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; + /** + * 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 globally unique ID for the object + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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: ScalarsEnums['String']; +} + +/** + * 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 nodes 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 nodes 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 nodes 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: ScalarsEnums['String']; + /** + * 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 nodes of the connection, without the edges + */ + node?: Maybe; +} + +/** + * Connection between the MenuItem type and the Menu type + */ +export interface MenuItemToMenuConnectionEdge { + __typename: 'MenuItemToMenuConnectionEdge' | undefined; + /** + * The nodes 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; + TermNodeToEnqueuedScriptConnection: TermNodeToEnqueuedScriptConnection; + TermNodeToEnqueuedScriptConnectionEdge: TermNodeToEnqueuedScriptConnectionEdge; + EnqueuedScript: EnqueuedScript; + EnqueuedAsset: EnqueuedAsset; + WPPageInfo: WPPageInfo; + TermNodeToEnqueuedStylesheetConnection: TermNodeToEnqueuedStylesheetConnection; + TermNodeToEnqueuedStylesheetConnectionEdge: TermNodeToEnqueuedStylesheetConnectionEdge; + EnqueuedStylesheet: EnqueuedStylesheet; + DatabaseIdentifier: DatabaseIdentifier; + UniformResourceIdentifiable: UniformResourceIdentifiable; + 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' + | 'TermNodeToEnqueuedScriptConnection' + | 'TermNodeToEnqueuedScriptConnectionEdge' + | 'EnqueuedScript' + | 'EnqueuedAsset' + | 'WPPageInfo' + | 'TermNodeToEnqueuedStylesheetConnection' + | 'TermNodeToEnqueuedStylesheetConnectionEdge' + | 'EnqueuedStylesheet' + | 'DatabaseIdentifier' + | 'UniformResourceIdentifiable' + | '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 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 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']; + 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']; + /** + * 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>>; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; + } + | { + __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 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; + 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 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; + /** + * 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; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; + }; +/** + * 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 ID of the node in the database. + */ + 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']; + 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']; + /** + * 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>>; + /** + * 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>>; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; + } + | { + __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 ID of the node in the database. + */ + 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 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; + /** + * 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; + 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; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; + } + | { + __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; + /** + * Identifies the primary key from the database. + */ + 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 globally unique ID for the object + */ + id: ScalarsEnums['ID']; + isFrontPage?: undefined; + isPostsPage?: undefined; + isPreview?: undefined; + isPrivacyPage?: undefined; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + isRevision?: undefined; + isSticky?: undefined; + 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; + 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: ScalarsEnums['String']; + } + | { + __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; + /** + * Identifies the primary key from the database. + */ + 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 globally unique ID for the object + */ + id: ScalarsEnums['ID']; + isFrontPage?: undefined; + isPostsPage?: undefined; + isPreview?: undefined; + isPrivacyPage?: undefined; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + isRevision?: undefined; + isSticky?: undefined; + 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; + 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: ScalarsEnums['String']; + }; +/** + * Union between the post, page and media item types + */ +export type PostObjectUnion = + | { + __typename: 'Post' | undefined; + altText?: 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; + caption?: undefined; + /** + * 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 ID of the node in the database. + */ + 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; + fileSize?: undefined; + /** + * 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']; + 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']; + /** + * The user that most recently edited the node + */ + lastEditedBy?: Maybe; + /** + * The permalink of the post + */ + link?: Maybe; + mediaDetails?: undefined; + mediaItemId?: undefined; + mediaItemUrl?: undefined; + mediaType?: undefined; + menuOrder?: undefined; + mimeType?: 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; + sizes?: undefined; + /** + * 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; + sourceUrl?: undefined; + srcSet?: undefined; + /** + * 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>>; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; + } + | { + __typename: 'Page' | undefined; + altText?: 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; + caption?: undefined; + 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 ID of the node in the database. + */ + 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; + fileSize?: undefined; + /** + * 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 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; + /** + * The user that most recently edited the node + */ + lastEditedBy?: Maybe; + /** + * The permalink of the post + */ + link?: Maybe; + mediaDetails?: undefined; + mediaItemId?: undefined; + mediaItemUrl?: undefined; + mediaType?: 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; + mimeType?: 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; + /** + * 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; + sizes?: undefined; + /** + * 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; + sourceUrl?: undefined; + srcSet?: undefined; + /** + * 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; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; + } + | { + __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; + 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 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; + content?: 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; + /** + * 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; + excerpt?: undefined; + featuredImage?: undefined; + featuredImageDatabaseId?: undefined; + featuredImageId?: undefined; + /** + * 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']; + 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; + isRevision?: undefined; + isSticky?: undefined; + /** + * 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; + menuOrder?: undefined; + /** + * 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; + pageId?: undefined; + /** + * 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; + preview?: undefined; + /** + * The database id of the preview node + */ + previewRevisionDatabaseId?: Maybe; + /** + * Whether the object is a node in the preview state + */ + previewRevisionId?: Maybe; + revisionOf?: undefined; + revisions?: undefined; + /** + * 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; + 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; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; + }; +/** + * Union between the Category, Tag and PostFormatPost types + */ +export type TermObjectUnion = + | { + __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; + /** + * 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 globally unique ID for the object + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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; + postFormatId?: 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; + /** + * An alphanumeric identifier for the object unique to its type. + */ + slug?: Maybe; + tagId?: undefined; + /** + * 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: ScalarsEnums['String']; + } + | { + __typename: 'Tag' | undefined; + ancestors?: undefined; + categoryId?: undefined; + children?: 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; + /** + * 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 globally unique ID for the object + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * The link to the term + */ + link?: Maybe; + /** + * The human friendly name of the object. + */ + name?: Maybe; + parent?: undefined; + parentDatabaseId?: undefined; + parentId?: undefined; + postFormatId?: 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; + /** + * 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: ScalarsEnums['String']; + } + | { + __typename: 'PostFormat' | undefined; + ancestors?: undefined; + categoryId?: undefined; + children?: 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; + /** + * 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 globally unique ID for the object + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * The link to the term + */ + link?: Maybe; + /** + * The human friendly name of the object. + */ + name?: Maybe; + parent?: undefined; + parentDatabaseId?: undefined; + parentId?: undefined; + /** + * 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; + tagId?: undefined; + /** + * 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: ScalarsEnums['String']; + }; + +/** + * 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; + /** + * Unique identifier for the term + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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: ScalarsEnums['String']; +} +/** + * 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']; +} +/** + * Any node that has a URI + */ +export interface UniformResourceIdentifiable { + /** + * The unique resource identifier path + */ + id: ScalarsEnums['ID']; + /** + * The unique resource identifier path + */ + uri?: Maybe; +} +/** + * 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: ScalarsEnums['String']; +} +/** + * 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 globally unique identifier of the node. + */ + id: ScalarsEnums['ID']; + /** + * Whether the object is a node in the preview state + */ + isPreview?: Maybe; + /** + * Whether the object is restricted from the current viewer + */ + isRestricted?: Maybe; + /** + * 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; + /** + * URI path for the resource + */ + uri: ScalarsEnums['String']; +} +/** + * 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 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; +} +/** + * 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; + PostObjectsConnectionDateColumnEnum: + | PostObjectsConnectionDateColumnEnum + | undefined; + RelationEnum: RelationEnum | undefined; + MimeTypeEnum: MimeTypeEnum | undefined; + PostObjectsConnectionOrderbyEnum: + | PostObjectsConnectionOrderbyEnum + | undefined; + PostStatusEnum: PostStatusEnum | undefined; + AvatarRatingEnum: AvatarRatingEnum | undefined; + ContentTypeEnum: ContentTypeEnum | undefined; + CommentsConnectionOrderbyEnum: CommentsConnectionOrderbyEnum | undefined; + PostObjectFieldFormatEnum: PostObjectFieldFormatEnum | undefined; + MediaItemSizeEnum: MediaItemSizeEnum | 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; + TimezoneEnum: TimezoneEnum | undefined; +} diff --git a/packages/core/src/api/index.ts b/packages/core/src/api/index.ts index e80d5fe2f..4f1cce44f 100644 --- a/packages/core/src/api/index.ts +++ b/packages/core/src/api/index.ts @@ -1,3 +1 @@ -export * from './services'; -export * from './apolloClient'; -export * from './queries'; +export * from './client'; diff --git a/packages/core/src/api/queries/GENERAL_SETTINGS.ts b/packages/core/src/api/queries/GENERAL_SETTINGS.ts deleted file mode 100644 index cfd30bb00..000000000 --- a/packages/core/src/api/queries/GENERAL_SETTINGS.ts +++ /dev/null @@ -1,9 +0,0 @@ -export const GENERAL_SETTINGS = ` - query GeneralSettings { - generalSettings { - title - description - url - } - } -`; diff --git a/packages/core/src/api/queries/GET_URI_INFO.ts b/packages/core/src/api/queries/GET_URI_INFO.ts deleted file mode 100644 index afefa2042..000000000 --- a/packages/core/src/api/queries/GET_URI_INFO.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { gql } from '@apollo/client/core'; - -export const GET_URI_INFO = gql` - query GetUriInfo($uri: String!) { - nodeByUri(uri: $uri) { - id - ... on ContentType { - isFrontPage - isPostsPage - } - conditionalTags { - isArchive - isSingular - } - } - } -`; diff --git a/packages/core/src/api/queries/LIST_POST_DATA_FRAGMENT.ts b/packages/core/src/api/queries/LIST_POST_DATA_FRAGMENT.ts deleted file mode 100644 index 9ee3c1ca9..000000000 --- a/packages/core/src/api/queries/LIST_POST_DATA_FRAGMENT.ts +++ /dev/null @@ -1,21 +0,0 @@ -export const LIST_POST_DATA_FRAGMENT = ` - fragment listPostData on Post { - id - slug - title - content - isRevision - isPreview - isSticky - excerpt - uri - status - featuredImage { - node { - id - altText - sourceUrl - } - } - } -`; diff --git a/packages/core/src/api/queries/PAGE_DATA_FRAGMENT.ts b/packages/core/src/api/queries/PAGE_DATA_FRAGMENT.ts deleted file mode 100644 index a490fa252..000000000 --- a/packages/core/src/api/queries/PAGE_DATA_FRAGMENT.ts +++ /dev/null @@ -1,21 +0,0 @@ -export const PAGE_DATA_FRAGMENT = ` - fragment pageData on Page { - id - slug - title - content - isPreview - isRevision - isFrontPage - isPostsPage - uri - status - featuredImage { - node { - id - altText - sourceUrl - } - } - } -`; diff --git a/packages/core/src/api/queries/PAGE_INFO_DATA_FRAGMENT.ts b/packages/core/src/api/queries/PAGE_INFO_DATA_FRAGMENT.ts deleted file mode 100644 index e1f7d94a9..000000000 --- a/packages/core/src/api/queries/PAGE_INFO_DATA_FRAGMENT.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const PAGE_INFO_DATA_FRAGMENT = ` - fragment pageInfoData on WPPageInfo { - endCursor - hasNextPage - hasPreviousPage - startCursor - } -`; diff --git a/packages/core/src/api/queries/POST_DATA_FRAGMENT.ts b/packages/core/src/api/queries/POST_DATA_FRAGMENT.ts deleted file mode 100644 index f25d6bc41..000000000 --- a/packages/core/src/api/queries/POST_DATA_FRAGMENT.ts +++ /dev/null @@ -1,21 +0,0 @@ -export const POST_DATA_FRAGMENT = ` - fragment postData on Post { - id - slug - title - content - isRevision - isPreview - isSticky - excerpt - uri - status - featuredImage { - node { - id - altText - sourceUrl - } - } - } -`; diff --git a/packages/core/src/api/queries/categoryOptions.ts b/packages/core/src/api/queries/categoryOptions.ts deleted file mode 100644 index 524edb934..000000000 --- a/packages/core/src/api/queries/categoryOptions.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { ListPostOptions } from './getPosts'; - -/** - * Parts of an optionally paginated category URL path such as - * /category/uncategorized/[before|after]/[abc123]. - */ -interface CategoryUrlParts { - basePath: string; // '/category/uncategorized' - category: string; // 'uncategorized' - direction?: string; // 'before' - id?: string; // 'abc123' -} - -/** - * Converts a string or array into category URL parts assuming the - * form /category/uncategorized/[before|after]/[abc123]. - */ -const getCategoryUrlParts = (path: string | string[]): CategoryUrlParts => { - const parts = Array.isArray(path) ? path : path.split('/').filter(Boolean); - return { - basePath: parts.slice(0, 2).join('/'), - category: parts[1], - direction: parts[2], - id: parts[3], - }; -}; - -/** - * Determines WPGraphQL query options from URL info. - * - * @see https://www.wpgraphql.com/2020/03/26/forward-and-backward-pagination-with-wpgraphql/. - */ -const getQueryOptions = (url: CategoryUrlParts, postsPerPage: number) => { - return { - variables: { - first: - url.direction === 'after' || !url.direction ? postsPerPage : undefined, - last: url.direction === 'before' ? postsPerPage : undefined, - after: url.direction === 'after' ? url.id : undefined, - before: url.direction === 'before' ? url.id : undefined, - where: { - categoryName: url.category, - }, - }, - }; -}; - -/** - * Provides WPGraphQL options for getPosts and usePosts based on the - * passed category page URL. - */ -export function categoryOptions( - urlPath: string | string[], - postsPerPage: number, -): ListPostOptions { - const url = getCategoryUrlParts(urlPath ?? []); - return getQueryOptions(url, postsPerPage); -} diff --git a/packages/core/src/api/queries/getContentNode.ts b/packages/core/src/api/queries/getContentNode.ts deleted file mode 100644 index 99e450bb2..000000000 --- a/packages/core/src/api/queries/getContentNode.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { DocumentNode, gql } from '@apollo/client/core'; -import { PAGE_DATA_FRAGMENT } from './PAGE_DATA_FRAGMENT'; -import { POST_DATA_FRAGMENT } from './POST_DATA_FRAGMENT'; - -export interface ContentNodeOptions< - Args extends WPGraphQL.RootQueryContentNodeArgs = WPGraphQL.RootQueryContentNodeArgs, -> { - fragments?: { - postData?: DocumentNode; - pageData?: DocumentNode; - }; - variables?: Args; -} - -export function getContentNodeQuery({ - fragments, -}: ContentNodeOptions = {}): DocumentNode { - return gql` - ${fragments?.postData ?? - gql` - ${POST_DATA_FRAGMENT} - `} - ${fragments?.pageData ?? - gql` - ${PAGE_DATA_FRAGMENT} - `} - query GetContentNode( - $id: ID! - $idType: ContentNodeIdTypeEnum - $asPreview: Boolean - ) { - contentNode(id: $id, idType: $idType, asPreview: $asPreview) { - ... on Post { - ...postData - preview { - node { - ...postData - } - } - } - ... on Page { - ...pageData - preview { - node { - ...pageData - } - } - } - } - } - `; -} diff --git a/packages/core/src/api/queries/getPosts.ts b/packages/core/src/api/queries/getPosts.ts deleted file mode 100644 index bf8c0d014..000000000 --- a/packages/core/src/api/queries/getPosts.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { DocumentNode, gql } from '@apollo/client/core'; -import { LIST_POST_DATA_FRAGMENT } from './LIST_POST_DATA_FRAGMENT'; -import { PAGE_INFO_DATA_FRAGMENT } from './PAGE_INFO_DATA_FRAGMENT'; - -export interface ListPostOptions< - Args extends WPGraphQL.RootQueryPostsArgs = WPGraphQL.RootQueryPostsArgs, -> { - fragments?: { - listPostData?: DocumentNode; - }; - variables?: Args; -} - -export function getPostsQuery({ - fragments, -}: ListPostOptions = {}): DocumentNode { - return gql` - ${fragments?.listPostData ?? - gql` - ${LIST_POST_DATA_FRAGMENT} - `} - ${gql` - ${PAGE_INFO_DATA_FRAGMENT} - `} - query GetPosts( - $where: RootQueryToPostConnectionWhereArgs - $after: String - $before: String - $first: Int - $last: Int - ) { - posts( - where: $where - after: $after - before: $before - first: $first - last: $last - ) { - pageInfo { - ...pageInfoData - } - nodes { - ...listPostData - } - } - } - `; -} diff --git a/packages/core/src/api/queries/index.ts b/packages/core/src/api/queries/index.ts deleted file mode 100644 index a969308f2..000000000 --- a/packages/core/src/api/queries/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from './getPosts'; -export * from './getContentNode'; -export * from './categoryOptions'; -export * from './GENERAL_SETTINGS'; -export * from './GET_URI_INFO'; -export * from './PAGE_DATA_FRAGMENT'; -export * from './PAGE_INFO_DATA_FRAGMENT'; -export * from './POST_DATA_FRAGMENT'; diff --git a/packages/core/src/api/services.ts b/packages/core/src/api/services.ts deleted file mode 100644 index 7cb846c8a..000000000 --- a/packages/core/src/api/services.ts +++ /dev/null @@ -1,281 +0,0 @@ -import { ApolloClient, gql } from '@apollo/client/core'; -import { ensureAuthorization } from '../auth'; -import { - isServerSide, - getUrlPath, - resolvePrefixedUrlPath, - isPreviewPath, - stripPreviewFromUrlPath, -} from '../utils'; -import { - getPostsQuery, - getContentNodeQuery, - ListPostOptions, - GENERAL_SETTINGS, - GET_URI_INFO, - ContentNodeOptions, -} from './queries'; -import { headlessConfig } from '../config'; -import trimStart from 'lodash/trimStart'; - -/** - * WordPress URI information - * - * @export - * @interface UriInfo - */ -export interface UriInfo { - id?: string; - idType?: WPGraphQL.ContentNodeIdTypeEnum; - isPostsPage?: boolean; - isFrontPage?: boolean; - isPreview?: boolean; - isArchive?: boolean; - isSingular?: boolean; - is404?: boolean; - uriPath: string; -} - -/** - * Gets all posts from WordPress - * - * @async - * @export - * @param {ApolloClient} client - * @returns - */ -export async function getPosts( - client: ApolloClient, - options?: ListPostOptions, -): Promise { - const result = await client.query({ - query: getPostsQuery(options), - variables: options?.variables, - }); - - return result?.data?.posts; -} - -export function composeContentNodeOptions( - options: ContentNodeOptions = {}, -): ContentNodeOptions { - let opts: ContentNodeOptions = options; - - if (!opts) { - opts = {}; - } - - opts.variables = { - idType: 'URI', - asPreview: false, - ...opts.variables, - } as WPGraphQL.RootQueryContentNodeArgs; - - if (opts.variables.idType === 'URI') { - opts.variables.id = trimStart(opts.variables.id, '/'); - - if (!opts.variables.id) { - opts.variables.id = '/'; - } - } - - return opts; -} - -export function parseContentNodeQuery( - result: { data?: WPGraphQL.GetContentNodeQuery }, - options: ContentNodeOptions, -): WPGraphQL.Post | WPGraphQL.Page | undefined { - const node = result?.data?.contentNode as - | WPGraphQL.RootQuery['post'] - | WPGraphQL.RootQuery['page']; - - if (!node) { - // eslint-disable-next-line @typescript-eslint/no-unsafe-return - return undefined; - } - - const { asPreview } = options.variables ?? {}; - - if (asPreview && !node.isPreview) { - if (!node.preview?.node) { - return node; - } - - return node.preview.node; - } - - return node; -} - -/** - * Gets an individual Post or Page from WordPress - * - * @async - * @export - * @param {ApolloClient} client - * @param {string} id The identifier for the Post or Page - * @param [idType=ContentNodeIdType.URI] The type of identifier - * @param {boolean} [asPreview=false] Whether or not to grab preview information (requires Authorization) - * @returns {(Promise)} - */ -export async function getContentNode( - client: ApolloClient, - options: ContentNodeOptions = {}, -): Promise< - WPGraphQL.RootQuery['post'] | WPGraphQL.RootQuery['page'] | undefined -> { - const opts = composeContentNodeOptions(options); - - const result = await client.query({ - query: getContentNodeQuery(), - variables: opts.variables, - }); - - return parseContentNodeQuery(result, opts); -} - -/** - * Gets the General Settings from WordPress - * - * @async - * @export - * @param {ApolloClient} client - * @returns {Promise} - */ -export async function getGeneralSettings( - client: ApolloClient, -): Promise { - const result = await client.query({ - query: gql` - ${GENERAL_SETTINGS} - `, - }); - - return result?.data?.generalSettings; -} - -export function composeUrlPath(uriPath?: string): - | { - urlPath: string; - isPreview: boolean; - } - | undefined { - let urlPath = uriPath; - const { blogUrlPrefix } = headlessConfig(); - - if (typeof urlPath !== 'string') { - if (isServerSide()) { - console.warn('Getting uri info requires a URI when server-side.'); - - return undefined; - } - - urlPath = resolvePrefixedUrlPath( - getUrlPath(window.location.href), - blogUrlPrefix, - ); - } - - urlPath = getUrlPath(urlPath); - const isPreview = isPreviewPath(urlPath); - - if (isPreview) { - urlPath = stripPreviewFromUrlPath(urlPath); - } - - if (isPreview && !isServerSide()) { - const response = ensureAuthorization(window.location.href); - - if (typeof response !== 'string' && response?.redirect) { - setTimeout(() => { - window.location.replace(response.redirect); - }, 200); - /* eslint-disable-next-line consistent-return */ - return; - } - } - - urlPath = trimStart(urlPath, '/'); - - if (!urlPath) { - urlPath = '/'; - } - - return { - urlPath, - isPreview, - }; -} - -export function parseUriInfoQuery( - response: { data?: WPGraphQL.GetUriInfoQuery }, - uriPath: string, - isPreview?: boolean, -): UriInfo { - const result = response?.data?.nodeByUri; - - if (!result) { - if (isPreview) { - return { - isPreview, - uriPath, - }; - } - - return { - is404: true, - uriPath, - }; - } - - const { id } = result; - - const { isArchive, isSingular } = - response?.data?.nodeByUri?.conditionalTags ?? {}; - - return { - isPostsPage: (result as { isPostsPage: boolean }).isPostsPage ?? false, - isFrontPage: (result as { isFrontPage: boolean }).isFrontPage ?? false, - id, - isPreview, - uriPath, - isArchive, - isSingular, - }; -} - -/* eslint-disable consistent-return */ -/** - * Gets information about the URI from WordPress - * - * @async - * @export - * @param {ApolloClient} client - * @param {string} uriPath The path for the URI (e.g. '/hello-world') - * @param {boolean} [isPreview] Whether or not the page being displayed is in preview mode or not. - * @returns {(Promise)} - */ -export async function getUriInfo( - client: ApolloClient, - uriPath?: string, -): Promise { - const { urlPath, isPreview } = composeUrlPath(uriPath) ?? {}; - - if (!urlPath) { - return; - } - - const response = await client.query< - WPGraphQL.GetUriInfoQuery, - WPGraphQL.GetUriInfoQueryVariables - >({ - query: GET_URI_INFO, - variables: { - uri: urlPath, - }, - }); - - return parseUriInfoQuery(response, urlPath, isPreview); -} -/* eslint-enable consistent-return */ diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 91f61f075..5166c3019 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -4,13 +4,21 @@ import trimEnd from 'lodash/trimEnd'; import extend from 'lodash/extend'; import isObject from 'lodash/isObject'; +import { GQlessClient } from 'gqless'; + /** * The configuration for your headless site * * @export * @interface HeadlessConfig */ -export interface HeadlessConfig { +export interface HeadlessConfig< + GeneratedSchema extends { + query: {}; + mutation: {}; + subscription: {}; + } = { query: {}; mutation: {}; subscription: {} }, +> { /** * Set this value to the base URL of your WordPress site. This will be used in order to * make queries to your WordPress site. @@ -50,6 +58,14 @@ export interface HeadlessConfig { * @memberof HeadlessConfig */ apiClientSecret?: string; + + /** + * An optional gqless client used to make calls to the WP API + * + * @type {GQlessClient} + * @memberof HeadlessConfig + */ + apiClient?: GQlessClient; } let wpeConfig: HeadlessConfig = { @@ -78,7 +94,7 @@ export function normalizeConfig(config: HeadlessConfig): HeadlessConfig { return; } - cfg[key as keyof HeadlessConfig] = value.trim(); + cfg[key as keyof HeadlessConfig] = value.trim() as any; }); let { wpUrl, blogUrlPrefix, apiEndpoint } = cfg; diff --git a/packages/core/test/utils/convert.test.ts b/packages/core/test/utils/convert.test.ts index 63d010a21..6b28cf636 100644 --- a/packages/core/test/utils/convert.test.ts +++ b/packages/core/test/utils/convert.test.ts @@ -8,7 +8,6 @@ import { getCookiesFromContext, stringifyGql, } from '../../src/utils/convert'; -import { gql } from '@apollo/client/core'; import { print } from 'graphql'; describe('utils/convert', () => { @@ -146,9 +145,4 @@ describe('utils/convert', () => { test('stringifyGql() returns undefined for a missing DocumentNode', () => { expect(stringifyGql()).toBeUndefined(); }); - - test('stringifyGql() returns a stringified DocumentNode', () => { - const g = gql`{ posts { id } }`; - expect(stringifyGql(g)).toBe(print(g)); - }); }); From 7fc53803f73c591623b409991d6528f3d79464be Mon Sep 17 00:00:00 2001 From: William Johnston Date: Wed, 9 Jun 2021 10:56:35 -0700 Subject: [PATCH 2/3] feat: (#262) adding ability to intercept request context and apply headers, adding client-side auth header --- packages/core/.eslintignore | 2 +- packages/core/src/api/client/index.ts | 64 +- .../core/src/api/client/schema.generated.ts | 1802 ++-- packages/core/src/config/config.ts | 14 + packages/core/src/index.ts | 3 - packages/core/src/types/wpgraphql.d.ts | 7984 ----------------- packages/core/test/utils/convert.test.ts | 1 - packages/core/utils.d.ts | 3 - 8 files changed, 970 insertions(+), 8903 deletions(-) delete mode 100644 packages/core/src/types/wpgraphql.d.ts diff --git a/packages/core/.eslintignore b/packages/core/.eslintignore index 08dfb4401..d838d0621 100644 --- a/packages/core/.eslintignore +++ b/packages/core/.eslintignore @@ -3,4 +3,4 @@ node_modules /*.js /*.ts /*.d.ts -src/types/wpgraphql.d.ts +src/api/client/schema.generated.ts diff --git a/packages/core/src/api/client/index.ts b/packages/core/src/api/client/index.ts index 250e53ea5..79c2f7385 100644 --- a/packages/core/src/api/client/index.ts +++ b/packages/core/src/api/client/index.ts @@ -1,10 +1,8 @@ -/** - * GQLESS: You can safely modify this file and Query Fetcher based on your needs - */ - -import { createClient, QueryFetcher } from 'gqless'; +import { createClient, GQlessClient, QueryFetcher } from 'gqless'; import fetch from 'isomorphic-fetch'; +import isString from 'lodash/isString'; import isObject from 'lodash/isObject'; +import { getAccessToken } from '../../auth'; import { headlessConfig } from '../../config'; import { generatedSchema, @@ -13,10 +11,45 @@ import { SchemaObjectTypes, SchemaObjectTypesNames, } from './schema.generated'; +import isFunction from 'lodash/isFunction'; + +export interface RequestContext { + url: string; + init: RequestInit; +} + +export function applyRequestContext( + url: string, + init: RequestInit, +): RequestContext { + const config = headlessConfig(); + const token = getAccessToken(); + + if (isString(token)) { + init.headers = { + ...init.headers, + authorization: `Bearer ${token}`, + }; + } -export const queryFetcher: QueryFetcher = async function (query, variables) { + let requestContext = { + url, + init, + }; + + if (isFunction(config.applyRequestContext)) { + requestContext = config.applyRequestContext(url, init); + } + + return requestContext; +} + +export const queryFetcher: QueryFetcher = async function ( + query, + variables, +): Promise { const { wpUrl } = headlessConfig(); - const response = await fetch(`${wpUrl}/graphql`, { + const { url, init } = applyRequestContext(`${wpUrl}/graphql`, { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -28,8 +61,10 @@ export const queryFetcher: QueryFetcher = async function (query, variables) { mode: 'cors', }); + const response = await fetch(url, init); const json = await response.json(); + // eslint-disable-next-line @typescript-eslint/no-unsafe-return return json; }; @@ -43,14 +78,23 @@ const defaultClient = createClient< queryFetcher, }); -export function client(): typeof defaultClient { +/* eslint-disable @typescript-eslint/ban-types */ + +export function client< + Schema extends { + query: {}; + mutation: {}; + subscription: {}; + } = GeneratedSchema, +>(): GQlessClient { const { apiClient } = headlessConfig(); if (!isObject(apiClient)) { - return defaultClient; + return defaultClient as any as GQlessClient; } - return apiClient as typeof defaultClient; + return apiClient as GQlessClient; } +/* eslint-enable @typescript-eslint/ban-types */ export * from './schema.generated'; diff --git a/packages/core/src/api/client/schema.generated.ts b/packages/core/src/api/client/schema.generated.ts index 45866a76b..bddc4b1f6 100644 --- a/packages/core/src/api/client/schema.generated.ts +++ b/packages/core/src/api/client/schema.generated.ts @@ -8231,18 +8231,18 @@ export interface Category /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -8257,22 +8257,22 @@ export interface Category /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -8282,22 +8282,22 @@ export interface Category /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -8319,18 +8319,18 @@ export interface Category /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -8340,18 +8340,18 @@ export interface Category /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -8389,22 +8389,22 @@ export interface Category /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -8464,18 +8464,18 @@ export interface TermNode { /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -8485,18 +8485,18 @@ export interface TermNode { /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -8935,18 +8935,18 @@ export interface ContentNode { /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -8956,18 +8956,18 @@ export interface ContentNode { /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -9057,18 +9057,18 @@ export interface ContentType /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -9078,22 +9078,22 @@ export interface ContentType /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -9252,18 +9252,18 @@ export interface Taxonomy extends Omit { /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -9551,14 +9551,14 @@ export interface User * 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 + size?: Maybe; /** * Whether to always show the default image, never the Gravatar. Default false - */; - forceDefault?: Maybe + */ + forceDefault?: Maybe; /** * The rating level of the avatar. - */; + */ rating?: Maybe; }) => Maybe; /** @@ -9576,22 +9576,22 @@ export interface User /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -9613,18 +9613,18 @@ export interface User /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -9634,18 +9634,18 @@ export interface User /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -9679,22 +9679,22 @@ export interface User /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -9716,22 +9716,22 @@ export interface User /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -9741,22 +9741,22 @@ export interface User /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -9770,22 +9770,22 @@ export interface User /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -9795,18 +9795,18 @@ export interface User /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -10037,22 +10037,22 @@ export interface Comment /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -10255,22 +10255,22 @@ export interface MediaItem /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -10301,22 +10301,22 @@ export interface MediaItem /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -10334,22 +10334,22 @@ export interface MediaItem /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -10396,18 +10396,18 @@ export interface MediaItem /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -10417,18 +10417,18 @@ export interface MediaItem /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -10662,22 +10662,22 @@ export interface HierarchicalContentNode { /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -10687,22 +10687,22 @@ export interface HierarchicalContentNode { /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11102,22 +11102,22 @@ export interface Page /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11139,22 +11139,22 @@ export interface Page /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11172,22 +11172,22 @@ export interface Page /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11234,18 +11234,18 @@ export interface Page /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -11255,18 +11255,18 @@ export interface Page /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -11373,22 +11373,22 @@ export interface Page /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11652,22 +11652,22 @@ export interface Post /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** + */ + before?: Maybe; + /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11685,22 +11685,22 @@ export interface Post /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11747,18 +11747,18 @@ export interface Post /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -11768,18 +11768,18 @@ export interface Post /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -11858,22 +11858,22 @@ export interface Post /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11904,22 +11904,22 @@ export interface Post /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11937,22 +11937,22 @@ export interface Post /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -11966,22 +11966,22 @@ export interface Post /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -12156,22 +12156,22 @@ export interface PostFormat /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -12193,18 +12193,18 @@ export interface PostFormat /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -12214,18 +12214,18 @@ export interface PostFormat /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -12256,22 +12256,22 @@ export interface PostFormat /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -12471,22 +12471,22 @@ export interface Tag /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -12508,18 +12508,18 @@ export interface Tag /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -12529,18 +12529,18 @@ export interface Tag /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -12566,22 +12566,22 @@ export interface Tag /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -13108,22 +13108,22 @@ export interface Menu /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -13184,22 +13184,22 @@ export interface MenuItem /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -14971,22 +14971,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; children?: undefined; @@ -15005,22 +15005,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15067,18 +15067,18 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -15088,18 +15088,18 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -15186,22 +15186,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15232,22 +15232,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15265,22 +15265,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15294,22 +15294,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15339,22 +15339,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15377,22 +15377,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15410,22 +15410,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15472,18 +15472,18 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -15493,18 +15493,18 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; excerpt?: undefined; @@ -15617,22 +15617,22 @@ export type ContentRevisionUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15690,22 +15690,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; categoryId?: undefined; @@ -15725,22 +15725,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15790,18 +15790,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -15811,18 +15811,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -15910,22 +15910,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15957,22 +15957,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -15991,22 +15991,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; taxonomy?: undefined; @@ -16023,22 +16023,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -16068,22 +16068,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -16107,22 +16107,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -16140,22 +16140,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -16205,18 +16205,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -16226,18 +16226,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; excerpt?: undefined; @@ -16352,22 +16352,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -16412,18 +16412,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; author?: undefined; @@ -16442,22 +16442,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; commentCount?: undefined; @@ -16471,22 +16471,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; contentType?: undefined; @@ -16514,18 +16514,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -16535,18 +16535,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; excerpt?: undefined; @@ -16604,22 +16604,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; preview?: undefined; @@ -16675,22 +16675,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; contentType?: undefined; @@ -16718,18 +16718,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -16739,18 +16739,18 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; excerpt?: undefined; @@ -16799,22 +16799,22 @@ export type MenuItemObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; preview?: undefined; @@ -16882,22 +16882,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; children?: undefined; @@ -16916,22 +16916,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -16979,18 +16979,18 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -17000,18 +17000,18 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -17104,22 +17104,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -17150,22 +17150,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; sizes?: undefined; @@ -17186,22 +17186,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -17215,22 +17215,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -17261,22 +17261,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -17300,22 +17300,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -17333,22 +17333,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -17396,18 +17396,18 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -17417,18 +17417,18 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; excerpt?: undefined; @@ -17547,22 +17547,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; sizes?: undefined; @@ -17610,22 +17610,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -17657,22 +17657,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -17690,22 +17690,22 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; content?: undefined; @@ -17753,18 +17753,18 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -17774,18 +17774,18 @@ export type PostObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; excerpt?: undefined; @@ -17957,18 +17957,18 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -17983,22 +17983,22 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -18008,22 +18008,22 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -18045,18 +18045,18 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -18066,18 +18066,18 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -18116,22 +18116,22 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -18168,22 +18168,22 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -18205,18 +18205,18 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -18226,18 +18226,18 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -18267,22 +18267,22 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -18323,22 +18323,22 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** @@ -18360,18 +18360,18 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -18381,18 +18381,18 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; + */ before?: Maybe; }) => Maybe; /** @@ -18426,22 +18426,22 @@ export type TermObjectUnion = /** * The number of items to return after the referenced "after" cursor */ - first?: Maybe + first?: Maybe; /** * The number of items to return before the referenced "before" cursor - */; - last?: Maybe + */ + last?: Maybe; /** * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe + */ + after?: Maybe; /** * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe + */ + before?: Maybe; /** * Arguments for filtering the connection - */; + */ where?: Maybe; }) => Maybe; /** diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 5166c3019..3067f110e 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -5,7 +5,9 @@ import extend from 'lodash/extend'; import isObject from 'lodash/isObject'; import { GQlessClient } from 'gqless'; +import type { RequestContext } from '../api'; +/* eslint-disable @typescript-eslint/ban-types */ /** * The configuration for your headless site * @@ -66,7 +68,19 @@ export interface HeadlessConfig< * @memberof HeadlessConfig */ apiClient?: GQlessClient; + + /** + * Called before every request, use this to apply any headers you might + * need to for your requests or adjust the request to suite your needs. + * + * @param {string} url + * @param {RequestInit} init + * @returns {RequestContext} + * @memberof HeadlessConfig + */ + applyRequestContext?(url: string, init: RequestInit): RequestContext; } +/* eslint-enable @typescript-eslint/ban-types */ let wpeConfig: HeadlessConfig = { wpUrl: '/', diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 2c88085a2..037f6bc8c 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -1,6 +1,3 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// - export * from './api'; export * from './auth'; export * from './config'; diff --git a/packages/core/src/types/wpgraphql.d.ts b/packages/core/src/types/wpgraphql.d.ts deleted file mode 100644 index c76f9967e..000000000 --- a/packages/core/src/types/wpgraphql.d.ts +++ /dev/null @@ -1,7984 +0,0 @@ -/* eslint-disable */ -/** - * Important note! This file is auto-generated using graphql-codegen and based on wpgraphql-schema.graphql - * in the root of the project. Additionally, packages/headless will be scanned for - * operations (queries, mutations, etc) and types will be generated for them as well. - * - * This file can be manually regenerated using `npm run generate-graphql` - */ -declare namespace WPGraphQL { - -export type Maybe = T; -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 type Scalars = { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; -}; - -/** The author of a comment */ -export type Commenter = { - /** Identifies the primary key from the database. */ - databaseId: Scalars['Int']; - /** The email address of the author of a comment. */ - email?: Maybe; - /** The globally unique identifier for the comment author. */ - id: Scalars['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; -}; - -/** Nodes used to manage content */ -export type ContentNode = { - conditionalTags?: Maybe; - /** Connection between the ContentNode type and the ContentType type */ - contentType?: Maybe; - /** The ID of the node in the database. */ - databaseId: Scalars['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?: Maybe; - /** Connection between the ContentNode type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: 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 node. */ - id: Scalars['ID']; - /** Whether the object is a node in the preview state */ - isPreview?: Maybe; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** 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; - templates?: Maybe>>; - /** URI path for the resource */ - uri: Scalars['String']; -}; - - -/** Nodes used to manage content */ -export type ContentNodeEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** Nodes used to manage content */ -export type ContentNodeEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - -/** The template assigned to a node of content */ -export type ContentTemplate = { - /** The name of the template */ - templateName?: Maybe; -}; - -/** Object that can be identified with a Database ID */ -export type DatabaseIdentifier = { - /** The unique identifier stored in the database */ - databaseId: Scalars['Int']; -}; - -/** Asset enqueued by the CMS */ -export type 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: Scalars['ID']; - /** The source of the asset */ - src?: Maybe; - /** The version of the enqueued asset */ - version?: Maybe; -}; - -/** Content node with hierarchical (parent/child) relationships */ -export type HierarchicalContentNode = { - /** Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ - ancestors?: Maybe; - /** Connection between the HierarchicalContentNode type and the ContentNode type */ - children?: 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; -}; - - -/** Content node with hierarchical (parent/child) relationships */ -export type HierarchicalContentNodeAncestorsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** Content node with hierarchical (parent/child) relationships */ -export type HierarchicalContentNodeChildrenArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** Term node with hierarchical (parent/child) relationships */ -export type 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 type MenuItemLinkable = { - /** The unique resource identifier path */ - databaseId: Scalars['Int']; - /** The unique resource identifier path */ - id: Scalars['ID']; - /** The unique resource identifier path */ - uri: Scalars['String']; -}; - -/** An object with an ID */ -export type Node = { - /** The globally unique ID for the object */ - id: Scalars['ID']; -}; - -/** A node that can have an author assigned to it */ -export type 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 type 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; -}; - -/** A node that supports the content editor */ -export type NodeWithContentEditor = { - /** The content of the post. */ - content?: Maybe; -}; - - -/** A node that supports the content editor */ -export type NodeWithContentEditorContentArgs = { - format?: Maybe; -}; - -/** A node that can have an excerpt */ -export type NodeWithExcerpt = { - /** The excerpt of the post. */ - excerpt?: Maybe; -}; - - -/** A node that can have an excerpt */ -export type NodeWithExcerptExcerptArgs = { - format?: Maybe; -}; - -/** A node that can have a featured image set */ -export type NodeWithFeaturedImage = { - /** 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; -}; - -/** A node that can have page attributes */ -export type 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 revisions */ -export type 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 a template associated with it */ -export type NodeWithTemplate = { - /** The template assigned to the node */ - template?: Maybe; -}; - -/** A node that NodeWith a title */ -export type NodeWithTitle = { - /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ - title?: Maybe; -}; - - -/** A node that NodeWith a title */ -export type NodeWithTitleTitleArgs = { - format?: Maybe; -}; - -/** A node that can have trackbacks and pingbacks */ -export type 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>>; -}; - -/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ -export type TermNode = { - /** The number of objects connected to the object */ - count?: Maybe; - /** Identifies the primary key from the database. */ - databaseId: Scalars['Int']; - /** The description of the object */ - description?: Maybe; - /** Connection between the TermNode type and the EnqueuedScript type */ - enqueuedScripts?: Maybe; - /** Connection between the TermNode type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: Maybe; - /** Unique identifier for the term */ - id: Scalars['ID']; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** 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: Scalars['String']; -}; - - -/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ -export type TermNodeEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ -export type TermNodeEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - -/** Any node that has a URI */ -export type UniformResourceIdentifiable = { - conditionalTags?: Maybe; - /** The unique resource identifier path */ - id: Scalars['ID']; - templates?: Maybe>>; - /** The unique resource identifier path */ - uri?: Maybe; -}; - -export type ContentRevisionUnion = Page | Post; - -/** Deprecated in favor of MenuItemLinkeable Interface */ -export type MenuItemObjectUnion = Category | Page | Post | Tag; - -export type PostObjectUnion = MediaItem | Page | Post; - -export type TermObjectUnion = Category | PostFormat | Tag; - -/** Avatars are profile images for users. WordPress by default uses the Gravatar service to host and fetch avatars from. */ -export type Avatar = { - /** 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; -}; - -/** The category type */ -export type Category = DatabaseIdentifier & HierarchicalTermNode & MenuItemLinkable & Node & TermNode & UniformResourceIdentifiable & { - /** The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ - ancestors?: 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?: Maybe; - conditionalTags?: Maybe; - /** Connection between the category type and the ContentNode type */ - contentNodes?: Maybe; - /** The number of objects connected to the object */ - count?: Maybe; - /** Identifies the primary key from the database. */ - databaseId: Scalars['Int']; - /** The description of the object */ - description?: Maybe; - /** Connection between the TermNode type and the EnqueuedScript type */ - enqueuedScripts?: Maybe; - /** Connection between the TermNode type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: Maybe; - /** The globally unique ID for the object */ - id: Scalars['ID']; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** 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?: Maybe; - /** An alphanumeric identifier for the object unique to its type. */ - slug?: Maybe; - /** Connection between the category type and the Taxonomy type */ - taxonomy?: Maybe; - templates?: 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: Scalars['String']; -}; - - -/** The category type */ -export type CategoryAncestorsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The category type */ -export type CategoryChildrenArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The category type */ -export type CategoryContentNodesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The category type */ -export type CategoryEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The category type */ -export type CategoryEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The category type */ -export type CategoryPostsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** Connection between the category type and the category type */ -export type CategoryToAncestorsCategoryConnection = { - /** 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 type CategoryToAncestorsCategoryConnectionEdge = { - /** 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 type CategoryToCategoryConnection = { - /** 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 type CategoryToCategoryConnectionEdge = { - /** 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 type CategoryToContentNodeConnection = { - /** 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 type CategoryToContentNodeConnectionEdge = { - /** 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 type CategoryToParentCategoryConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the category type and the post type */ -export type CategoryToPostConnection = { - /** 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 type CategoryToPostConnectionEdge = { - /** 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 type CategoryToTaxonomyConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** A Comment object */ -export type Comment = DatabaseIdentifier & Node & { - /** 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?: Maybe; - /** The unique identifier stored in the database */ - databaseId: Scalars['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: Scalars['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?: 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?: 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; -}; - - -/** A Comment object */ -export type CommentContentArgs = { - format?: Maybe; -}; - - -/** A Comment object */ -export type CommentParentArgs = { - where?: Maybe; -}; - - -/** A Comment object */ -export type CommentRepliesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** A Comment Author object */ -export type CommentAuthor = Commenter & Node & { - /** Identifies the primary key from the database. */ - databaseId: Scalars['Int']; - /** The email for the comment author */ - email?: Maybe; - /** The globally unique identifier for the comment author object */ - id: Scalars['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; -}; - -/** Connection between the Comment type and the Comment type */ -export type CommentToCommentConnection = { - /** 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 type CommentToCommentConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** Connection between the Comment type and the Commenter type */ -export type CommentToCommenterConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the Comment type and the ContentNode type */ -export type CommentToContentNodeConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the Comment type and the Comment type */ -export type CommentToParentCommentConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** GraphQL representation of WordPress Conditional Tags. */ -export type ConditionalTags = { - /** Determines whether the query is for an existing archive page. */ - isArchive?: Maybe; - /** Determines whether the query is for an existing attachment page. */ - isAttachment?: Maybe; - /** Determines whether the query is for an existing author archive page. */ - isAuthor?: Maybe; - /** Determines whether the query is for an existing category archive page. */ - isCategory?: Maybe; - /** Determines whether the query is for an existing date archive. */ - isDate?: Maybe; - /** Determines whether the query is for an existing day archive. */ - isDay?: Maybe; - /** Determines whether the query is for the front page of the site. */ - isFrontPage?: Maybe; - /** Determines whether the query is for the blog homepage. */ - isHome?: Maybe; - /** Determines whether the query is for an existing month archive. */ - isMonth?: Maybe; - /** Determines whether this site has more than one author. */ - isMultiAuthor?: Maybe; - /** Determines whether the query is for an existing single page. */ - isPage?: Maybe; - /** Determines whether currently in a page template. */ - isPageTemplate?: Maybe; - /** Determines whether the query is for an existing post type archive page. */ - isPostTypeArchive?: Maybe; - /** Determines whether the query is for a post or page preview. */ - isPreview?: Maybe; - /** Determines whether the query is for the Privacy Policy page. */ - isPrivacyPolicy?: Maybe; - /** Determines whether the query is for a search. */ - isSearch?: Maybe; - /** Determines whether the query is for an existing single post. */ - isSingle?: Maybe; - /** Determines whether the query is for an existing single post of any post type (post, attachment, page, custom post types). */ - isSingular?: Maybe; - /** Determines whether a post is sticky. */ - isSticky?: Maybe; - /** Determines whether the query is for an existing tag archive page. */ - isTag?: Maybe; - /** Determines whether the query is for an existing custom taxonomy archive page. */ - isTax?: Maybe; - /** Determines whether the query is for an existing year archive. */ - isYear?: Maybe; -}; - -/** Connection between the ContentNode type and the ContentType type */ -export type ContentNodeToContentTypeConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the ContentNode type and the User type */ -export type ContentNodeToEditLastConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the ContentNode type and the User type */ -export type ContentNodeToEditLockConnectionEdge = { - /** The timestamp for when the node was last edited */ - lockTimestamp?: Maybe; - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the ContentNode type and the EnqueuedScript type */ -export type ContentNodeToEnqueuedScriptConnection = { - /** 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 type ContentNodeToEnqueuedScriptConnectionEdge = { - /** 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 type ContentNodeToEnqueuedStylesheetConnection = { - /** 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 type ContentNodeToEnqueuedStylesheetConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** An Post Type object */ -export type ContentType = Node & UniformResourceIdentifiable & { - /** Whether this content type should can be exported. */ - canExport?: Maybe; - conditionalTags?: Maybe; - /** Connection between the ContentType type and the Taxonomy type */ - connectedTaxonomies?: Maybe; - /** Connection between the ContentType type and the ContentNode type */ - contentNodes?: 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: Scalars['ID']; - /** Whether this page is set to the static front page. */ - isFrontPage: Scalars['Boolean']; - /** Whether this page is set to the blog posts page. */ - isPostsPage: Scalars['Boolean']; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** 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; - templates?: Maybe>>; - /** The unique resource identifier path */ - uri?: Maybe; -}; - - -/** An Post Type object */ -export type ContentTypeConnectedTaxonomiesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** An Post Type object */ -export type ContentTypeContentNodesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** Connection between the ContentType type and the ContentNode type */ -export type ContentTypeToContentNodeConnection = { - /** 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 type ContentTypeToContentNodeConnectionEdge = { - /** 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 Taxonomy type */ -export type ContentTypeToTaxonomyConnection = { - /** 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 type ContentTypeToTaxonomyConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** The template assigned to the node */ -export type CoverTemplate = ContentTemplate & { - /** The name of the template */ - templateName?: Maybe; -}; - -/** The payload for the createCategory mutation */ -export type CreateCategoryPayload = { - /** The created category */ - category?: Maybe; - clientMutationId?: Maybe; -}; - -/** The payload for the createComment mutation */ -export type CreateCommentPayload = { - 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 type CreateMediaItemPayload = { - clientMutationId?: Maybe; - mediaItem?: Maybe; -}; - -/** The payload for the createPage mutation */ -export type CreatePagePayload = { - clientMutationId?: Maybe; - page?: Maybe; -}; - -/** The payload for the createPostFormat mutation */ -export type CreatePostFormatPayload = { - clientMutationId?: Maybe; - /** The created post_format */ - postFormat?: Maybe; -}; - -/** The payload for the createPost mutation */ -export type CreatePostPayload = { - clientMutationId?: Maybe; - post?: Maybe; -}; - -/** The payload for the createTag mutation */ -export type CreateTagPayload = { - clientMutationId?: Maybe; - /** The created post_tag */ - tag?: Maybe; -}; - -/** The payload for the createUser mutation */ -export type CreateUserPayload = { - clientMutationId?: Maybe; - user?: Maybe; -}; - -/** The template assigned to the node */ -export type DefaultTemplate = ContentTemplate & { - /** The name of the template */ - templateName?: Maybe; -}; - -/** The payload for the deleteCategory mutation */ -export type DeleteCategoryPayload = { - /** The deteted term object */ - category?: Maybe; - clientMutationId?: Maybe; - /** The ID of the deleted object */ - deletedId?: Maybe; -}; - -/** The payload for the deleteComment mutation */ -export type DeleteCommentPayload = { - clientMutationId?: Maybe; - /** The deleted comment object */ - comment?: Maybe; - /** The deleted comment ID */ - deletedId?: Maybe; -}; - -/** The payload for the deleteMediaItem mutation */ -export type DeleteMediaItemPayload = { - 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 type DeletePagePayload = { - clientMutationId?: Maybe; - /** The ID of the deleted object */ - deletedId?: Maybe; - /** The object before it was deleted */ - page?: Maybe; -}; - -/** The payload for the deletePostFormat mutation */ -export type DeletePostFormatPayload = { - clientMutationId?: Maybe; - /** The ID of the deleted object */ - deletedId?: Maybe; - /** The deteted term object */ - postFormat?: Maybe; -}; - -/** The payload for the deletePost mutation */ -export type DeletePostPayload = { - clientMutationId?: Maybe; - /** The ID of the deleted object */ - deletedId?: Maybe; - /** The object before it was deleted */ - post?: Maybe; -}; - -/** The payload for the deleteTag mutation */ -export type DeleteTagPayload = { - clientMutationId?: Maybe; - /** The ID of the deleted object */ - deletedId?: Maybe; - /** The deteted term object */ - tag?: Maybe; -}; - -/** The payload for the deleteUser mutation */ -export type DeleteUserPayload = { - clientMutationId?: Maybe; - /** The ID of the user that you just deleted */ - deletedId?: Maybe; - /** The deleted user object */ - user?: Maybe; -}; - -/** The discussion setting type */ -export type DiscussionSettings = { - /** Allow people to submit comments on new posts. */ - defaultCommentStatus?: Maybe; - /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ - defaultPingStatus?: Maybe; -}; - -/** Script enqueued by the CMS */ -export type EnqueuedScript = EnqueuedAsset & Node & { - /** @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 globally unique ID for the object */ - id: Scalars['ID']; - /** The source of the asset */ - src?: Maybe; - /** The version of the enqueued asset */ - version?: Maybe; -}; - -/** Stylesheet enqueued by the CMS */ -export type EnqueuedStylesheet = EnqueuedAsset & Node & { - /** @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 globally unique ID for the object */ - id: Scalars['ID']; - /** The source of the asset */ - src?: Maybe; - /** The version of the enqueued asset */ - version?: Maybe; -}; - -/** The template assigned to the node */ -export type FullWidthTemplate = ContentTemplate & { - /** The name of the template */ - templateName?: Maybe; -}; - -/** The general setting type */ -export type GeneralSettings = { - /** 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 HierarchicalContentNode type and the ContentNode type */ -export type HierarchicalContentNodeToContentNodeAncestorsConnection = { - /** Edges for the HierarchicalContentNodeToContentNodeAncestorsConnection 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 type HierarchicalContentNodeToContentNodeAncestorsConnectionEdge = { - /** 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 type HierarchicalContentNodeToContentNodeChildrenConnection = { - /** Edges for the HierarchicalContentNodeToContentNodeChildrenConnection 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 type HierarchicalContentNodeToContentNodeChildrenConnectionEdge = { - /** 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 type HierarchicalContentNodeToParentContentNodeConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** File details for a Media Item */ -export type MediaDetails = { - /** The height of the mediaItem */ - file?: Maybe; - /** The height of the mediaItem */ - height?: Maybe; - meta?: Maybe; - /** The available sizes of the mediaItem */ - sizes?: Maybe>>; - /** The width of the mediaItem */ - width?: Maybe; -}; - -/** The mediaItem type */ -export type MediaItem = ContentNode & DatabaseIdentifier & HierarchicalContentNode & Node & NodeWithAuthor & NodeWithComments & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable & { - /** 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?: 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?: Maybe; - /** Connection between the HierarchicalContentNode type and the ContentNode type */ - children?: 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?: Maybe; - conditionalTags?: Maybe; - /** Connection between the ContentNode type and the ContentType type */ - contentType?: Maybe; - /** The ID of the node in the database. */ - databaseId: Scalars['Int']; - /** Post publishing date. */ - date?: Maybe; - /** The publishing date set in GMT. */ - dateGmt?: Maybe; - /** Description of the image (stored as post_content) */ - description?: 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?: Maybe; - /** Connection between the ContentNode type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: Maybe; - /** The filesize in bytes of the resource */ - fileSize?: 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: Scalars['ID']; - /** Whether the object is a node in the preview state */ - isPreview?: Maybe; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** 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: Scalars['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?: 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?: 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?: Maybe; - /** The current status of the object */ - status?: Maybe; - /** The template assigned to a node of content */ - template?: Maybe; - templates?: Maybe>>; - /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ - title?: Maybe; - /** URI path for the resource */ - uri: Scalars['String']; -}; - - -/** The mediaItem type */ -export type MediaItemAncestorsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemCaptionArgs = { - format?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemChildrenArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemCommentsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemDescriptionArgs = { - format?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemFileSizeArgs = { - size?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemSizesArgs = { - size?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemSourceUrlArgs = { - size?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemSrcSetArgs = { - size?: Maybe; -}; - - -/** The mediaItem type */ -export type MediaItemTitleArgs = { - format?: Maybe; -}; - -/** Meta connected to a MediaItem */ -export type MediaItemMeta = { - aperture?: Maybe; - camera?: Maybe; - caption?: Maybe; - copyright?: Maybe; - createdTimestamp?: Maybe; - credit?: Maybe; - focalLength?: Maybe; - iso?: Maybe; - keywords?: Maybe>>; - orientation?: Maybe; - shutterSpeed?: Maybe; - title?: Maybe; -}; - -/** Connection between the mediaItem type and the Comment type */ -export type MediaItemToCommentConnection = { - /** 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 type MediaItemToCommentConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** Details of an available size for a media item */ -export type MediaSize = { - /** The file of the for the referenced size */ - file?: Maybe; - /** The filesize of the resource */ - fileSize?: Maybe; - /** The height of the for the referenced size */ - height?: Maybe; - /** The mime type of the resource */ - mimeType?: Maybe; - /** The referenced size name */ - name?: Maybe; - /** The url of the for the referenced size */ - sourceUrl?: Maybe; - /** The width of the for the referenced size */ - width?: Maybe; -}; - -/** Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. */ -export type Menu = DatabaseIdentifier & Node & { - /** The number of items in the menu */ - count?: Maybe; - /** The unique identifier stored in the database */ - databaseId: Scalars['Int']; - /** The globally unique identifier of the nav menu object. */ - id: Scalars['ID']; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - 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?: 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; -}; - - -/** Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. */ -export type MenuMenuItemsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. */ -export type MenuItem = DatabaseIdentifier & Node & { - /** Connection between the MenuItem type and the MenuItem type */ - childItems?: 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: Scalars['Int']; - /** Description of the menu item. */ - description?: Maybe; - /** The globally unique identifier of the nav menu item object. */ - id: Scalars['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; - 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: Scalars['String']; - /** 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; -}; - - -/** Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. */ -export type MenuItemChildItemsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** Connection between the MenuItem type and the Menu type */ -export type MenuItemToMenuConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the MenuItem type and the MenuItem type */ -export type MenuItemToMenuItemConnection = { - /** 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 type MenuItemToMenuItemConnectionEdge = { - /** 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 type MenuItemToMenuItemLinkableConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the Menu type and the MenuItem type */ -export type MenuToMenuItemConnection = { - /** 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 type MenuToMenuItemConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** Connection between the NodeWithAuthor type and the User type */ -export type NodeWithAuthorToUserConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the NodeWithFeaturedImage type and the MediaItem type */ -export type NodeWithFeaturedImageToMediaItemConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the NodeWithRevisions type and the ContentNode type */ -export type NodeWithRevisionsToContentNodeConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** The page type */ -export type Page = ContentNode & DatabaseIdentifier & HierarchicalContentNode & MenuItemLinkable & Node & NodeWithAuthor & NodeWithComments & NodeWithContentEditor & NodeWithFeaturedImage & NodeWithPageAttributes & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable & { - /** Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ - ancestors?: 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?: 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?: Maybe; - conditionalTags?: Maybe; - /** The content of the post. */ - content?: Maybe; - /** Connection between the ContentNode type and the ContentType type */ - contentType?: Maybe; - /** The ID of the node in the database. */ - databaseId: Scalars['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?: Maybe; - /** Connection between the ContentNode type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: 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: Scalars['ID']; - /** Whether this page is set to the static front page. */ - isFrontPage: Scalars['Boolean']; - /** Whether this page is set to the blog posts page. */ - isPostsPage: Scalars['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; - /** 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: Scalars['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?: 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; - templates?: Maybe>>; - /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ - title?: Maybe; - /** URI path for the resource */ - uri: Scalars['String']; -}; - - -/** The page type */ -export type PageAncestorsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The page type */ -export type PageChildrenArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The page type */ -export type PageCommentsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The page type */ -export type PageContentArgs = { - format?: Maybe; -}; - - -/** The page type */ -export type PageEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The page type */ -export type PageEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The page type */ -export type PageRevisionsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The page type */ -export type PageTitleArgs = { - format?: Maybe; -}; - -/** Connection between the page type and the Comment type */ -export type PageToCommentConnection = { - /** 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 type PageToCommentConnectionEdge = { - /** 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 type PageToPreviewConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the page type and the page type */ -export type PageToRevisionConnection = { - /** 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 type PageToRevisionConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** An plugin object */ -export type Plugin = Node & { - /** 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: Scalars['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; -}; - -/** The post type */ -export type Post = ContentNode & DatabaseIdentifier & MenuItemLinkable & Node & NodeWithAuthor & NodeWithComments & NodeWithContentEditor & NodeWithExcerpt & NodeWithFeaturedImage & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & NodeWithTrackbacks & UniformResourceIdentifiable & { - /** 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?: 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?: Maybe; - conditionalTags?: Maybe; - /** The content of the post. */ - content?: Maybe; - /** Connection between the ContentNode type and the ContentType type */ - contentType?: Maybe; - /** The ID of the node in the database. */ - databaseId: Scalars['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?: Maybe; - /** Connection between the ContentNode type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: Maybe; - /** The excerpt of the post. */ - excerpt?: 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: Scalars['ID']; - /** 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: Scalars['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?: Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - postId: Scalars['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?: 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?: Maybe; - /** The template assigned to a node of content */ - template?: Maybe; - templates?: Maybe>>; - /** Connection between the post type and the TermNode type */ - terms?: Maybe; - /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ - title?: Maybe; - /** URLs queued to be pinged. */ - toPing?: Maybe>>; - /** URI path for the resource */ - uri: Scalars['String']; -}; - - -/** The post type */ -export type PostCategoriesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The post type */ -export type PostCommentsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The post type */ -export type PostContentArgs = { - format?: Maybe; -}; - - -/** The post type */ -export type PostEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The post type */ -export type PostEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The post type */ -export type PostExcerptArgs = { - format?: Maybe; -}; - - -/** The post type */ -export type PostPostFormatsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The post type */ -export type PostRevisionsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The post type */ -export type PostTagsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The post type */ -export type PostTermsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The post type */ -export type PostTitleArgs = { - format?: Maybe; -}; - -/** The postFormat type */ -export type PostFormat = DatabaseIdentifier & Node & TermNode & UniformResourceIdentifiable & { - conditionalTags?: Maybe; - /** Connection between the postFormat type and the ContentNode type */ - contentNodes?: Maybe; - /** The number of objects connected to the object */ - count?: Maybe; - /** Identifies the primary key from the database. */ - databaseId: Scalars['Int']; - /** The description of the object */ - description?: Maybe; - /** Connection between the TermNode type and the EnqueuedScript type */ - enqueuedScripts?: Maybe; - /** Connection between the TermNode type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: Maybe; - /** The globally unique ID for the object */ - id: Scalars['ID']; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** 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?: Maybe; - /** An alphanumeric identifier for the object unique to its type. */ - slug?: Maybe; - /** Connection between the postFormat type and the Taxonomy type */ - taxonomy?: Maybe; - templates?: 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: Scalars['String']; -}; - - -/** The postFormat type */ -export type PostFormatContentNodesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The postFormat type */ -export type PostFormatEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The postFormat type */ -export type PostFormatEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The postFormat type */ -export type PostFormatPostsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** Connection between the postFormat type and the ContentNode type */ -export type PostFormatToContentNodeConnection = { - /** 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 type PostFormatToContentNodeConnectionEdge = { - /** 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 type PostFormatToPostConnection = { - /** 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 type PostFormatToPostConnectionEdge = { - /** 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 type PostFormatToTaxonomyConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the post type and the category type */ -export type PostToCategoryConnection = { - /** 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 type PostToCategoryConnectionEdge = { - /** 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 type PostToCommentConnection = { - /** 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 type PostToCommentConnectionEdge = { - /** 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 type PostToPostFormatConnection = { - /** 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 type PostToPostFormatConnectionEdge = { - /** 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 post type */ -export type PostToPreviewConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** Connection between the post type and the post type */ -export type PostToRevisionConnection = { - /** 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 type PostToRevisionConnectionEdge = { - /** 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 type PostToTagConnection = { - /** 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 type PostToTagConnectionEdge = { - /** 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 TermNode type */ -export type PostToTermNodeConnection = { - /** 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 type PostToTermNodeConnectionEdge = { - /** 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 type PostTypeLabelDetails = { - /** 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; -}; - -/** The reading setting type */ -export type ReadingSettings = { - /** Blog pages show at most. */ - postsPerPage?: Maybe; -}; - -/** The payload for the registerUser mutation */ -export type RegisterUserPayload = { - clientMutationId?: Maybe; - user?: Maybe; -}; - -/** The payload for the resetUserPassword mutation */ -export type ResetUserPasswordPayload = { - clientMutationId?: Maybe; - user?: Maybe; -}; - -/** The payload for the restoreComment mutation */ -export type RestoreCommentPayload = { - clientMutationId?: Maybe; - /** The restored comment object */ - comment?: Maybe; - /** The ID of the restored comment */ - restoredId?: Maybe; -}; - -/** The root mutation */ -export type RootMutation = { - /** The payload for the createCategory mutation */ - createCategory?: Maybe; - /** The payload for the createComment mutation */ - createComment?: Maybe; - /** The payload for the createMediaItem mutation */ - createMediaItem?: Maybe; - /** The payload for the createPage mutation */ - createPage?: Maybe; - /** The payload for the createPost mutation */ - createPost?: Maybe; - /** The payload for the createPostFormat mutation */ - createPostFormat?: Maybe; - /** The payload for the createTag mutation */ - createTag?: Maybe; - /** The payload for the createUser mutation */ - createUser?: Maybe; - /** The payload for the deleteCategory mutation */ - deleteCategory?: Maybe; - /** The payload for the deleteComment mutation */ - deleteComment?: Maybe; - /** The payload for the deleteMediaItem mutation */ - deleteMediaItem?: Maybe; - /** The payload for the deletePage mutation */ - deletePage?: Maybe; - /** The payload for the deletePost mutation */ - deletePost?: Maybe; - /** The payload for the deletePostFormat mutation */ - deletePostFormat?: Maybe; - /** The payload for the deleteTag mutation */ - deleteTag?: Maybe; - /** The payload for the deleteUser mutation */ - deleteUser?: Maybe; - increaseCount?: Maybe; - /** The payload for the registerUser mutation */ - registerUser?: Maybe; - /** The payload for the resetUserPassword mutation */ - resetUserPassword?: Maybe; - /** The payload for the restoreComment mutation */ - restoreComment?: Maybe; - /** The payload for the sendPasswordResetEmail mutation */ - sendPasswordResetEmail?: Maybe; - /** The payload for the UpdateCategory mutation */ - updateCategory?: Maybe; - /** The payload for the updateComment mutation */ - updateComment?: Maybe; - /** The payload for the updateMediaItem mutation */ - updateMediaItem?: Maybe; - /** The payload for the updatePage mutation */ - updatePage?: Maybe; - /** The payload for the updatePost mutation */ - updatePost?: Maybe; - /** The payload for the UpdatePostFormat mutation */ - updatePostFormat?: Maybe; - /** The payload for the updateSettings mutation */ - updateSettings?: Maybe; - /** The payload for the UpdateTag mutation */ - updateTag?: Maybe; - /** The payload for the updateUser mutation */ - updateUser?: Maybe; -}; - - -/** The root mutation */ -export type RootMutationCreateCategoryArgs = { - input: CreateCategoryInput; -}; - - -/** The root mutation */ -export type RootMutationCreateCommentArgs = { - input: CreateCommentInput; -}; - - -/** The root mutation */ -export type RootMutationCreateMediaItemArgs = { - input: CreateMediaItemInput; -}; - - -/** The root mutation */ -export type RootMutationCreatePageArgs = { - input: CreatePageInput; -}; - - -/** The root mutation */ -export type RootMutationCreatePostArgs = { - input: CreatePostInput; -}; - - -/** The root mutation */ -export type RootMutationCreatePostFormatArgs = { - input: CreatePostFormatInput; -}; - - -/** The root mutation */ -export type RootMutationCreateTagArgs = { - input: CreateTagInput; -}; - - -/** The root mutation */ -export type RootMutationCreateUserArgs = { - input: CreateUserInput; -}; - - -/** The root mutation */ -export type RootMutationDeleteCategoryArgs = { - input: DeleteCategoryInput; -}; - - -/** The root mutation */ -export type RootMutationDeleteCommentArgs = { - input: DeleteCommentInput; -}; - - -/** The root mutation */ -export type RootMutationDeleteMediaItemArgs = { - input: DeleteMediaItemInput; -}; - - -/** The root mutation */ -export type RootMutationDeletePageArgs = { - input: DeletePageInput; -}; - - -/** The root mutation */ -export type RootMutationDeletePostArgs = { - input: DeletePostInput; -}; - - -/** The root mutation */ -export type RootMutationDeletePostFormatArgs = { - input: DeletePostFormatInput; -}; - - -/** The root mutation */ -export type RootMutationDeleteTagArgs = { - input: DeleteTagInput; -}; - - -/** The root mutation */ -export type RootMutationDeleteUserArgs = { - input: DeleteUserInput; -}; - - -/** The root mutation */ -export type RootMutationIncreaseCountArgs = { - count?: Maybe; -}; - - -/** The root mutation */ -export type RootMutationRegisterUserArgs = { - input: RegisterUserInput; -}; - - -/** The root mutation */ -export type RootMutationResetUserPasswordArgs = { - input: ResetUserPasswordInput; -}; - - -/** The root mutation */ -export type RootMutationRestoreCommentArgs = { - input: RestoreCommentInput; -}; - - -/** The root mutation */ -export type RootMutationSendPasswordResetEmailArgs = { - input: SendPasswordResetEmailInput; -}; - - -/** The root mutation */ -export type RootMutationUpdateCategoryArgs = { - input: UpdateCategoryInput; -}; - - -/** The root mutation */ -export type RootMutationUpdateCommentArgs = { - input: UpdateCommentInput; -}; - - -/** The root mutation */ -export type RootMutationUpdateMediaItemArgs = { - input: UpdateMediaItemInput; -}; - - -/** The root mutation */ -export type RootMutationUpdatePageArgs = { - input: UpdatePageInput; -}; - - -/** The root mutation */ -export type RootMutationUpdatePostArgs = { - input: UpdatePostInput; -}; - - -/** The root mutation */ -export type RootMutationUpdatePostFormatArgs = { - input: UpdatePostFormatInput; -}; - - -/** The root mutation */ -export type RootMutationUpdateSettingsArgs = { - input: UpdateSettingsInput; -}; - - -/** The root mutation */ -export type RootMutationUpdateTagArgs = { - input: UpdateTagInput; -}; - - -/** The root mutation */ -export type RootMutationUpdateUserArgs = { - input: UpdateUserInput; -}; - -/** The root entry point into the Graph */ -export type RootQuery = { - /** Entry point to get all settings for the site */ - allSettings?: Maybe; - /** Connection between the RootQuery type and the category type */ - categories?: Maybe; - /** A 0bject */ - category?: Maybe; - /** Returns a Comment */ - comment?: Maybe; - /** Connection between the RootQuery type and the Comment type */ - comments?: Maybe; - /** A node used to manage content */ - contentNode?: Maybe; - /** Connection between the RootQuery type and the ContentNode type */ - contentNodes?: Maybe; - /** Fetch a Content Type node by unique Identifier */ - contentType?: Maybe; - /** Connection between the RootQuery type and the ContentType type */ - contentTypes?: Maybe; - discussionSettings?: Maybe; - generalSettings?: Maybe; - /** An object of the mediaItem Type. */ - mediaItem?: Maybe; - /** - * A mediaItem object - * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") - */ - mediaItemBy?: Maybe; - /** Connection between the RootQuery type and the mediaItem type */ - mediaItems?: Maybe; - /** A WordPress navigation menu */ - menu?: Maybe; - /** A WordPress navigation menu item */ - menuItem?: Maybe; - /** Connection between the RootQuery type and the MenuItem type */ - menuItems?: Maybe; - /** Connection between the RootQuery type and the Menu type */ - menus?: Maybe; - /** Fetches an object given its ID */ - node?: Maybe; - nodeByUri?: Maybe; - /** An object of the page Type. */ - page?: Maybe; - /** - * A page object - * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") - */ - pageBy?: Maybe; - /** Connection between the RootQuery type and the page type */ - pages?: Maybe; - /** A WordPress plugin */ - plugin?: Maybe; - /** Connection between the RootQuery type and the Plugin type */ - plugins?: Maybe; - /** An object of the post Type. */ - post?: Maybe; - /** - * A post object - * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") - */ - postBy?: Maybe; - /** A 0bject */ - postFormat?: Maybe; - /** Connection between the RootQuery type and the postFormat type */ - postFormats?: Maybe; - /** Connection between the RootQuery type and the post type */ - posts?: Maybe; - readingSettings?: Maybe; - /** Connection between the RootQuery type and the EnqueuedScript type */ - registeredScripts?: Maybe; - /** Connection between the RootQuery type and the EnqueuedStylesheet type */ - registeredStylesheets?: Maybe; - /** Connection between the RootQuery type and the ContentRevisionUnion type */ - revisions?: Maybe; - /** A 0bject */ - tag?: Maybe; - /** Connection between the RootQuery type and the tag type */ - tags?: Maybe; - /** Connection between the RootQuery type and the Taxonomy type */ - taxonomies?: Maybe; - /** Fetch a Taxonomy node by unique Identifier */ - taxonomy?: Maybe; - /** A node in a taxonomy used to group and relate content nodes */ - termNode?: Maybe; - /** Connection between the RootQuery type and the TermNode type */ - terms?: Maybe; - /** A Theme object */ - theme?: Maybe; - /** Connection between the RootQuery type and the Theme type */ - themes?: Maybe; - /** Returns a user */ - user?: Maybe; - /** Returns a user role */ - userRole?: Maybe; - /** Connection between the RootQuery type and the UserRole type */ - userRoles?: Maybe; - /** Connection between the RootQuery type and the User type */ - users?: Maybe; - /** Returns the current user */ - viewer?: Maybe; - writingSettings?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryCategoriesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryCategoryArgs = { - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryCommentArgs = { - id: Scalars['ID']; -}; - - -/** The root entry point into the Graph */ -export type RootQueryCommentsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryContentNodeArgs = { - asPreview?: Maybe; - contentType?: Maybe; - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryContentNodesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryContentTypeArgs = { - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryContentTypesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryMediaItemArgs = { - asPreview?: Maybe; - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryMediaItemByArgs = { - id?: Maybe; - mediaItemId?: Maybe; - slug?: Maybe; - uri?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryMediaItemsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryMenuArgs = { - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryMenuItemArgs = { - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryMenuItemsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryMenusArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryNodeArgs = { - id?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryNodeByUriArgs = { - uri: Scalars['String']; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPageArgs = { - asPreview?: Maybe; - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPageByArgs = { - id?: Maybe; - pageId?: Maybe; - uri?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPagesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPluginArgs = { - id: Scalars['ID']; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPluginsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPostArgs = { - asPreview?: Maybe; - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPostByArgs = { - id?: Maybe; - postId?: Maybe; - slug?: Maybe; - uri?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPostFormatArgs = { - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPostFormatsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryPostsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryRegisteredScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryRegisteredStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryRevisionsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryTagArgs = { - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryTagsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryTaxonomiesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryTaxonomyArgs = { - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryTermNodeArgs = { - id: Scalars['ID']; - idType?: Maybe; - taxonomy?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryTermsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryThemeArgs = { - id: Scalars['ID']; -}; - - -/** The root entry point into the Graph */ -export type RootQueryThemesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryUserArgs = { - id: Scalars['ID']; - idType?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryUserRoleArgs = { - id: Scalars['ID']; -}; - - -/** The root entry point into the Graph */ -export type RootQueryUserRolesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The root entry point into the Graph */ -export type RootQueryUsersArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** Connection between the RootQuery type and the category type */ -export type RootQueryToCategoryConnection = { - /** 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 type RootQueryToCategoryConnectionEdge = { - /** 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 Comment type */ -export type RootQueryToCommentConnection = { - /** 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 type RootQueryToCommentConnectionEdge = { - /** 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 type RootQueryToContentNodeConnection = { - /** 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 type RootQueryToContentNodeConnectionEdge = { - /** 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 type RootQueryToContentRevisionUnionConnection = { - /** 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 type RootQueryToContentRevisionUnionConnectionEdge = { - /** 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 type RootQueryToContentTypeConnection = { - /** 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 type RootQueryToContentTypeConnectionEdge = { - /** 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 EnqueuedScript type */ -export type RootQueryToEnqueuedScriptConnection = { - /** 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 type RootQueryToEnqueuedScriptConnectionEdge = { - /** 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 type RootQueryToEnqueuedStylesheetConnection = { - /** 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 type RootQueryToEnqueuedStylesheetConnectionEdge = { - /** 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 mediaItem type */ -export type RootQueryToMediaItemConnection = { - /** 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 type RootQueryToMediaItemConnectionEdge = { - /** 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 type RootQueryToMenuConnection = { - /** 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 type RootQueryToMenuConnectionEdge = { - /** 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 MenuItem type */ -export type RootQueryToMenuItemConnection = { - /** 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 type RootQueryToMenuItemConnectionEdge = { - /** 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 type RootQueryToPageConnection = { - /** 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 type RootQueryToPageConnectionEdge = { - /** 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 Plugin type */ -export type RootQueryToPluginConnection = { - /** 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 type RootQueryToPluginConnectionEdge = { - /** 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 type RootQueryToPostConnection = { - /** 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 type RootQueryToPostConnectionEdge = { - /** 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 type RootQueryToPostFormatConnection = { - /** 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 type RootQueryToPostFormatConnectionEdge = { - /** 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 type RootQueryToTagConnection = { - /** 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 type RootQueryToTagConnectionEdge = { - /** 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 type RootQueryToTaxonomyConnection = { - /** 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 type RootQueryToTaxonomyConnectionEdge = { - /** 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 type RootQueryToTermNodeConnection = { - /** 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 type RootQueryToTermNodeConnectionEdge = { - /** 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 Theme type */ -export type RootQueryToThemeConnection = { - /** 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 type RootQueryToThemeConnectionEdge = { - /** 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 type RootQueryToUserConnection = { - /** 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 type RootQueryToUserConnectionEdge = { - /** 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 type RootQueryToUserRoleConnection = { - /** 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 type RootQueryToUserRoleConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** The payload for the sendPasswordResetEmail mutation */ -export type SendPasswordResetEmailPayload = { - clientMutationId?: Maybe; - /** The user that the password reset email was sent to */ - user?: Maybe; -}; - -/** All of the registered settings */ -export type Settings = { - /** 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; -}; - -/** The tag type */ -export type Tag = DatabaseIdentifier & MenuItemLinkable & Node & TermNode & UniformResourceIdentifiable & { - conditionalTags?: Maybe; - /** Connection between the tag type and the ContentNode type */ - contentNodes?: Maybe; - /** The number of objects connected to the object */ - count?: Maybe; - /** Identifies the primary key from the database. */ - databaseId: Scalars['Int']; - /** The description of the object */ - description?: Maybe; - /** Connection between the TermNode type and the EnqueuedScript type */ - enqueuedScripts?: Maybe; - /** Connection between the TermNode type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: Maybe; - /** The globally unique ID for the object */ - id: Scalars['ID']; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** 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?: 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; - templates?: 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: Scalars['String']; -}; - - -/** The tag type */ -export type TagContentNodesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** The tag type */ -export type TagEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The tag type */ -export type TagEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** The tag type */ -export type TagPostsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - -/** Connection between the tag type and the ContentNode type */ -export type TagToContentNodeConnection = { - /** 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 type TagToContentNodeConnectionEdge = { - /** 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 type TagToPostConnection = { - /** 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 type TagToPostConnectionEdge = { - /** 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 type TagToTaxonomyConnectionEdge = { - /** The nodes of the connection, without the edges */ - node?: Maybe; -}; - -/** A taxonomy object */ -export type Taxonomy = Node & { - /** List of Content Types associated with the Taxonomy */ - connectedContentTypes?: 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: Scalars['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; -}; - - -/** A taxonomy object */ -export type TaxonomyConnectedContentTypesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - -/** Connection between the Taxonomy type and the ContentType type */ -export type TaxonomyToContentTypeConnection = { - /** 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 type TaxonomyToContentTypeConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** Connection between the TermNode type and the EnqueuedScript type */ -export type TermNodeToEnqueuedScriptConnection = { - /** 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 type TermNodeToEnqueuedScriptConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** Connection between the TermNode type and the EnqueuedStylesheet type */ -export type TermNodeToEnqueuedStylesheetConnection = { - /** 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 type TermNodeToEnqueuedStylesheetConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** A theme object */ -export type Theme = Node & { - /** 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: Scalars['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; -}; - -/** The payload for the UpdateCategory mutation */ -export type UpdateCategoryPayload = { - /** The created category */ - category?: Maybe; - clientMutationId?: Maybe; -}; - -/** The payload for the updateComment mutation */ -export type UpdateCommentPayload = { - 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 type UpdateMediaItemPayload = { - clientMutationId?: Maybe; - mediaItem?: Maybe; -}; - -/** The payload for the updatePage mutation */ -export type UpdatePagePayload = { - clientMutationId?: Maybe; - page?: Maybe; -}; - -/** The payload for the UpdatePostFormat mutation */ -export type UpdatePostFormatPayload = { - clientMutationId?: Maybe; - /** The created post_format */ - postFormat?: Maybe; -}; - -/** The payload for the updatePost mutation */ -export type UpdatePostPayload = { - clientMutationId?: Maybe; - post?: Maybe; -}; - -/** The payload for the updateSettings mutation */ -export type UpdateSettingsPayload = { - allSettings?: Maybe; - clientMutationId?: Maybe; - discussionSettings?: Maybe; - generalSettings?: Maybe; - readingSettings?: Maybe; - writingSettings?: Maybe; -}; - -/** The payload for the UpdateTag mutation */ -export type UpdateTagPayload = { - clientMutationId?: Maybe; - /** The created post_tag */ - tag?: Maybe; -}; - -/** The payload for the updateUser mutation */ -export type UpdateUserPayload = { - clientMutationId?: Maybe; - user?: Maybe; -}; - -/** A User object */ -export type User = Commenter & DatabaseIdentifier & Node & UniformResourceIdentifiable & { - /** Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument. */ - avatar?: 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?: Maybe; - conditionalTags?: Maybe; - /** Identifies the primary key from the database. */ - databaseId: Scalars['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?: Maybe; - /** Connection between the User type and the EnqueuedStylesheet type */ - enqueuedStylesheets?: 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: Scalars['ID']; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** 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?: 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?: Maybe; - /** Connection between the User type and the post type */ - posts?: 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?: Maybe; - /** Connection between the User type and the UserRole type */ - roles?: Maybe; - /** The slug for the user. This field is equivalent to WP_User->user_nicename */ - slug?: Maybe; - templates?: 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; -}; - - -/** A User object */ -export type UserAvatarArgs = { - forceDefault?: Maybe; - rating?: Maybe; - size?: Maybe; -}; - - -/** A User object */ -export type UserCommentsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** A User object */ -export type UserEnqueuedScriptsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** A User object */ -export type UserEnqueuedStylesheetsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -/** A User object */ -export type UserMediaItemsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** A User object */ -export type UserPagesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** A User object */ -export type UserPostsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** A User object */ -export type UserRevisionsArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; - where?: Maybe; -}; - - -/** A User object */ -export type UserRolesArgs = { - after?: Maybe; - before?: Maybe; - first?: Maybe; - last?: Maybe; -}; - -/** A user role object */ -export type UserRole = Node & { - /** 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: Scalars['ID']; - /** Whether the object is restricted from the current viewer */ - isRestricted?: Maybe; - /** The registered name of the role */ - name?: Maybe; -}; - -/** Connection between the User type and the Comment type */ -export type UserToCommentConnection = { - /** 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 type UserToCommentConnectionEdge = { - /** 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 type UserToContentRevisionUnionConnection = { - /** 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 type UserToContentRevisionUnionConnectionEdge = { - /** 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 type UserToEnqueuedScriptConnection = { - /** 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 type UserToEnqueuedScriptConnectionEdge = { - /** 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 type UserToEnqueuedStylesheetConnection = { - /** 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 type UserToEnqueuedStylesheetConnectionEdge = { - /** 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 type UserToMediaItemConnection = { - /** 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 type UserToMediaItemConnectionEdge = { - /** 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 page type */ -export type UserToPageConnection = { - /** 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 type UserToPageConnectionEdge = { - /** 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 type UserToPostConnection = { - /** 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 type UserToPostConnectionEdge = { - /** 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 type UserToUserRoleConnection = { - /** 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 type UserToUserRoleConnectionEdge = { - /** A cursor for use in pagination */ - cursor?: Maybe; - /** The item at the end of the edge */ - node?: Maybe; -}; - -/** Information about pagination in a connection. */ -export type WpPageInfo = { - /** When paginating forwards, the cursor to continue. */ - endCursor?: Maybe; - /** When paginating forwards, are there more items? */ - hasNextPage: Scalars['Boolean']; - /** When paginating backwards, are there more items? */ - hasPreviousPage: Scalars['Boolean']; - /** When paginating backwards, the cursor to continue. */ - startCursor?: Maybe; -}; - -/** The writing setting type */ -export type WritingSettings = { - /** Default post category. */ - defaultCategory?: Maybe; - /** Default post format. */ - defaultPostFormat?: Maybe; - /** Convert emoticons like :-) and :-P to graphics on display. */ - useSmilies?: Maybe; -}; - -/** 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 type AvatarRatingEnum = - | 'G' - | 'PG' - | 'R' - | 'X'; - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export type CategoryIdType = - /** The Database ID for the node */ - | 'DATABASE_ID' - /** The hashed Global ID */ - | 'ID' - /** The name of the node */ - | 'NAME' - /** Url friendly name of the node */ - | 'SLUG' - /** The URI for the node */ - | 'URI'; - -/** Options for ordering the connection */ -export type CommentsConnectionOrderbyEnum = - | 'COMMENT_AGENT' - | 'COMMENT_APPROVED' - | 'COMMENT_AUTHOR' - | 'COMMENT_AUTHOR_EMAIL' - | 'COMMENT_AUTHOR_IP' - | 'COMMENT_AUTHOR_URL' - | 'COMMENT_CONTENT' - | 'COMMENT_DATE' - | 'COMMENT_DATE_GMT' - | 'COMMENT_ID' - | 'COMMENT_IN' - | 'COMMENT_KARMA' - | 'COMMENT_PARENT' - | 'COMMENT_POST_ID' - | 'COMMENT_TYPE' - | 'USER_ID'; - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export type ContentNodeIdTypeEnum = - /** Identify a resource by the Database ID. */ - | 'DATABASE_ID' - /** Identify a resource by the (hashed) Global ID. */ - | 'ID' - /** Identify a resource by the URI. */ - | 'URI'; - -/** Allowed Content Types */ -export type ContentTypeEnum = - /** The Type of Content object */ - | 'ATTACHMENT' - /** The Type of Content object */ - | 'PAGE' - /** The Type of Content object */ - | 'POST'; - -/** The Type of Identifier used to fetch a single Content Type node. To be used along with the "id" field. Default is "ID". */ -export type ContentTypeIdTypeEnum = - /** The globally unique ID */ - | 'ID' - /** The name of the content type. */ - | 'NAME'; - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export type MediaItemIdType = - /** Identify a resource by the Database ID. */ - | 'DATABASE_ID' - /** Identify a resource by the (hashed) Global ID. */ - | 'ID' - /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ - | 'SLUG' - /** Identify a media item by its source url */ - | 'SOURCE_URL' - /** Identify a resource by the URI. */ - | 'URI'; - -/** The size of the media item object. */ -export type MediaItemSizeEnum = - /** MediaItem with the large size */ - | 'LARGE' - /** MediaItem with the medium size */ - | 'MEDIUM' - /** MediaItem with the medium_large size */ - | 'MEDIUM_LARGE' - /** MediaItem with the post-thumbnail size */ - | 'POST_THUMBNAIL' - /** MediaItem with the thumbnail size */ - | 'THUMBNAIL' - /** MediaItem with the twentytwenty-fullscreen size */ - | 'TWENTYTWENTY_FULLSCREEN' - /** MediaItem with the 1536x1536 size */ - | '_1536X1536' - /** MediaItem with the 2048x2048 size */ - | '_2048X2048'; - -/** The status of the media item object. */ -export type MediaItemStatusEnum = - /** Objects with the auto-draft status */ - | 'AUTO_DRAFT' - /** Objects with the inherit status */ - | 'INHERIT' - /** Objects with the private status */ - | 'PRIVATE' - /** Objects with the trash status */ - | 'TRASH'; - -/** The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. */ -export type MenuItemNodeIdTypeEnum = - /** Identify a resource by the Database ID. */ - | 'DATABASE_ID' - /** Identify a resource by the (hashed) Global ID. */ - | 'ID'; - -/** Registered menu locations */ -export type MenuLocationEnum = - | 'EXPANDED' - | 'FOOTER' - | 'MOBILE' - | 'PRIMARY' - | 'SOCIAL' - | 'TEST'; - -/** The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. */ -export type MenuNodeIdTypeEnum = - /** Identify a menu node by the Database ID. */ - | 'DATABASE_ID' - /** Identify a menu node by the (hashed) Global ID. */ - | 'ID' - /** Identify a menu node by it's name */ - | 'NAME'; - -/** The MimeType of the object */ -export type MimeTypeEnum = - | 'APPLICATION_JAVA' - | 'APPLICATION_MSWORD' - | 'APPLICATION_OCTET_STREAM' - | 'APPLICATION_ONENOTE' - | 'APPLICATION_OXPS' - | 'APPLICATION_PDF' - | 'APPLICATION_RAR' - | 'APPLICATION_RTF' - | 'APPLICATION_TTAF_XML' - | 'APPLICATION_VND_APPLE_KEYNOTE' - | 'APPLICATION_VND_APPLE_NUMBERS' - | 'APPLICATION_VND_APPLE_PAGES' - | 'APPLICATION_VND_MS_ACCESS' - | 'APPLICATION_VND_MS_EXCEL' - | 'APPLICATION_VND_MS_EXCEL_ADDIN_MACROENABLED_12' - | 'APPLICATION_VND_MS_EXCEL_SHEET_BINARY_MACROENABLED_12' - | 'APPLICATION_VND_MS_EXCEL_SHEET_MACROENABLED_12' - | 'APPLICATION_VND_MS_EXCEL_TEMPLATE_MACROENABLED_12' - | 'APPLICATION_VND_MS_POWERPOINT' - | 'APPLICATION_VND_MS_POWERPOINT_ADDIN_MACROENABLED_12' - | 'APPLICATION_VND_MS_POWERPOINT_PRESENTATION_MACROENABLED_12' - | 'APPLICATION_VND_MS_POWERPOINT_SLIDESHOW_MACROENABLED_12' - | 'APPLICATION_VND_MS_POWERPOINT_SLIDE_MACROENABLED_12' - | 'APPLICATION_VND_MS_POWERPOINT_TEMPLATE_MACROENABLED_12' - | 'APPLICATION_VND_MS_PROJECT' - | 'APPLICATION_VND_MS_WORD_DOCUMENT_MACROENABLED_12' - | 'APPLICATION_VND_MS_WORD_TEMPLATE_MACROENABLED_12' - | 'APPLICATION_VND_MS_WRITE' - | 'APPLICATION_VND_MS_XPSDOCUMENT' - | 'APPLICATION_VND_OASIS_OPENDOCUMENT_CHART' - | 'APPLICATION_VND_OASIS_OPENDOCUMENT_DATABASE' - | 'APPLICATION_VND_OASIS_OPENDOCUMENT_FORMULA' - | 'APPLICATION_VND_OASIS_OPENDOCUMENT_GRAPHICS' - | 'APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION' - | 'APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET' - | 'APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT' - | 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION' - | 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDE' - | 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDESHOW' - | 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_TEMPLATE' - | 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET' - | 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_TEMPLATE' - | 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT' - | 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_TEMPLATE' - | 'APPLICATION_WORDPERFECT' - | 'APPLICATION_X_7Z_COMPRESSED' - | 'APPLICATION_X_GZIP' - | 'APPLICATION_X_TAR' - | 'APPLICATION_ZIP' - | 'AUDIO_AAC' - | 'AUDIO_FLAC' - | 'AUDIO_MIDI' - | 'AUDIO_MPEG' - | 'AUDIO_OGG' - | 'AUDIO_WAV' - | 'AUDIO_X_MATROSKA' - | 'AUDIO_X_MS_WAX' - | 'AUDIO_X_MS_WMA' - | 'AUDIO_X_REALAUDIO' - | 'IMAGE_BMP' - | 'IMAGE_GIF' - | 'IMAGE_HEIC' - | 'IMAGE_JPEG' - | 'IMAGE_PNG' - | 'IMAGE_TIFF' - | 'IMAGE_X_ICON' - | 'TEXT_CALENDAR' - | 'TEXT_CSS' - | 'TEXT_CSV' - | 'TEXT_PLAIN' - | 'TEXT_RICHTEXT' - | 'TEXT_TAB_SEPARATED_VALUES' - | 'TEXT_VTT' - | 'VIDEO_3GPP' - | 'VIDEO_3GPP2' - | 'VIDEO_AVI' - | 'VIDEO_DIVX' - | 'VIDEO_MP4' - | 'VIDEO_MPEG' - | 'VIDEO_OGG' - | 'VIDEO_QUICKTIME' - | 'VIDEO_WEBM' - | 'VIDEO_X_FLV' - | 'VIDEO_X_MATROSKA' - | 'VIDEO_X_MS_ASF' - | 'VIDEO_X_MS_WM' - | 'VIDEO_X_MS_WMV' - | 'VIDEO_X_MS_WMX'; - -/** The cardinality of the connection order */ -export type OrderEnum = - | 'ASC' - | 'DESC'; - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export type PageIdType = - /** Identify a resource by the Database ID. */ - | 'DATABASE_ID' - /** Identify a resource by the (hashed) Global ID. */ - | 'ID' - /** Identify a resource by the URI. */ - | 'URI'; - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export type PostFormatIdType = - /** The Database ID for the node */ - | 'DATABASE_ID' - /** The hashed Global ID */ - | 'ID' - /** The name of the node */ - | 'NAME' - /** Url friendly name of the node */ - | 'SLUG' - /** The URI for the node */ - | 'URI'; - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export type PostIdType = - /** Identify a resource by the Database ID. */ - | 'DATABASE_ID' - /** Identify a resource by the (hashed) Global ID. */ - | 'ID' - /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ - | 'SLUG' - /** Identify a resource by the URI. */ - | 'URI'; - -/** The format of post field data. */ -export type PostObjectFieldFormatEnum = - /** Provide the field value directly from database */ - | 'RAW' - /** Apply the default WordPress rendering */ - | 'RENDERED'; - -/** The column to use when filtering by date */ -export type PostObjectsConnectionDateColumnEnum = - | 'DATE' - | 'MODIFIED'; - -/** Field to order the connection by */ -export type PostObjectsConnectionOrderbyEnum = - /** Order by author */ - | 'AUTHOR' - /** Order by the number of comments it has acquired */ - | 'COMMENT_COUNT' - /** Order by publish date */ - | 'DATE' - /** Preserve the ID order given in the IN array */ - | 'IN' - /** Order by the menu order value */ - | 'MENU_ORDER' - /** Order by last modified date */ - | 'MODIFIED' - /** Preserve slug order given in the NAME_IN array */ - | 'NAME_IN' - /** Order by parent ID */ - | 'PARENT' - /** Order by slug */ - | 'SLUG' - /** Order by title */ - | 'TITLE'; - -/** The status of the object. */ -export type PostStatusEnum = - /** Objects with the auto-draft status */ - | 'AUTO_DRAFT' - /** Objects with the draft status */ - | 'DRAFT' - /** Objects with the future status */ - | 'FUTURE' - /** Objects with the inherit status */ - | 'INHERIT' - /** Objects with the pending status */ - | 'PENDING' - /** Objects with the private status */ - | 'PRIVATE' - /** Objects with the publish status */ - | 'PUBLISH' - /** Objects with the request-completed status */ - | 'REQUEST_COMPLETED' - /** Objects with the request-confirmed status */ - | 'REQUEST_CONFIRMED' - /** Objects with the request-failed status */ - | 'REQUEST_FAILED' - /** Objects with the request-pending status */ - | 'REQUEST_PENDING' - /** Objects with the trash status */ - | 'TRASH'; - -/** The logical relation between each item in the array when there are more than one. */ -export type RelationEnum = - | 'AND' - | 'OR'; - -/** The Type of Identifier used to fetch a single resource. Default is ID. */ -export type TagIdType = - /** The Database ID for the node */ - | 'DATABASE_ID' - /** The hashed Global ID */ - | 'ID' - /** The name of the node */ - | 'NAME' - /** Url friendly name of the node */ - | 'SLUG' - /** The URI for the node */ - | 'URI'; - -/** Allowed taxonomies */ -export type TaxonomyEnum = - | 'CATEGORY' - | 'POSTFORMAT' - | 'TAG'; - -/** The Type of Identifier used to fetch a single Taxonomy node. To be used along with the "id" field. Default is "ID". */ -export type TaxonomyIdTypeEnum = - /** The globally unique ID */ - | 'ID' - /** The name of the taxonomy */ - | 'NAME'; - -/** The Type of Identifier used to fetch a single resource. Default is "ID". To be used along with the "id" field. */ -export type TermNodeIdTypeEnum = - /** The Database ID for the node */ - | 'DATABASE_ID' - /** The hashed Global ID */ - | 'ID' - /** The name of the node */ - | 'NAME' - /** Url friendly name of the node */ - | 'SLUG' - /** The URI for the node */ - | 'URI'; - -/** Options for ordering the connection by */ -export type TermObjectsConnectionOrderbyEnum = - | 'COUNT' - | 'DESCRIPTION' - | 'NAME' - | 'SLUG' - | 'TERM_GROUP' - | 'TERM_ID' - | 'TERM_ORDER'; - -/** Available timezones */ -export type TimezoneEnum = - /** Abidjan */ - | 'AFRICA_ABIDJAN' - /** Accra */ - | 'AFRICA_ACCRA' - /** Addis Ababa */ - | 'AFRICA_ADDIS_ABABA' - /** Algiers */ - | 'AFRICA_ALGIERS' - /** Asmara */ - | 'AFRICA_ASMARA' - /** Bamako */ - | 'AFRICA_BAMAKO' - /** Bangui */ - | 'AFRICA_BANGUI' - /** Banjul */ - | 'AFRICA_BANJUL' - /** Bissau */ - | 'AFRICA_BISSAU' - /** Blantyre */ - | 'AFRICA_BLANTYRE' - /** Brazzaville */ - | 'AFRICA_BRAZZAVILLE' - /** Bujumbura */ - | 'AFRICA_BUJUMBURA' - /** Cairo */ - | 'AFRICA_CAIRO' - /** Casablanca */ - | 'AFRICA_CASABLANCA' - /** Ceuta */ - | 'AFRICA_CEUTA' - /** Conakry */ - | 'AFRICA_CONAKRY' - /** Dakar */ - | 'AFRICA_DAKAR' - /** Dar es Salaam */ - | 'AFRICA_DAR_ES_SALAAM' - /** Djibouti */ - | 'AFRICA_DJIBOUTI' - /** Douala */ - | 'AFRICA_DOUALA' - /** El Aaiun */ - | 'AFRICA_EL_AAIUN' - /** Freetown */ - | 'AFRICA_FREETOWN' - /** Gaborone */ - | 'AFRICA_GABORONE' - /** Harare */ - | 'AFRICA_HARARE' - /** Johannesburg */ - | 'AFRICA_JOHANNESBURG' - /** Juba */ - | 'AFRICA_JUBA' - /** Kampala */ - | 'AFRICA_KAMPALA' - /** Khartoum */ - | 'AFRICA_KHARTOUM' - /** Kigali */ - | 'AFRICA_KIGALI' - /** Kinshasa */ - | 'AFRICA_KINSHASA' - /** Lagos */ - | 'AFRICA_LAGOS' - /** Libreville */ - | 'AFRICA_LIBREVILLE' - /** Lome */ - | 'AFRICA_LOME' - /** Luanda */ - | 'AFRICA_LUANDA' - /** Lubumbashi */ - | 'AFRICA_LUBUMBASHI' - /** Lusaka */ - | 'AFRICA_LUSAKA' - /** Malabo */ - | 'AFRICA_MALABO' - /** Maputo */ - | 'AFRICA_MAPUTO' - /** Maseru */ - | 'AFRICA_MASERU' - /** Mbabane */ - | 'AFRICA_MBABANE' - /** Mogadishu */ - | 'AFRICA_MOGADISHU' - /** Monrovia */ - | 'AFRICA_MONROVIA' - /** Nairobi */ - | 'AFRICA_NAIROBI' - /** Ndjamena */ - | 'AFRICA_NDJAMENA' - /** Niamey */ - | 'AFRICA_NIAMEY' - /** Nouakchott */ - | 'AFRICA_NOUAKCHOTT' - /** Ouagadougou */ - | 'AFRICA_OUAGADOUGOU' - /** Porto-Novo */ - | 'AFRICA_PORTO_NOVO' - /** Sao Tome */ - | 'AFRICA_SAO_TOME' - /** Tripoli */ - | 'AFRICA_TRIPOLI' - /** Tunis */ - | 'AFRICA_TUNIS' - /** Windhoek */ - | 'AFRICA_WINDHOEK' - /** Adak */ - | 'AMERICA_ADAK' - /** Anchorage */ - | 'AMERICA_ANCHORAGE' - /** Anguilla */ - | 'AMERICA_ANGUILLA' - /** Antigua */ - | 'AMERICA_ANTIGUA' - /** Araguaina */ - | 'AMERICA_ARAGUAINA' - /** Argentina - Buenos Aires */ - | 'AMERICA_ARGENTINA_BUENOS_AIRES' - /** Argentina - Catamarca */ - | 'AMERICA_ARGENTINA_CATAMARCA' - /** Argentina - Cordoba */ - | 'AMERICA_ARGENTINA_CORDOBA' - /** Argentina - Jujuy */ - | 'AMERICA_ARGENTINA_JUJUY' - /** Argentina - La Rioja */ - | 'AMERICA_ARGENTINA_LA_RIOJA' - /** Argentina - Mendoza */ - | 'AMERICA_ARGENTINA_MENDOZA' - /** Argentina - Rio Gallegos */ - | 'AMERICA_ARGENTINA_RIO_GALLEGOS' - /** Argentina - Salta */ - | 'AMERICA_ARGENTINA_SALTA' - /** Argentina - San Juan */ - | 'AMERICA_ARGENTINA_SAN_JUAN' - /** Argentina - San Luis */ - | 'AMERICA_ARGENTINA_SAN_LUIS' - /** Argentina - Tucuman */ - | 'AMERICA_ARGENTINA_TUCUMAN' - /** Argentina - Ushuaia */ - | 'AMERICA_ARGENTINA_USHUAIA' - /** Aruba */ - | 'AMERICA_ARUBA' - /** Asuncion */ - | 'AMERICA_ASUNCION' - /** Atikokan */ - | 'AMERICA_ATIKOKAN' - /** Bahia */ - | 'AMERICA_BAHIA' - /** Bahia Banderas */ - | 'AMERICA_BAHIA_BANDERAS' - /** Barbados */ - | 'AMERICA_BARBADOS' - /** Belem */ - | 'AMERICA_BELEM' - /** Belize */ - | 'AMERICA_BELIZE' - /** Blanc-Sablon */ - | 'AMERICA_BLANC_SABLON' - /** Boa Vista */ - | 'AMERICA_BOA_VISTA' - /** Bogota */ - | 'AMERICA_BOGOTA' - /** Boise */ - | 'AMERICA_BOISE' - /** Cambridge Bay */ - | 'AMERICA_CAMBRIDGE_BAY' - /** Campo Grande */ - | 'AMERICA_CAMPO_GRANDE' - /** Cancun */ - | 'AMERICA_CANCUN' - /** Caracas */ - | 'AMERICA_CARACAS' - /** Cayenne */ - | 'AMERICA_CAYENNE' - /** Cayman */ - | 'AMERICA_CAYMAN' - /** Chicago */ - | 'AMERICA_CHICAGO' - /** Chihuahua */ - | 'AMERICA_CHIHUAHUA' - /** Costa Rica */ - | 'AMERICA_COSTA_RICA' - /** Creston */ - | 'AMERICA_CRESTON' - /** Cuiaba */ - | 'AMERICA_CUIABA' - /** Curacao */ - | 'AMERICA_CURACAO' - /** Danmarkshavn */ - | 'AMERICA_DANMARKSHAVN' - /** Dawson */ - | 'AMERICA_DAWSON' - /** Dawson Creek */ - | 'AMERICA_DAWSON_CREEK' - /** Denver */ - | 'AMERICA_DENVER' - /** Detroit */ - | 'AMERICA_DETROIT' - /** Dominica */ - | 'AMERICA_DOMINICA' - /** Edmonton */ - | 'AMERICA_EDMONTON' - /** Eirunepe */ - | 'AMERICA_EIRUNEPE' - /** El Salvador */ - | 'AMERICA_EL_SALVADOR' - /** Fortaleza */ - | 'AMERICA_FORTALEZA' - /** Fort Nelson */ - | 'AMERICA_FORT_NELSON' - /** Glace Bay */ - | 'AMERICA_GLACE_BAY' - /** Godthab */ - | 'AMERICA_GODTHAB' - /** Goose Bay */ - | 'AMERICA_GOOSE_BAY' - /** Grand Turk */ - | 'AMERICA_GRAND_TURK' - /** Grenada */ - | 'AMERICA_GRENADA' - /** Guadeloupe */ - | 'AMERICA_GUADELOUPE' - /** Guatemala */ - | 'AMERICA_GUATEMALA' - /** Guayaquil */ - | 'AMERICA_GUAYAQUIL' - /** Guyana */ - | 'AMERICA_GUYANA' - /** Halifax */ - | 'AMERICA_HALIFAX' - /** Havana */ - | 'AMERICA_HAVANA' - /** Hermosillo */ - | 'AMERICA_HERMOSILLO' - /** Indiana - Indianapolis */ - | 'AMERICA_INDIANA_INDIANAPOLIS' - /** Indiana - Knox */ - | 'AMERICA_INDIANA_KNOX' - /** Indiana - Marengo */ - | 'AMERICA_INDIANA_MARENGO' - /** Indiana - Petersburg */ - | 'AMERICA_INDIANA_PETERSBURG' - /** Indiana - Tell City */ - | 'AMERICA_INDIANA_TELL_CITY' - /** Indiana - Vevay */ - | 'AMERICA_INDIANA_VEVAY' - /** Indiana - Vincennes */ - | 'AMERICA_INDIANA_VINCENNES' - /** Indiana - Winamac */ - | 'AMERICA_INDIANA_WINAMAC' - /** Inuvik */ - | 'AMERICA_INUVIK' - /** Iqaluit */ - | 'AMERICA_IQALUIT' - /** Jamaica */ - | 'AMERICA_JAMAICA' - /** Juneau */ - | 'AMERICA_JUNEAU' - /** Kentucky - Louisville */ - | 'AMERICA_KENTUCKY_LOUISVILLE' - /** Kentucky - Monticello */ - | 'AMERICA_KENTUCKY_MONTICELLO' - /** Kralendijk */ - | 'AMERICA_KRALENDIJK' - /** La Paz */ - | 'AMERICA_LA_PAZ' - /** Lima */ - | 'AMERICA_LIMA' - /** Los Angeles */ - | 'AMERICA_LOS_ANGELES' - /** Lower Princes */ - | 'AMERICA_LOWER_PRINCES' - /** Maceio */ - | 'AMERICA_MACEIO' - /** Managua */ - | 'AMERICA_MANAGUA' - /** Manaus */ - | 'AMERICA_MANAUS' - /** Marigot */ - | 'AMERICA_MARIGOT' - /** Martinique */ - | 'AMERICA_MARTINIQUE' - /** Matamoros */ - | 'AMERICA_MATAMOROS' - /** Mazatlan */ - | 'AMERICA_MAZATLAN' - /** Menominee */ - | 'AMERICA_MENOMINEE' - /** Merida */ - | 'AMERICA_MERIDA' - /** Metlakatla */ - | 'AMERICA_METLAKATLA' - /** Mexico City */ - | 'AMERICA_MEXICO_CITY' - /** Miquelon */ - | 'AMERICA_MIQUELON' - /** Moncton */ - | 'AMERICA_MONCTON' - /** Monterrey */ - | 'AMERICA_MONTERREY' - /** Montevideo */ - | 'AMERICA_MONTEVIDEO' - /** Montserrat */ - | 'AMERICA_MONTSERRAT' - /** Nassau */ - | 'AMERICA_NASSAU' - /** New York */ - | 'AMERICA_NEW_YORK' - /** Nipigon */ - | 'AMERICA_NIPIGON' - /** Nome */ - | 'AMERICA_NOME' - /** Noronha */ - | 'AMERICA_NORONHA' - /** North Dakota - Beulah */ - | 'AMERICA_NORTH_DAKOTA_BEULAH' - /** North Dakota - Center */ - | 'AMERICA_NORTH_DAKOTA_CENTER' - /** North Dakota - New Salem */ - | 'AMERICA_NORTH_DAKOTA_NEW_SALEM' - /** Ojinaga */ - | 'AMERICA_OJINAGA' - /** Panama */ - | 'AMERICA_PANAMA' - /** Pangnirtung */ - | 'AMERICA_PANGNIRTUNG' - /** Paramaribo */ - | 'AMERICA_PARAMARIBO' - /** Phoenix */ - | 'AMERICA_PHOENIX' - /** Porto Velho */ - | 'AMERICA_PORTO_VELHO' - /** Port-au-Prince */ - | 'AMERICA_PORT_AU_PRINCE' - /** Port of Spain */ - | 'AMERICA_PORT_OF_SPAIN' - /** Puerto Rico */ - | 'AMERICA_PUERTO_RICO' - /** Punta Arenas */ - | 'AMERICA_PUNTA_ARENAS' - /** Rainy River */ - | 'AMERICA_RAINY_RIVER' - /** Rankin Inlet */ - | 'AMERICA_RANKIN_INLET' - /** Recife */ - | 'AMERICA_RECIFE' - /** Regina */ - | 'AMERICA_REGINA' - /** Resolute */ - | 'AMERICA_RESOLUTE' - /** Rio Branco */ - | 'AMERICA_RIO_BRANCO' - /** Santarem */ - | 'AMERICA_SANTAREM' - /** Santiago */ - | 'AMERICA_SANTIAGO' - /** Santo Domingo */ - | 'AMERICA_SANTO_DOMINGO' - /** Sao Paulo */ - | 'AMERICA_SAO_PAULO' - /** Scoresbysund */ - | 'AMERICA_SCORESBYSUND' - /** Sitka */ - | 'AMERICA_SITKA' - /** St Barthelemy */ - | 'AMERICA_ST_BARTHELEMY' - /** St Johns */ - | 'AMERICA_ST_JOHNS' - /** St Kitts */ - | 'AMERICA_ST_KITTS' - /** St Lucia */ - | 'AMERICA_ST_LUCIA' - /** St Thomas */ - | 'AMERICA_ST_THOMAS' - /** St Vincent */ - | 'AMERICA_ST_VINCENT' - /** Swift Current */ - | 'AMERICA_SWIFT_CURRENT' - /** Tegucigalpa */ - | 'AMERICA_TEGUCIGALPA' - /** Thule */ - | 'AMERICA_THULE' - /** Thunder Bay */ - | 'AMERICA_THUNDER_BAY' - /** Tijuana */ - | 'AMERICA_TIJUANA' - /** Toronto */ - | 'AMERICA_TORONTO' - /** Tortola */ - | 'AMERICA_TORTOLA' - /** Vancouver */ - | 'AMERICA_VANCOUVER' - /** Whitehorse */ - | 'AMERICA_WHITEHORSE' - /** Winnipeg */ - | 'AMERICA_WINNIPEG' - /** Yakutat */ - | 'AMERICA_YAKUTAT' - /** Yellowknife */ - | 'AMERICA_YELLOWKNIFE' - /** Casey */ - | 'ANTARCTICA_CASEY' - /** Davis */ - | 'ANTARCTICA_DAVIS' - /** DumontDUrville */ - | 'ANTARCTICA_DUMONTDURVILLE' - /** Macquarie */ - | 'ANTARCTICA_MACQUARIE' - /** Mawson */ - | 'ANTARCTICA_MAWSON' - /** McMurdo */ - | 'ANTARCTICA_MCMURDO' - /** Palmer */ - | 'ANTARCTICA_PALMER' - /** Rothera */ - | 'ANTARCTICA_ROTHERA' - /** Syowa */ - | 'ANTARCTICA_SYOWA' - /** Troll */ - | 'ANTARCTICA_TROLL' - /** Vostok */ - | 'ANTARCTICA_VOSTOK' - /** Longyearbyen */ - | 'ARCTIC_LONGYEARBYEN' - /** Aden */ - | 'ASIA_ADEN' - /** Almaty */ - | 'ASIA_ALMATY' - /** Amman */ - | 'ASIA_AMMAN' - /** Anadyr */ - | 'ASIA_ANADYR' - /** Aqtau */ - | 'ASIA_AQTAU' - /** Aqtobe */ - | 'ASIA_AQTOBE' - /** Ashgabat */ - | 'ASIA_ASHGABAT' - /** Atyrau */ - | 'ASIA_ATYRAU' - /** Baghdad */ - | 'ASIA_BAGHDAD' - /** Bahrain */ - | 'ASIA_BAHRAIN' - /** Baku */ - | 'ASIA_BAKU' - /** Bangkok */ - | 'ASIA_BANGKOK' - /** Barnaul */ - | 'ASIA_BARNAUL' - /** Beirut */ - | 'ASIA_BEIRUT' - /** Bishkek */ - | 'ASIA_BISHKEK' - /** Brunei */ - | 'ASIA_BRUNEI' - /** Chita */ - | 'ASIA_CHITA' - /** Choibalsan */ - | 'ASIA_CHOIBALSAN' - /** Colombo */ - | 'ASIA_COLOMBO' - /** Damascus */ - | 'ASIA_DAMASCUS' - /** Dhaka */ - | 'ASIA_DHAKA' - /** Dili */ - | 'ASIA_DILI' - /** Dubai */ - | 'ASIA_DUBAI' - /** Dushanbe */ - | 'ASIA_DUSHANBE' - /** Famagusta */ - | 'ASIA_FAMAGUSTA' - /** Gaza */ - | 'ASIA_GAZA' - /** Hebron */ - | 'ASIA_HEBRON' - /** Hong Kong */ - | 'ASIA_HONG_KONG' - /** Hovd */ - | 'ASIA_HOVD' - /** Ho Chi Minh */ - | 'ASIA_HO_CHI_MINH' - /** Irkutsk */ - | 'ASIA_IRKUTSK' - /** Jakarta */ - | 'ASIA_JAKARTA' - /** Jayapura */ - | 'ASIA_JAYAPURA' - /** Jerusalem */ - | 'ASIA_JERUSALEM' - /** Kabul */ - | 'ASIA_KABUL' - /** Kamchatka */ - | 'ASIA_KAMCHATKA' - /** Karachi */ - | 'ASIA_KARACHI' - /** Kathmandu */ - | 'ASIA_KATHMANDU' - /** Khandyga */ - | 'ASIA_KHANDYGA' - /** Kolkata */ - | 'ASIA_KOLKATA' - /** Krasnoyarsk */ - | 'ASIA_KRASNOYARSK' - /** Kuala Lumpur */ - | 'ASIA_KUALA_LUMPUR' - /** Kuching */ - | 'ASIA_KUCHING' - /** Kuwait */ - | 'ASIA_KUWAIT' - /** Macau */ - | 'ASIA_MACAU' - /** Magadan */ - | 'ASIA_MAGADAN' - /** Makassar */ - | 'ASIA_MAKASSAR' - /** Manila */ - | 'ASIA_MANILA' - /** Muscat */ - | 'ASIA_MUSCAT' - /** Nicosia */ - | 'ASIA_NICOSIA' - /** Novokuznetsk */ - | 'ASIA_NOVOKUZNETSK' - /** Novosibirsk */ - | 'ASIA_NOVOSIBIRSK' - /** Omsk */ - | 'ASIA_OMSK' - /** Oral */ - | 'ASIA_ORAL' - /** Phnom Penh */ - | 'ASIA_PHNOM_PENH' - /** Pontianak */ - | 'ASIA_PONTIANAK' - /** Pyongyang */ - | 'ASIA_PYONGYANG' - /** Qatar */ - | 'ASIA_QATAR' - /** Qostanay */ - | 'ASIA_QOSTANAY' - /** Qyzylorda */ - | 'ASIA_QYZYLORDA' - /** Riyadh */ - | 'ASIA_RIYADH' - /** Sakhalin */ - | 'ASIA_SAKHALIN' - /** Samarkand */ - | 'ASIA_SAMARKAND' - /** Seoul */ - | 'ASIA_SEOUL' - /** Shanghai */ - | 'ASIA_SHANGHAI' - /** Singapore */ - | 'ASIA_SINGAPORE' - /** Srednekolymsk */ - | 'ASIA_SREDNEKOLYMSK' - /** Taipei */ - | 'ASIA_TAIPEI' - /** Tashkent */ - | 'ASIA_TASHKENT' - /** Tbilisi */ - | 'ASIA_TBILISI' - /** Tehran */ - | 'ASIA_TEHRAN' - /** Thimphu */ - | 'ASIA_THIMPHU' - /** Tokyo */ - | 'ASIA_TOKYO' - /** Tomsk */ - | 'ASIA_TOMSK' - /** Ulaanbaatar */ - | 'ASIA_ULAANBAATAR' - /** Urumqi */ - | 'ASIA_URUMQI' - /** Ust-Nera */ - | 'ASIA_UST_NERA' - /** Vientiane */ - | 'ASIA_VIENTIANE' - /** Vladivostok */ - | 'ASIA_VLADIVOSTOK' - /** Yakutsk */ - | 'ASIA_YAKUTSK' - /** Yangon */ - | 'ASIA_YANGON' - /** Yekaterinburg */ - | 'ASIA_YEKATERINBURG' - /** Yerevan */ - | 'ASIA_YEREVAN' - /** Azores */ - | 'ATLANTIC_AZORES' - /** Bermuda */ - | 'ATLANTIC_BERMUDA' - /** Canary */ - | 'ATLANTIC_CANARY' - /** Cape Verde */ - | 'ATLANTIC_CAPE_VERDE' - /** Faroe */ - | 'ATLANTIC_FAROE' - /** Madeira */ - | 'ATLANTIC_MADEIRA' - /** Reykjavik */ - | 'ATLANTIC_REYKJAVIK' - /** South Georgia */ - | 'ATLANTIC_SOUTH_GEORGIA' - /** Stanley */ - | 'ATLANTIC_STANLEY' - /** St Helena */ - | 'ATLANTIC_ST_HELENA' - /** Adelaide */ - | 'AUSTRALIA_ADELAIDE' - /** Brisbane */ - | 'AUSTRALIA_BRISBANE' - /** Broken Hill */ - | 'AUSTRALIA_BROKEN_HILL' - /** Currie */ - | 'AUSTRALIA_CURRIE' - /** Darwin */ - | 'AUSTRALIA_DARWIN' - /** Eucla */ - | 'AUSTRALIA_EUCLA' - /** Hobart */ - | 'AUSTRALIA_HOBART' - /** Lindeman */ - | 'AUSTRALIA_LINDEMAN' - /** Lord Howe */ - | 'AUSTRALIA_LORD_HOWE' - /** Melbourne */ - | 'AUSTRALIA_MELBOURNE' - /** Perth */ - | 'AUSTRALIA_PERTH' - /** Sydney */ - | 'AUSTRALIA_SYDNEY' - /** Amsterdam */ - | 'EUROPE_AMSTERDAM' - /** Andorra */ - | 'EUROPE_ANDORRA' - /** Astrakhan */ - | 'EUROPE_ASTRAKHAN' - /** Athens */ - | 'EUROPE_ATHENS' - /** Belgrade */ - | 'EUROPE_BELGRADE' - /** Berlin */ - | 'EUROPE_BERLIN' - /** Bratislava */ - | 'EUROPE_BRATISLAVA' - /** Brussels */ - | 'EUROPE_BRUSSELS' - /** Bucharest */ - | 'EUROPE_BUCHAREST' - /** Budapest */ - | 'EUROPE_BUDAPEST' - /** Busingen */ - | 'EUROPE_BUSINGEN' - /** Chisinau */ - | 'EUROPE_CHISINAU' - /** Copenhagen */ - | 'EUROPE_COPENHAGEN' - /** Dublin */ - | 'EUROPE_DUBLIN' - /** Gibraltar */ - | 'EUROPE_GIBRALTAR' - /** Guernsey */ - | 'EUROPE_GUERNSEY' - /** Helsinki */ - | 'EUROPE_HELSINKI' - /** Isle of Man */ - | 'EUROPE_ISLE_OF_MAN' - /** Istanbul */ - | 'EUROPE_ISTANBUL' - /** Jersey */ - | 'EUROPE_JERSEY' - /** Kaliningrad */ - | 'EUROPE_KALININGRAD' - /** Kiev */ - | 'EUROPE_KIEV' - /** Kirov */ - | 'EUROPE_KIROV' - /** Lisbon */ - | 'EUROPE_LISBON' - /** Ljubljana */ - | 'EUROPE_LJUBLJANA' - /** London */ - | 'EUROPE_LONDON' - /** Luxembourg */ - | 'EUROPE_LUXEMBOURG' - /** Madrid */ - | 'EUROPE_MADRID' - /** Malta */ - | 'EUROPE_MALTA' - /** Mariehamn */ - | 'EUROPE_MARIEHAMN' - /** Minsk */ - | 'EUROPE_MINSK' - /** Monaco */ - | 'EUROPE_MONACO' - /** Moscow */ - | 'EUROPE_MOSCOW' - /** Oslo */ - | 'EUROPE_OSLO' - /** Paris */ - | 'EUROPE_PARIS' - /** Podgorica */ - | 'EUROPE_PODGORICA' - /** Prague */ - | 'EUROPE_PRAGUE' - /** Riga */ - | 'EUROPE_RIGA' - /** Rome */ - | 'EUROPE_ROME' - /** Samara */ - | 'EUROPE_SAMARA' - /** San Marino */ - | 'EUROPE_SAN_MARINO' - /** Sarajevo */ - | 'EUROPE_SARAJEVO' - /** Saratov */ - | 'EUROPE_SARATOV' - /** Simferopol */ - | 'EUROPE_SIMFEROPOL' - /** Skopje */ - | 'EUROPE_SKOPJE' - /** Sofia */ - | 'EUROPE_SOFIA' - /** Stockholm */ - | 'EUROPE_STOCKHOLM' - /** Tallinn */ - | 'EUROPE_TALLINN' - /** Tirane */ - | 'EUROPE_TIRANE' - /** Ulyanovsk */ - | 'EUROPE_ULYANOVSK' - /** Uzhgorod */ - | 'EUROPE_UZHGOROD' - /** Vaduz */ - | 'EUROPE_VADUZ' - /** Vatican */ - | 'EUROPE_VATICAN' - /** Vienna */ - | 'EUROPE_VIENNA' - /** Vilnius */ - | 'EUROPE_VILNIUS' - /** Volgograd */ - | 'EUROPE_VOLGOGRAD' - /** Warsaw */ - | 'EUROPE_WARSAW' - /** Zagreb */ - | 'EUROPE_ZAGREB' - /** Zaporozhye */ - | 'EUROPE_ZAPOROZHYE' - /** Zurich */ - | 'EUROPE_ZURICH' - /** Antananarivo */ - | 'INDIAN_ANTANANARIVO' - /** Chagos */ - | 'INDIAN_CHAGOS' - /** Christmas */ - | 'INDIAN_CHRISTMAS' - /** Cocos */ - | 'INDIAN_COCOS' - /** Comoro */ - | 'INDIAN_COMORO' - /** Kerguelen */ - | 'INDIAN_KERGUELEN' - /** Mahe */ - | 'INDIAN_MAHE' - /** Maldives */ - | 'INDIAN_MALDIVES' - /** Mauritius */ - | 'INDIAN_MAURITIUS' - /** Mayotte */ - | 'INDIAN_MAYOTTE' - /** Reunion */ - | 'INDIAN_REUNION' - /** Apia */ - | 'PACIFIC_APIA' - /** Auckland */ - | 'PACIFIC_AUCKLAND' - /** Bougainville */ - | 'PACIFIC_BOUGAINVILLE' - /** Chatham */ - | 'PACIFIC_CHATHAM' - /** Chuuk */ - | 'PACIFIC_CHUUK' - /** Easter */ - | 'PACIFIC_EASTER' - /** Efate */ - | 'PACIFIC_EFATE' - /** Enderbury */ - | 'PACIFIC_ENDERBURY' - /** Fakaofo */ - | 'PACIFIC_FAKAOFO' - /** Fiji */ - | 'PACIFIC_FIJI' - /** Funafuti */ - | 'PACIFIC_FUNAFUTI' - /** Galapagos */ - | 'PACIFIC_GALAPAGOS' - /** Gambier */ - | 'PACIFIC_GAMBIER' - /** Guadalcanal */ - | 'PACIFIC_GUADALCANAL' - /** Guam */ - | 'PACIFIC_GUAM' - /** Honolulu */ - | 'PACIFIC_HONOLULU' - /** Kiritimati */ - | 'PACIFIC_KIRITIMATI' - /** Kosrae */ - | 'PACIFIC_KOSRAE' - /** Kwajalein */ - | 'PACIFIC_KWAJALEIN' - /** Majuro */ - | 'PACIFIC_MAJURO' - /** Marquesas */ - | 'PACIFIC_MARQUESAS' - /** Midway */ - | 'PACIFIC_MIDWAY' - /** Nauru */ - | 'PACIFIC_NAURU' - /** Niue */ - | 'PACIFIC_NIUE' - /** Norfolk */ - | 'PACIFIC_NORFOLK' - /** Noumea */ - | 'PACIFIC_NOUMEA' - /** Pago Pago */ - | 'PACIFIC_PAGO_PAGO' - /** Palau */ - | 'PACIFIC_PALAU' - /** Pitcairn */ - | 'PACIFIC_PITCAIRN' - /** Pohnpei */ - | 'PACIFIC_POHNPEI' - /** Port Moresby */ - | 'PACIFIC_PORT_MORESBY' - /** Rarotonga */ - | 'PACIFIC_RAROTONGA' - /** Saipan */ - | 'PACIFIC_SAIPAN' - /** Tahiti */ - | 'PACIFIC_TAHITI' - /** Tarawa */ - | 'PACIFIC_TARAWA' - /** Tongatapu */ - | 'PACIFIC_TONGATAPU' - /** Wake */ - | 'PACIFIC_WAKE' - /** Wallis */ - | 'PACIFIC_WALLIS' - /** UTC offset: UTC+0 */ - | 'UTC_0' - /** UTC offset: UTC+0:30 */ - | 'UTC_0_30' - /** UTC offset: UTC+1 */ - | 'UTC_1' - /** UTC offset: UTC+10 */ - | 'UTC_10' - /** UTC offset: UTC+10:30 */ - | 'UTC_10_30' - /** UTC offset: UTC+11 */ - | 'UTC_11' - /** UTC offset: UTC+11:30 */ - | 'UTC_11_30' - /** UTC offset: UTC+12 */ - | 'UTC_12' - /** UTC offset: UTC+12:45 */ - | 'UTC_12_45' - /** UTC offset: UTC+13 */ - | 'UTC_13' - /** UTC offset: UTC+13:45 */ - | 'UTC_13_45' - /** UTC offset: UTC+14 */ - | 'UTC_14' - /** UTC offset: UTC+1:30 */ - | 'UTC_1_30' - /** UTC offset: UTC+2 */ - | 'UTC_2' - /** UTC offset: UTC+2:30 */ - | 'UTC_2_30' - /** UTC offset: UTC+3 */ - | 'UTC_3' - /** UTC offset: UTC+3:30 */ - | 'UTC_3_30' - /** UTC offset: UTC+4 */ - | 'UTC_4' - /** UTC offset: UTC+4:30 */ - | 'UTC_4_30' - /** UTC offset: UTC+5 */ - | 'UTC_5' - /** UTC offset: UTC+5:30 */ - | 'UTC_5_30' - /** UTC offset: UTC+5:45 */ - | 'UTC_5_45' - /** UTC offset: UTC+6 */ - | 'UTC_6' - /** UTC offset: UTC+6:30 */ - | 'UTC_6_30' - /** UTC offset: UTC+7 */ - | 'UTC_7' - /** UTC offset: UTC+7:30 */ - | 'UTC_7_30' - /** UTC offset: UTC+8 */ - | 'UTC_8' - /** UTC offset: UTC+8:30 */ - | 'UTC_8_30' - /** UTC offset: UTC+8:45 */ - | 'UTC_8_45' - /** UTC offset: UTC+9 */ - | 'UTC_9' - /** UTC offset: UTC+9:30 */ - | 'UTC_9_30'; - -/** The Type of Identifier used to fetch a single User node. To be used along with the "id" field. Default is "ID". */ -export type UserNodeIdTypeEnum = - /** The Database ID for the node */ - | 'DATABASE_ID' - /** The Email of the User */ - | 'EMAIL' - /** The hashed Global ID */ - | 'ID' - /** The slug of the User */ - | 'SLUG' - /** The URI for the node */ - | 'URI' - /** The username the User uses to login with */ - | 'USERNAME'; - -/** Names of available user roles */ -export type UserRoleEnum = - | 'ADMINISTRATOR' - | 'AUTHOR' - | 'CONTRIBUTOR' - | 'EDITOR' - | 'SUBSCRIBER'; - -/** Field to order the connection by */ -export type UsersConnectionOrderbyEnum = - /** Order by display name */ - | 'DISPLAY_NAME' - /** Order by email address */ - | 'EMAIL' - /** Order by login */ - | 'LOGIN' - /** Preserve the login order given in the LOGIN_IN array */ - | 'LOGIN_IN' - /** Order by nice name */ - | 'NICE_NAME' - /** Preserve the nice name order given in the NICE_NAME_IN array */ - | 'NICE_NAME_IN' - /** Order by registration date */ - | 'REGISTERED' - /** Order by URL */ - | 'URL'; - -/** Names of available user roles */ -export type UsersConnectionSearchColumnEnum = - | 'ADMINISTRATOR' - | 'AUTHOR' - | 'CONTRIBUTOR' - | 'EDITOR' - | 'SUBSCRIBER'; - -/** Arguments for filtering the CategoryToCategoryConnection connection */ -export type 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>>; - /** 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 type CategoryToContentNodeConnectionWhereArgs = { - /** 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the CategoryToPostConnection connection */ -export type 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; - stati?: Maybe>>; - 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 CommentToCommentConnection connection */ -export type 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 CommentToParentCommentConnection connection */ -export type 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 ContentTypeToContentNodeConnection connection */ -export type ContentTypeToContentNodeConnectionWhereArgs = { - /** 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Input for the createCategory mutation */ -export type CreateCategoryInput = { - /** The slug that the category will be an alias of */ - aliasOf?: Maybe; - 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 type 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; - 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 type 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; - 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; -}; - -/** Input for the createPage mutation */ -export type CreatePageInput = { - /** The userId to assign as the author of the object */ - authorId?: Maybe; - 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 createPostFormat mutation */ -export type CreatePostFormatInput = { - /** The slug that the post_format will be an alias of */ - aliasOf?: Maybe; - 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 createPost mutation */ -export type CreatePostInput = { - /** The userId to assign as the author of the object */ - authorId?: Maybe; - /** Set connections between the post and categories */ - categories?: Maybe; - 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>>; -}; - -/** Input for the createTag mutation */ -export type CreateTagInput = { - /** The slug that the post_tag will be an alias of */ - aliasOf?: Maybe; - 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 type CreateUserInput = { - /** User's AOL IM account. */ - aim?: Maybe; - 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; -}; - -/** Date values */ -export type 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; -}; - -/** Filter the connection based on input */ -export type 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; -}; - -/** Input for the deleteCategory mutation */ -export type DeleteCategoryInput = { - clientMutationId?: Maybe; - /** The ID of the category to delete */ - id: Scalars['ID']; -}; - -/** Input for the deleteComment mutation */ -export type DeleteCommentInput = { - 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 type DeleteMediaItemInput = { - 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 type DeletePageInput = { - 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 deletePostFormat mutation */ -export type DeletePostFormatInput = { - clientMutationId?: Maybe; - /** The ID of the postFormat to delete */ - id: Scalars['ID']; -}; - -/** Input for the deletePost mutation */ -export type DeletePostInput = { - 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 deleteTag mutation */ -export type DeleteTagInput = { - clientMutationId?: Maybe; - /** The ID of the tag to delete */ - id: Scalars['ID']; -}; - -/** Input for the deleteUser mutation */ -export type DeleteUserInput = { - clientMutationId?: Maybe; - /** The ID of the user you want to delete */ - id: Scalars['ID']; - /** Reassign posts and links to new User ID. */ - reassignId?: Maybe; -}; - -/** Arguments for filtering the HierarchicalContentNodeToContentNodeAncestorsConnection connection */ -export type HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs = { - /** 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the HierarchicalContentNodeToContentNodeChildrenConnection connection */ -export type HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs = { - /** 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the MediaItemToCommentConnection connection */ -export type 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; -}; - -/** Arguments for filtering the MenuItemToMenuItemConnection connection */ -export type 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; -}; - -/** Options for filtering the connection */ -export type MenuItemsWhereArgs = { - /** The ID of the object */ - id?: Maybe; - /** The menu location for the menu being queried */ - location?: Maybe; -}; - -/** Arguments for filtering the MenuToMenuItemConnection connection */ -export type 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 PageToCommentConnection connection */ -export type 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 type 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Set relationships between the post to categories */ -export type PostCategoriesInput = { - /** If true, this will append the category to existing related categories. If false, this will replace existing relationships. Default true. */ - append?: Maybe; - 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 type 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; -}; - -/** Arguments for filtering the PostFormatToContentNodeConnection connection */ -export type PostFormatToContentNodeConnectionWhereArgs = { - /** 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the PostFormatToPostConnection connection */ -export type 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; - stati?: Maybe>>; - 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; -}; - -/** Options for ordering the connection */ -export type PostObjectsConnectionOrderbyInput = { - /** The field to order the connection by */ - field: PostObjectsConnectionOrderbyEnum; - /** Possible directions in which to order a list of items */ - order: OrderEnum; -}; - -/** Set relationships between the post to postFormats */ -export type PostPostFormatsInput = { - /** If true, this will append the postFormat to existing related postFormats. If false, this will replace existing relationships. Default true. */ - append?: Maybe; - 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 type 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 type PostTagsInput = { - /** If true, this will append the tag to existing related tags. If false, this will replace existing relationships. Default true. */ - append?: Maybe; - 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 type 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; -}; - -/** Arguments for filtering the PostToCategoryConnection connection */ -export type 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>>; - /** 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 type 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 type 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>>; - /** 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 postToRevisionConnection connection */ -export type 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; - stati?: Maybe>>; - 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 type 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>>; - /** 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 PostToTermNodeConnection connection */ -export type 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>>; - /** 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; -}; - -/** Input for the registerUser mutation */ -export type RegisterUserInput = { - /** User's AOL IM account. */ - aim?: Maybe; - 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 type ResetUserPasswordInput = { - 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 type RestoreCommentInput = { - clientMutationId?: Maybe; - /** The ID of the comment to be restored */ - id: Scalars['ID']; -}; - -/** Arguments for filtering the RootQueryToCategoryConnection connection */ -export type 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>>; - /** 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 RootQueryToCommentConnection connection */ -export type 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; -}; - -/** Arguments for filtering the RootQueryToContentNodeConnection connection */ -export type 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the RootQueryToContentRevisionUnionConnection connection */ -export type RootQueryToContentRevisionUnionConnectionWhereArgs = { - /** 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the RootQueryToMediaItemConnection connection */ -export type 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the RootQueryToMenuConnection connection */ -export type 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; -}; - -/** Arguments for filtering the RootQueryToMenuItemConnection connection */ -export type 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 RootQueryToPageConnection connection */ -export type 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the RootQueryToPostConnection connection */ -export type 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; - stati?: Maybe>>; - 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 RootQueryToPostFormatConnection connection */ -export type 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>>; - /** 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 RootQueryToTagConnection connection */ -export type 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>>; - /** 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 RootQueryToTermNodeConnection connection */ -export type 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>>; - /** 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; -}; - -/** Arguments for filtering the RootQueryToUserConnection connection */ -export type 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>>; -}; - -/** Input for the sendPasswordResetEmail mutation */ -export type SendPasswordResetEmailInput = { - clientMutationId?: Maybe; - /** A string that contains the user's username or email address. */ - username: Scalars['String']; -}; - -/** Arguments for filtering the TagToContentNodeConnection connection */ -export type TagToContentNodeConnectionWhereArgs = { - /** 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the TagToPostConnection connection */ -export type 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; - stati?: Maybe>>; - 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; -}; - -/** Input for the UpdateCategory mutation */ -export type UpdateCategoryInput = { - /** The slug that the category will be an alias of */ - aliasOf?: Maybe; - 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 type 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; - 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 type 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; - 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 type UpdatePageInput = { - /** The userId to assign as the author of the object */ - authorId?: Maybe; - 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 UpdatePostFormat mutation */ -export type UpdatePostFormatInput = { - /** The slug that the post_format will be an alias of */ - aliasOf?: Maybe; - 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 updatePost mutation */ -export type UpdatePostInput = { - /** The userId to assign as the author of the object */ - authorId?: Maybe; - /** Set connections between the post and categories */ - categories?: Maybe; - 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 updateSettings mutation */ -export type UpdateSettingsInput = { - 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 type UpdateTagInput = { - /** The slug that the post_tag will be an alias of */ - aliasOf?: Maybe; - 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 type UpdateUserInput = { - /** User's AOL IM account. */ - aim?: Maybe; - 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; -}; - -/** Arguments for filtering the UserToCommentConnection connection */ -export type 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; -}; - -/** Arguments for filtering the UserToContentRevisionUnionConnection connection */ -export type UserToContentRevisionUnionConnectionWhereArgs = { - /** 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the UserToMediaItemConnection connection */ -export type 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the UserToPageConnection connection */ -export type 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; - stati?: Maybe>>; - status?: Maybe; - /** Title of the object */ - title?: Maybe; -}; - -/** Arguments for filtering the UserToPostConnection connection */ -export type 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; - stati?: Maybe>>; - 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; -}; - -/** Options for ordering the connection */ -export type UsersConnectionOrderbyInput = { - field: UsersConnectionOrderbyEnum; - order?: Maybe; -}; - -export type GeneralSettingsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GeneralSettingsQuery = { generalSettings: Maybe<{ title: Maybe, description: Maybe, url: Maybe }> }; - -export type GetContentNodeQueryVariables = Exact<{ - id: Scalars['ID']; - idType: Maybe; - asPreview: Maybe; -}>; - - -export type GetContentNodeQuery = { contentNode: Maybe<{ id: string, slug: Maybe, title: Maybe, content: Maybe, isPreview: Maybe, isRevision: Maybe, isFrontPage: boolean, isPostsPage: boolean, uri: string, status: Maybe, templates: Maybe>>, featuredImage: Maybe<{ node: Maybe<{ id: string, altText: Maybe, sourceUrl: Maybe }> }>, preview: Maybe<{ node: Maybe<{ id: string, slug: Maybe, title: Maybe, content: Maybe, isPreview: Maybe, isRevision: Maybe, isFrontPage: boolean, isPostsPage: boolean, uri: string, status: Maybe, templates: Maybe>>, featuredImage: Maybe<{ node: Maybe<{ id: string, altText: Maybe, sourceUrl: Maybe }> }> }> }>, enqueuedStylesheets: Maybe<{ nodes: Maybe, handle: Maybe }>>> }> } | { id: string, slug: Maybe, title: Maybe, content: Maybe, isRevision: Maybe, isPreview: Maybe, isSticky: boolean, excerpt: Maybe, templates: Maybe>>, uri: string, status: Maybe, featuredImage: Maybe<{ node: Maybe<{ id: string, altText: Maybe, sourceUrl: Maybe }> }>, preview: Maybe<{ node: Maybe<{ id: string, slug: Maybe, title: Maybe, content: Maybe, isRevision: Maybe, isPreview: Maybe, isSticky: boolean, excerpt: Maybe, uri: string, templates: Maybe>>, status: Maybe, featuredImage: Maybe<{ node: Maybe<{ id: string, altText: Maybe, sourceUrl: Maybe }> }> }> }>, enqueuedStylesheets: Maybe<{ nodes: Maybe, handle: Maybe }>>> }> }> }; - -export type GetPostsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetPostsQuery = { posts: Maybe<{ nodes: Maybe, title: Maybe, content: Maybe, isRevision: Maybe, isPreview: Maybe, isSticky: boolean, excerpt: Maybe, uri: string, status: Maybe, featuredImage: Maybe<{ node: Maybe<{ id: string, altText: Maybe, sourceUrl: Maybe }> }> }>>> }> }; - -export type GetUriInfoQueryVariables = Exact<{ - uri: Scalars['String']; -}>; - - -export type GetUriInfoQuery = { nodeByUri: Maybe<{ id: string, templates: Maybe>>, conditionalTags: Maybe<{ isArchive: Maybe, isSingular: Maybe }> } | { isFrontPage: boolean, isPostsPage: boolean, id: string, templates: Maybe>>, conditionalTags: Maybe<{ isArchive: Maybe, isSingular: Maybe }> } | { id: string, templates: Maybe>>, conditionalTags: Maybe<{ isArchive: Maybe, isSingular: Maybe }> } | { id: string, templates: Maybe>>, conditionalTags: Maybe<{ isArchive: Maybe, isSingular: Maybe }> } | { id: string, templates: Maybe>>, conditionalTags: Maybe<{ isArchive: Maybe, isSingular: Maybe }> } | { id: string, templates: Maybe>>, conditionalTags: Maybe<{ isArchive: Maybe, isSingular: Maybe }> } | { id: string, templates: Maybe>>, conditionalTags: Maybe<{ isArchive: Maybe, isSingular: Maybe }> } | { id: string, templates: Maybe>>, conditionalTags: Maybe<{ isArchive: Maybe, isSingular: Maybe }> }> }; - -} \ No newline at end of file diff --git a/packages/core/test/utils/convert.test.ts b/packages/core/test/utils/convert.test.ts index 6b28cf636..a22e00adc 100644 --- a/packages/core/test/utils/convert.test.ts +++ b/packages/core/test/utils/convert.test.ts @@ -8,7 +8,6 @@ import { getCookiesFromContext, stringifyGql, } from '../../src/utils/convert'; -import { print } from 'graphql'; describe('utils/convert', () => { test('base64Decode() returns the argument for a non-base64 string', () => { diff --git a/packages/core/utils.d.ts b/packages/core/utils.d.ts index e80defb1f..b4d47033c 100644 --- a/packages/core/utils.d.ts +++ b/packages/core/utils.d.ts @@ -1,4 +1 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// - export * from './dist/utils'; From 177a882ff44de55f06457e9e0a8e3278e6bd23a1 Mon Sep 17 00:00:00 2001 From: William Johnston Date: Wed, 9 Jun 2021 10:59:23 -0700 Subject: [PATCH 3/3] feat: (#262) incrementing versions --- packages/core/package.json | 2 +- packages/next/package.json | 2 +- packages/react/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 69c7e7e92..164952a1f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@wpengine/headless-core", - "version": "0.6.5", + "version": "0.6.6", "description": "This module helps you use WordPress as a Headless CMS", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/next/package.json b/packages/next/package.json index 6efc46372..f61b63344 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@wpengine/headless-next", - "version": "0.6.5", + "version": "0.6.6", "description": "This module helps you use WordPress as a Headless CMS with Next.js", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/react/package.json b/packages/react/package.json index 50044bffc..5ea0012a2 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@wpengine/headless-react", - "version": "0.6.5", + "version": "0.6.6", "description": "This module helps you use WordPress as a Headless CMS with React", "main": "dist/index.js", "types": "dist/index.d.ts",