diff --git a/examples/next/getting-started/package.json b/examples/next/getting-started/package.json index 919ee9bc5..aca97be70 100644 --- a/examples/next/getting-started/package.json +++ b/examples/next/getting-started/package.json @@ -18,15 +18,15 @@ "normalize.css": "^8.0.1", "react": "^17.0.2", "react-dom": "^17.0.2", - "sass": "^1.39.2" + "sass": "^1.42.1" }, "devDependencies": { - "@gqty/cli": "^1.1.4", - "@types/react": "^17.0.20", + "@gqty/cli": "^2.0.1", + "@types/react": "^17.0.24", "dotenv": "^10.0.0", "eslint": "^7.32.0", "eslint-config-next": "^11.1.2", "rimraf": "^3.0.2", - "typescript": "^4.4.2" + "typescript": "^4.4.3" } } diff --git a/package-lock.json b/package-lock.json index 3d92a122f..3487c0157 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,16 +33,16 @@ "normalize.css": "^8.0.1", "react": "^17.0.2", "react-dom": "^17.0.2", - "sass": "^1.39.2" + "sass": "^1.41.1" }, "devDependencies": { - "@gqty/cli": "^1.1.4", - "@types/react": "^17.0.20", + "@gqty/cli": "^2.0.0", + "@types/react": "^17.0.22", "dotenv": "^10.0.0", "eslint": "^7.32.0", "eslint-config-next": "^11.1.2", "rimraf": "^3.0.2", - "typescript": "^4.4.2" + "typescript": "^4.4.3" } }, "node_modules/@babel/code-frame": { @@ -1171,22 +1171,22 @@ "link": true }, "node_modules/@gqty/cli": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@gqty/cli/-/cli-1.1.4.tgz", - "integrity": "sha512-INZrohEnmyjyyziUozCNW8va5gaJZCyNeTcYQsKMZGGIyot61nn1qTeI1k8d9m4lvFu28Nen6bjSgRTIGkLYEQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gqty/cli/-/cli-2.0.0.tgz", + "integrity": "sha512-0tu/kDV8Mi7EiaQOVhEZfeCqofyWZTFdQinHgmCY3CO9evjjb6k6mhDSE5kpDQphmcFsuNkclqz8yiY1DUeHMw==", "dev": true, "dependencies": { "@graphql-codegen/core": "^2.1.0", - "@graphql-codegen/typescript": "^2.2.0", + "@graphql-codegen/typescript": "^2.2.2", "@graphql-tools/delegate": "^8.2.1", "@graphql-tools/utils": "^8.2.2", "@graphql-tools/wrap": "^8.1.0", - "commander": "^8.1.0", + "commander": "^8.2.0", "cosmiconfig": "^7.0.1", "cross-fetch": "^3.1.4", - "gqty": "^1.1.2", + "gqty": "^2.0.0", "mkdirp": "^1.0.4", - "prettier": "^2.3.2" + "prettier": "^2.4.1" }, "bin": { "gqty": "bin/gqty.cjs" @@ -1195,7 +1195,7 @@ "node": "^12.20.0 || >=14.13.0" }, "peerDependencies": { - "graphql": "^15.5.2" + "graphql": "*" } }, "node_modules/@gqty/cli/node_modules/mkdirp": { @@ -1210,37 +1210,6 @@ "node": ">=10" } }, - "node_modules/@gqty/logger": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@gqty/logger/-/logger-1.0.4.tgz", - "integrity": "sha512-mQzjMDz6k2iU42j7Micwe/cWW8A57mM0ewhtTepjJqZ3iyb12Ro95KRULCm/op5KZt7W35hNLHZ93ThjbDndfw==", - "dependencies": { - "prettier": "^2.3.2", - "serialize-error": "^8.1.0" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "gqty": "^1.1.2" - } - }, - "node_modules/@gqty/react": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@gqty/react/-/react-1.1.1.tgz", - "integrity": "sha512-l0i+zB3Z5zOkYTyvuiLjLsrHGQnVul04PZph3RwopWnutvpVvxjwCJXXiu4DNeh79N4k+sB7ra7EBHDpogFjfg==", - "dependencies": { - "react-ssr-prepass": "^1.4.0" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "gqty": "^1.1.2", - "graphql": "^15.5.2", - "react": ">=16.8" - } - }, "node_modules/@graphql-codegen/core": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@graphql-codegen/core/-/core-2.1.0.tgz", @@ -1658,15 +1627,15 @@ } }, "node_modules/@jest/core": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-27.2.0.tgz", - "integrity": "sha512-E/2NHhq+VMo18DpKkoty8Sjey8Kps5Cqa88A8NP757s6JjYqPdioMuyUBhDiIOGCdQByEp0ou3jskkTszMS0nw==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-27.2.1.tgz", + "integrity": "sha512-XcGt9UgPyzylThvezwUIMCNVp8xxN78Ic3WwhJZehZt4n2hPHR6Bd85A1nKFZBeqW58Vd+Cx/LaN6YL4n58KlA==", "dev": true, "dependencies": { "@jest/console": "^27.2.0", - "@jest/reporters": "^27.2.0", + "@jest/reporters": "^27.2.1", "@jest/test-result": "^27.2.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/node": "*", "ansi-escapes": "^4.2.1", @@ -1675,15 +1644,15 @@ "exit": "^0.1.2", "graceful-fs": "^4.2.4", "jest-changed-files": "^27.1.1", - "jest-config": "^27.2.0", + "jest-config": "^27.2.1", "jest-haste-map": "^27.2.0", "jest-message-util": "^27.2.0", "jest-regex-util": "^27.0.6", "jest-resolve": "^27.2.0", - "jest-resolve-dependencies": "^27.2.0", - "jest-runner": "^27.2.0", - "jest-runtime": "^27.2.0", - "jest-snapshot": "^27.2.0", + "jest-resolve-dependencies": "^27.2.1", + "jest-runner": "^27.2.1", + "jest-runtime": "^27.2.1", + "jest-snapshot": "^27.2.1", "jest-util": "^27.2.0", "jest-validate": "^27.2.0", "jest-watcher": "^27.2.0", @@ -1738,29 +1707,29 @@ } }, "node_modules/@jest/globals": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.2.0.tgz", - "integrity": "sha512-raqk9Gf9WC3hlBa57rmRmJfRl9hom2b+qEE/ifheMtwn5USH5VZxzrHHOZg0Zsd/qC2WJ8UtyTwHKQAnNlDMdg==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.2.1.tgz", + "integrity": "sha512-4P46Zr4cckSitsWtOMRvgMMn7mOKbBsQdYxHeGSIG3kpI4gNR2vk51balPulZHnBQCQb/XBptprtoSv1REfaew==", "dev": true, "dependencies": { "@jest/environment": "^27.2.0", "@jest/types": "^27.1.1", - "expect": "^27.2.0" + "expect": "^27.2.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, "node_modules/@jest/reporters": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.2.0.tgz", - "integrity": "sha512-7wfkE3iRTLaT0F51h1mnxH3nQVwDCdbfgXiLuCcNkF1FnxXLH9utHqkSLIiwOTV1AtmiE0YagHbOvx4rnMP/GA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.2.1.tgz", + "integrity": "sha512-ILqR+bIIBlhaHjDtQR/0Z20YkKAQVM+NVRuJLaWFCoRx/rKQQSxG01ZLiLV0MsA6wkBHf6J9fzFuXp0k5l7epw==", "dev": true, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", "@jest/console": "^27.2.0", "@jest/test-result": "^27.2.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "chalk": "^4.0.0", "collect-v8-coverage": "^1.0.0", @@ -1824,24 +1793,24 @@ } }, "node_modules/@jest/test-sequencer": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.2.0.tgz", - "integrity": "sha512-PrqarcpzOU1KSAK7aPwfL8nnpaqTMwPe7JBPnaOYRDSe/C6AoJiL5Kbnonqf1+DregxZIRAoDg69R9/DXMGqXA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.2.1.tgz", + "integrity": "sha512-fWcEgWQXgvU4DFY5YHfQsGwqfJWyuCUzdOzLZTYtyLB3WK1mFPQGYAszM7mCEZjyVon5XRuCa+2/+hif/uMucQ==", "dev": true, "dependencies": { "@jest/test-result": "^27.2.0", "graceful-fs": "^4.2.4", "jest-haste-map": "^27.2.0", - "jest-runtime": "^27.2.0" + "jest-runtime": "^27.2.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, "node_modules/@jest/transform": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-27.2.0.tgz", - "integrity": "sha512-Q8Q/8xXIZYllk1AF7Ou5sV3egOZsdY/Wlv09CSbcexBRcC1Qt6lVZ7jRFAZtbHsEEzvOCyFEC4PcrwKwyjXtCg==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-27.2.1.tgz", + "integrity": "sha512-xmB5vh81KK8DiiCMtI5vI59mP+GggNmc9BiN+fg4mKdQHV369+WuZc1Lq2xWFCOCsRPHt24D9h7Idp4YaMB1Ww==", "dev": true, "dependencies": { "@babel/core": "^7.1.0", @@ -2474,9 +2443,9 @@ } }, "node_modules/@types/lodash": { - "version": "4.14.172", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.172.tgz", - "integrity": "sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw==", + "version": "4.14.173", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.173.tgz", + "integrity": "sha512-vv0CAYoaEjCw/mLy96GBTnRoZrSxkGE0BKzKimdR8P3OzrNYNvBgtW7p055A+E8C31vXNUhWKoFCbhq7gbyhFg==", "dev": true }, "node_modules/@types/minimatch": { @@ -2486,9 +2455,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.9.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.1.tgz", - "integrity": "sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==" + "version": "16.9.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.4.tgz", + "integrity": "sha512-KDazLNYAGIuJugdbULwFZULF9qQ13yNWEBFnfVpqlpgAAo6H/qnM9RjBgh0A0kmHf3XxAKLdN5mTIng9iUvVLA==" }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -2509,9 +2478,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "17.0.20", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.20.tgz", - "integrity": "sha512-wWZrPlihslrPpcKyCSlmIlruakxr57/buQN1RjlIeaaTWDLtJkTtRW429MoQJergvVKc4IWBpRhWw7YNh/7GVA==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.22.tgz", + "integrity": "sha512-kq/BMeaAVLJM6Pynh8C2rnr/drCK+/5ksH0ch9asz+8FW3DscYCIEFtCeYTFeIx/ubvOsMXmRfy7qEJ76gM96A==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -2589,13 +2558,13 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.31.1.tgz", - "integrity": "sha512-UDqhWmd5i0TvPLmbK5xY3UZB0zEGseF+DHPghZ37Sb83Qd3p8ujhvAtkU4OF46Ka5Pm5kWvFIx0cCTBFKo0alA==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.31.2.tgz", + "integrity": "sha512-w63SCQ4bIwWN/+3FxzpnWrDjQRXVEGiTt9tJTRptRXeFvdZc/wLiz3FQUwNQ2CVoRGI6KUWMNUj/pk63noUfcA==", "dev": true, "dependencies": { - "@typescript-eslint/experimental-utils": "4.31.1", - "@typescript-eslint/scope-manager": "4.31.1", + "@typescript-eslint/experimental-utils": "4.31.2", + "@typescript-eslint/scope-manager": "4.31.2", "debug": "^4.3.1", "functional-red-black-tree": "^1.0.1", "regexpp": "^3.1.0", @@ -2643,15 +2612,15 @@ "dev": true }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.31.1.tgz", - "integrity": "sha512-NtoPsqmcSsWty0mcL5nTZXMf7Ei0Xr2MT8jWjXMVgRK0/1qeQ2jZzLFUh4QtyJ4+/lPUyMw5cSfeeME+Zrtp9Q==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.31.2.tgz", + "integrity": "sha512-3tm2T4nyA970yQ6R3JZV9l0yilE2FedYg8dcXrTar34zC9r6JB7WyBQbpIVongKPlhEMjhQ01qkwrzWy38Bk1Q==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.7", - "@typescript-eslint/scope-manager": "4.31.1", - "@typescript-eslint/types": "4.31.1", - "@typescript-eslint/typescript-estree": "4.31.1", + "@typescript-eslint/scope-manager": "4.31.2", + "@typescript-eslint/types": "4.31.2", + "@typescript-eslint/typescript-estree": "4.31.2", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" }, @@ -2667,14 +2636,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.31.1.tgz", - "integrity": "sha512-dnVZDB6FhpIby6yVbHkwTKkn2ypjVIfAR9nh+kYsA/ZL0JlTsd22BiDjouotisY3Irmd3OW1qlk9EI5R8GrvRQ==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.31.2.tgz", + "integrity": "sha512-EcdO0E7M/sv23S/rLvenHkb58l3XhuSZzKf6DBvLgHqOYdL6YFMYVtreGFWirxaU2mS1GYDby3Lyxco7X5+Vjw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "4.31.1", - "@typescript-eslint/types": "4.31.1", - "@typescript-eslint/typescript-estree": "4.31.1", + "@typescript-eslint/scope-manager": "4.31.2", + "@typescript-eslint/types": "4.31.2", + "@typescript-eslint/typescript-estree": "4.31.2", "debug": "^4.3.1" }, "engines": { @@ -2717,13 +2686,13 @@ "dev": true }, "node_modules/@typescript-eslint/scope-manager": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.31.1.tgz", - "integrity": "sha512-N1Uhn6SqNtU2XpFSkD4oA+F0PfKdWHyr4bTX0xTj8NRx1314gBDRL1LUuZd5+L3oP+wo6hCbZpaa1in6SwMcVQ==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.31.2.tgz", + "integrity": "sha512-2JGwudpFoR/3Czq6mPpE8zBPYdHWFGL6lUNIGolbKQeSNv4EAiHaR5GVDQaLA0FwgcdcMtRk+SBJbFGL7+La5w==", "dev": true, "dependencies": { - "@typescript-eslint/types": "4.31.1", - "@typescript-eslint/visitor-keys": "4.31.1" + "@typescript-eslint/types": "4.31.2", + "@typescript-eslint/visitor-keys": "4.31.2" }, "engines": { "node": "^8.10.0 || ^10.13.0 || >=11.10.1" @@ -2734,9 +2703,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.31.1.tgz", - "integrity": "sha512-kixltt51ZJGKENNW88IY5MYqTBA8FR0Md8QdGbJD2pKZ+D5IvxjTYDNtJPDxFBiXmka2aJsITdB1BtO1fsgmsQ==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.31.2.tgz", + "integrity": "sha512-kWiTTBCTKEdBGrZKwFvOlGNcAsKGJSBc8xLvSjSppFO88AqGxGNYtF36EuEYG6XZ9vT0xX8RNiHbQUKglbSi1w==", "dev": true, "engines": { "node": "^8.10.0 || ^10.13.0 || >=11.10.1" @@ -2747,13 +2716,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.31.1.tgz", - "integrity": "sha512-EGHkbsUvjFrvRnusk6yFGqrqMBTue5E5ROnS5puj3laGQPasVUgwhrxfcgkdHNFECHAewpvELE1Gjv0XO3mdWg==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.31.2.tgz", + "integrity": "sha512-ieBq8U9at6PvaC7/Z6oe8D3czeW5d//Fo1xkF/s9394VR0bg/UaMYPdARiWyKX+lLEjY3w/FNZJxitMsiWv+wA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "4.31.1", - "@typescript-eslint/visitor-keys": "4.31.1", + "@typescript-eslint/types": "4.31.2", + "@typescript-eslint/visitor-keys": "4.31.2", "debug": "^4.3.1", "globby": "^11.0.3", "is-glob": "^4.0.1", @@ -2797,12 +2766,12 @@ "dev": true }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.31.1.tgz", - "integrity": "sha512-PCncP8hEqKw6SOJY+3St4LVtoZpPPn+Zlpm7KW5xnviMhdqcsBty4Lsg4J/VECpJjw1CkROaZhH4B8M1OfnXTQ==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.31.2.tgz", + "integrity": "sha512-PrBId7EQq2Nibns7dd/ch6S6/M4/iwLM9McbgeEbCXfxdwRUNxJ4UNreJ6Gh3fI2GNKNrWnQxKL7oCPmngKBug==", "dev": true, "dependencies": { - "@typescript-eslint/types": "4.31.1", + "@typescript-eslint/types": "4.31.2", "eslint-visitor-keys": "^2.0.0" }, "engines": { @@ -3400,12 +3369,12 @@ "dev": true }, "node_modules/babel-jest": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-27.2.0.tgz", - "integrity": "sha512-bS2p+KGGVVmWXBa8+i6SO/xzpiz2Q/2LnqLbQknPKefWXVZ67YIjA4iXup/jMOEZplga9PpWn+wrdb3UdDwRaA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-27.2.1.tgz", + "integrity": "sha512-kkaekSJHew1zfDW3cA2QiSBPg4uiLpiW0OwJKqFv0r2/mFgym/IBn7hxPntL6FvS66G/ROh+lz4pRiCJAH1/UQ==", "dev": true, "dependencies": { - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/babel__core": "^7.1.14", "babel-plugin-istanbul": "^6.0.0", @@ -5575,20 +5544,20 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.25.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.1.tgz", - "integrity": "sha512-P4j9K1dHoFXxDNP05AtixcJEvIT6ht8FhYKsrkY0MPCPaUMYijhpWwNiRDZVtA8KFuZOkGSeft6QwH8KuVpJug==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.3.tgz", + "integrity": "sha512-ZMbFvZ1WAYSZKY662MBVEWR45VaBT6KSJCiupjrNlcdakB90juaZeDCbJq19e73JZQubqFtgETohwgAt8u5P6w==", "dev": true, "dependencies": { "array-includes": "^3.1.3", "array.prototype.flatmap": "^1.2.4", "doctrine": "^2.1.0", "estraverse": "^5.2.0", - "has": "^1.0.3", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.0.4", "object.entries": "^1.1.4", "object.fromentries": "^2.0.4", + "object.hasown": "^1.0.0", "object.values": "^1.1.4", "prop-types": "^15.7.2", "resolve": "^2.0.0-next.3", @@ -5912,9 +5881,9 @@ } }, "node_modules/expect": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-27.2.0.tgz", - "integrity": "sha512-oOTbawMQv7AK1FZURbPTgGSzmhxkjFzoARSvDjOMnOpeWuYQx1tP6rXu9MIX5mrACmyCAM7fSNP8IJO2f1p0CQ==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-27.2.1.tgz", + "integrity": "sha512-ekOA2mBtT2phxcoPVHCXIzbJxCvRXhx2fr7m28IgGdZxUOh8UvxvoRz1FcPlfgZMpE92biHB6woIcAKXqR28hA==", "dev": true, "dependencies": { "@jest/types": "^27.1.1", @@ -6499,15 +6468,15 @@ } }, "node_modules/gqty": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/gqty/-/gqty-1.1.3.tgz", - "integrity": "sha512-b4vs8IiRBmOIJrRzvu6dvTEYYktNaBQFZrmGmmpyd9o4aPFZXMEaf3kpjEPShCtqLfGl/pxEaAA3So4mvIfIkg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/gqty/-/gqty-2.0.0.tgz", + "integrity": "sha512-1HkTLpKAsMYodzwQixoYseQycDYOH6Cl7pFZsr7rA8MTDkb52pCmxDv4SM5HReqSJvCnNBpd5vSbcV5Qclksbw==", "dependencies": { "lodash": "^4.17.21", "lodash-es": "^4.17.21" }, "peerDependencies": { - "graphql": "^15.5.2" + "graphql": "*" } }, "node_modules/graceful-fs": { @@ -6516,9 +6485,9 @@ "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" }, "node_modules/graphql": { - "version": "15.5.3", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.5.3.tgz", - "integrity": "sha512-sM+jXaO5KinTui6lbK/7b7H/Knj9BpjGxZ+Ki35v7YbUJxxdBCUqNM0h3CRVU1ZF9t5lNiBzvBCSYPvIwxPOQA==", + "version": "15.6.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.6.0.tgz", + "integrity": "sha512-WJR872Zlc9hckiEPhXgyUftXH48jp2EjO5tgBBOyNMRJZ9fviL2mJBD6CAysk6N5S0r9BTs09Qk39nnJBkvOXQ==", "engines": { "node": ">= 10.x" } @@ -7592,14 +7561,14 @@ } }, "node_modules/jest": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-27.2.0.tgz", - "integrity": "sha512-oUqVXyvh5YwEWl263KWdPUAqEzBFzGHdFLQ05hUnITr1tH+9SscEI9A/GH9eBClA+Nw1ct+KNuuOV6wlnmBPcg==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest/-/jest-27.2.1.tgz", + "integrity": "sha512-0MyvNS7J1HbkeotYaqKNGioN+p1/AAPtI1Z8iwMtCBE+PwBT+M4l25D9Pve8/KdhktYLgZaGyyj9CoDytD+R2Q==", "dev": true, "dependencies": { - "@jest/core": "^27.2.0", + "@jest/core": "^27.2.1", "import-local": "^3.0.2", - "jest-cli": "^27.2.0" + "jest-cli": "^27.2.1" }, "bin": { "jest": "bin/jest.js" @@ -7631,9 +7600,9 @@ } }, "node_modules/jest-circus": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.2.0.tgz", - "integrity": "sha512-WwENhaZwOARB1nmcboYPSv/PwHBUGRpA4MEgszjr9DLCl97MYw0qZprBwLb7rNzvMwfIvNGG7pefQ5rxyBlzIA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.2.1.tgz", + "integrity": "sha512-9q/8X8DgJmW8IqXsJNnS2E28iarx990hf6D+frS3P0lB+avhFDD33alLwZzKgm45u0wvEi6iFh43WjNbp5fhjw==", "dev": true, "dependencies": { "@jest/environment": "^27.2.0", @@ -7643,13 +7612,13 @@ "chalk": "^4.0.0", "co": "^4.6.0", "dedent": "^0.7.0", - "expect": "^27.2.0", + "expect": "^27.2.1", "is-generator-fn": "^2.0.0", "jest-each": "^27.2.0", "jest-matcher-utils": "^27.2.0", "jest-message-util": "^27.2.0", - "jest-runtime": "^27.2.0", - "jest-snapshot": "^27.2.0", + "jest-runtime": "^27.2.1", + "jest-snapshot": "^27.2.1", "jest-util": "^27.2.0", "pretty-format": "^27.2.0", "slash": "^3.0.0", @@ -7661,19 +7630,19 @@ } }, "node_modules/jest-cli": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.2.0.tgz", - "integrity": "sha512-bq1X/B/b1kT9y1zIFMEW3GFRX1HEhFybiqKdbxM+j11XMMYSbU9WezfyWIhrSOmPT+iODLATVjfsCnbQs7cfIA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.2.1.tgz", + "integrity": "sha512-IfxuGkBZS/ogY7yFvvD1dFidzQRXlSBHtUZQ3UTIHydzNMF4/ZRTdGFso6HkbCkemwLh4hnNybONexEqWmYwjw==", "dev": true, "dependencies": { - "@jest/core": "^27.2.0", + "@jest/core": "^27.2.1", "@jest/test-result": "^27.2.0", "@jest/types": "^27.1.1", "chalk": "^4.0.0", "exit": "^0.1.2", "graceful-fs": "^4.2.4", "import-local": "^3.0.2", - "jest-config": "^27.2.0", + "jest-config": "^27.2.1", "jest-util": "^27.2.0", "jest-validate": "^27.2.0", "prompts": "^2.0.1", @@ -7759,28 +7728,28 @@ } }, "node_modules/jest-config": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.2.0.tgz", - "integrity": "sha512-Z1romHpxeNwLxQtouQ4xt07bY6HSFGKTo0xJcvOK3u6uJHveA4LB2P+ty9ArBLpTh3AqqPxsyw9l9GMnWBYS9A==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.2.1.tgz", + "integrity": "sha512-BAOemP8udmFw9nkgaLAac7vXORdvrt4yrJWoh7uYb0nPZeSsu0kGwJU18SwtY4paq9fed5OgAssC3A+Bf4WMQA==", "dev": true, "dependencies": { "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^27.2.0", + "@jest/test-sequencer": "^27.2.1", "@jest/types": "^27.1.1", - "babel-jest": "^27.2.0", + "babel-jest": "^27.2.1", "chalk": "^4.0.0", "deepmerge": "^4.2.2", "glob": "^7.1.1", "graceful-fs": "^4.2.4", "is-ci": "^3.0.0", - "jest-circus": "^27.2.0", + "jest-circus": "^27.2.1", "jest-environment-jsdom": "^27.2.0", "jest-environment-node": "^27.2.0", "jest-get-type": "^27.0.6", - "jest-jasmine2": "^27.2.0", + "jest-jasmine2": "^27.2.1", "jest-regex-util": "^27.0.6", "jest-resolve": "^27.2.0", - "jest-runner": "^27.2.0", + "jest-runner": "^27.2.1", "jest-util": "^27.2.0", "jest-validate": "^27.2.0", "micromatch": "^4.0.4", @@ -7912,9 +7881,9 @@ } }, "node_modules/jest-jasmine2": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.2.0.tgz", - "integrity": "sha512-NcPzZBk6IkDW3Z2V8orGueheGJJYfT5P0zI/vTO/Jp+R9KluUdgFrgwfvZ0A34Kw6HKgiWFILZmh3oQ/eS+UxA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.2.1.tgz", + "integrity": "sha512-3vytj3+S49+XYsxGJyjlchDo4xblYzjDY4XK7pV2IAdspbMFOpmeNMOeDonYuvlbUtcV8yrFLA6XtliXapDmMA==", "dev": true, "dependencies": { "@babel/traverse": "^7.1.0", @@ -7925,13 +7894,13 @@ "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", - "expect": "^27.2.0", + "expect": "^27.2.1", "is-generator-fn": "^2.0.0", "jest-each": "^27.2.0", "jest-matcher-utils": "^27.2.0", "jest-message-util": "^27.2.0", - "jest-runtime": "^27.2.0", - "jest-snapshot": "^27.2.0", + "jest-runtime": "^27.2.1", + "jest-snapshot": "^27.2.1", "jest-util": "^27.2.0", "pretty-format": "^27.2.0", "throat": "^6.0.1" @@ -8049,29 +8018,29 @@ } }, "node_modules/jest-resolve-dependencies": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.2.0.tgz", - "integrity": "sha512-EY5jc/Y0oxn+oVEEldTidmmdVoZaknKPyDORA012JUdqPyqPL+lNdRyI3pGti0RCydds6coaw6xt4JQY54dKsg==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.2.1.tgz", + "integrity": "sha512-9bKEwmz4YshGPjGZAVZOVw6jt7pq2/FjWJmyhnWhvDuiRCHVZBcJhycinX+e/EJ7jafsq26bTpzBIQas3xql1g==", "dev": true, "dependencies": { "@jest/types": "^27.1.1", "jest-regex-util": "^27.0.6", - "jest-snapshot": "^27.2.0" + "jest-snapshot": "^27.2.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, "node_modules/jest-runner": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-27.2.0.tgz", - "integrity": "sha512-Cl+BHpduIc0cIVTjwoyx0pQk4Br8gn+wkr35PmKCmzEdOUnQ2wN7QVXA8vXnMQXSlFkN/+KWnk20TAVBmhgrww==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-27.2.1.tgz", + "integrity": "sha512-USHitkUUzcB3Y5mRdzlp+KHgRRR2VsXDq5OeATuDmq1qXfT/RwwnQykUhn+KVx3FotxK3pID74UY7o6HYIR8vA==", "dev": true, "dependencies": { "@jest/console": "^27.2.0", "@jest/environment": "^27.2.0", "@jest/test-result": "^27.2.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/node": "*", "chalk": "^4.0.0", @@ -8085,7 +8054,7 @@ "jest-leak-detector": "^27.2.0", "jest-message-util": "^27.2.0", "jest-resolve": "^27.2.0", - "jest-runtime": "^27.2.0", + "jest-runtime": "^27.2.1", "jest-util": "^27.2.0", "jest-worker": "^27.2.0", "source-map-support": "^0.5.6", @@ -8096,18 +8065,18 @@ } }, "node_modules/jest-runtime": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.2.0.tgz", - "integrity": "sha512-6gRE9AVVX49hgBbWQ9PcNDeM4upMUXzTpBs0kmbrjyotyUyIJixLPsYjpeTFwAA07PVLDei1iAm2chmWycdGdQ==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.2.1.tgz", + "integrity": "sha512-QJNnwL4iteDE/Jq4TfQK7AjhPoUZflBKTtUIkRnFYFkTAZTP/o8k7ekaROiVjmo+NYop5+DQPqX6pz4vWbZSOQ==", "dev": true, "dependencies": { "@jest/console": "^27.2.0", "@jest/environment": "^27.2.0", "@jest/fake-timers": "^27.2.0", - "@jest/globals": "^27.2.0", + "@jest/globals": "^27.2.1", "@jest/source-map": "^27.0.6", "@jest/test-result": "^27.2.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/yargs": "^16.0.0", "chalk": "^4.0.0", @@ -8122,7 +8091,7 @@ "jest-mock": "^27.1.1", "jest-regex-util": "^27.0.6", "jest-resolve": "^27.2.0", - "jest-snapshot": "^27.2.0", + "jest-snapshot": "^27.2.1", "jest-util": "^27.2.0", "jest-validate": "^27.2.0", "slash": "^3.0.0", @@ -8211,9 +8180,9 @@ } }, "node_modules/jest-snapshot": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.2.0.tgz", - "integrity": "sha512-MukJvy3KEqemCT2FoT3Gum37CQqso/62PKTfIzWmZVTsLsuyxQmJd2PI5KPcBYFqLlA8LgZLHM8ZlazkVt8LsQ==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.2.1.tgz", + "integrity": "sha512-8CTg2YrgZuQbPHW7G0YvLTj4yTRXLmSeEO+ka3eC5lbu5dsTRyoDNS1L7x7EFUTyYQhFH9HQG1/TNlbUgR9Lug==", "dev": true, "dependencies": { "@babel/core": "^7.7.2", @@ -8222,13 +8191,13 @@ "@babel/plugin-syntax-typescript": "^7.7.2", "@babel/traverse": "^7.7.2", "@babel/types": "^7.0.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/babel__traverse": "^7.0.4", "@types/prettier": "^2.1.5", "babel-preset-current-node-syntax": "^1.0.0", "chalk": "^4.0.0", - "expect": "^27.2.0", + "expect": "^27.2.1", "graceful-fs": "^4.2.4", "jest-diff": "^27.2.0", "jest-get-type": "^27.0.6", @@ -9661,6 +9630,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/object.hasown": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.0.0.tgz", + "integrity": "sha512-qYMF2CLIjxxLGleeM0jrcB4kiv3loGVAjKQKvH8pSU/i2VcRRvUNmxbD+nEMmrXRfORhuVJuH8OtSYCZoue3zA==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.18.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/object.values": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.4.tgz", @@ -10320,9 +10302,9 @@ } }, "node_modules/prettier": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.0.tgz", - "integrity": "sha512-DsEPLY1dE5HF3BxCRBmD4uYZ+5DCbvatnolqTqcxEgKVZnL2kUfyu7b8pPQ5+hTBkdhU9SLUmK0/pHb07RE4WQ==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", + "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==", "bin": { "prettier": "bin-prettier.js" }, @@ -11110,9 +11092,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sass": { - "version": "1.39.2", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.39.2.tgz", - "integrity": "sha512-4/6Vn2RPc+qNwSclUSKvssh7dqK1Ih3FfHBW16I/GfH47b3scbYeOw65UIrYG7PkweFiKbpJjgkf5CV8EMmvzw==", + "version": "1.41.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.41.1.tgz", + "integrity": "sha512-vIjX7izRxw3Wsiez7SX7D+j76v7tenfO18P59nonjr/nzCkZuoHuF7I/Fo0ZRZPKr88v29ivIdE9BqGDgQD/Nw==", "dependencies": { "chokidar": ">=3.0.0 <4.0.0" }, @@ -11473,9 +11455,9 @@ "dev": true }, "node_modules/stack-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.3.tgz", - "integrity": "sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", + "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", "dev": true, "dependencies": { "escape-string-regexp": "^2.0.0" @@ -12130,9 +12112,9 @@ } }, "node_modules/ts-loader": { - "version": "9.2.5", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.2.5.tgz", - "integrity": "sha512-al/ATFEffybdRMUIr5zMEWQdVnCGMUA9d3fXJ8dBVvBlzytPvIszoG9kZoR+94k6/i293RnVOXwMaWbXhNy9pQ==", + "version": "9.2.6", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.2.6.tgz", + "integrity": "sha512-QMTC4UFzHmu9wU2VHZEmWWE9cUajjfcdcws+Gh7FhiO+Dy0RnR1bNz0YCHqhI0yRowCE9arVnNxYHqELOy9Hjw==", "dev": true, "dependencies": { "chalk": "^4.1.0", @@ -13027,22 +13009,22 @@ "dependencies": { "cookie": "^0.4.1", "deepmerge": "^4.2.2", - "gqty": "^1.1.3", + "gqty": "^2.0.0", "isomorphic-fetch": "^3.0.0", "lodash": "^4.17.21" }, "devDependencies": { - "@gqty/cli": "^1.1.4", + "@gqty/cli": "^2.0.0", "@testing-library/jest-dom": "^5.14.1", "@types/cookie": "^0.4.1", "@types/is-number": "^7.0.1", "@types/isomorphic-fetch": "^0.0.35", "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.4", "@types/webpack-env": "^1.16.2", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "clean-webpack-plugin": "^4.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", @@ -13050,11 +13032,11 @@ "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-simple-import-sort": "^7.0.0", "fetch-mock": "9.11.0", - "jest": "^27.2.0", - "prettier": "^2.4.0", + "jest": "^27.2.1", + "prettier": "^2.4.1", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3" } }, @@ -13112,20 +13094,20 @@ "dependencies": { "@faustjs/core": "^0.10.2", "@faustjs/react": "^0.10.2", - "@gqty/logger": "^1.0.4", - "@gqty/react": "^1.1.1", - "graphql": ">=15.5", + "@gqty/logger": "^2.0.0", + "@gqty/react": "^2.0.0", + "graphql": ">=15.6", "lodash": "^4.17.21" }, "devDependencies": { "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.1.0", "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", - "@types/react": "^17.0.20", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.4", + "@types/react": "^17.0.22", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "bs-logger": "^0.2.6", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", @@ -13134,19 +13116,19 @@ "eslint-plugin-import": "^2.24.2", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.25.1", + "eslint-plugin-react": "^7.25.3", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "gqty": "^1.1.3", - "jest": "^27.2.0", + "gqty": "^2.0.0", + "jest": "^27.2.1", "make-error": "^1.3.6", "next": "^11.1.2", - "prettier": "^2.4.0", + "prettier": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3" }, "peerDependencies": { @@ -13155,6 +13137,37 @@ "react-dom": ">=17.0.2" } }, + "packages/next/node_modules/@gqty/logger": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gqty/logger/-/logger-2.0.0.tgz", + "integrity": "sha512-oMdlHb1Mfvrv4stwulkfPtGLEiz8vOlFL1A3WSmMazAIOQddFPTjbfA/DjaOcGw6ILxMUeLEvckn/wOeTB1apg==", + "dependencies": { + "prettier": "^2.4.1", + "serialize-error": "^8.1.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "gqty": "^2.0.0" + } + }, + "packages/next/node_modules/@gqty/react": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gqty/react/-/react-2.0.0.tgz", + "integrity": "sha512-HhZQtCI+HvixWez16fQ9iK+zQvijwaBzUQfCTDoHAEpyO+5JvQHhRxWtY0PLxhySuvK2KONyQLdBlp9TIYaCyw==", + "dependencies": { + "react-ssr-prepass": "^1.4.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "gqty": "^2.0.0", + "graphql": "*", + "react": ">=16.8" + } + }, "packages/next/node_modules/ts-jest": { "version": "27.0.5", "dev": true, @@ -13208,9 +13221,9 @@ "license": "MIT", "dependencies": { "@faustjs/core": "^0.10.2", - "@gqty/react": "^1.1.1", - "gqty": "^1.1.3", - "graphql": ">=15.5", + "@gqty/react": "^2.0.0", + "gqty": "^2.0.0", + "graphql": ">=15.6", "lodash": "^4.17.21" }, "devDependencies": { @@ -13218,11 +13231,11 @@ "@testing-library/react": "^12.1.0", "@testing-library/react-hooks": "^7.0.2", "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", - "@types/react": "^17.0.20", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.4", + "@types/react": "^17.0.22", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "bs-logger": "^0.2.6", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", @@ -13231,17 +13244,17 @@ "eslint-plugin-import": "^2.24.2", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.25.1", + "eslint-plugin-react": "^7.25.3", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "jest": "^27.2.0", + "jest": "^27.2.1", "make-error": "^1.3.6", - "prettier": "^2.4.0", + "prettier": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3" }, "peerDependencies": { @@ -13249,6 +13262,22 @@ "react-dom": ">=17.0.2" } }, + "packages/react/node_modules/@gqty/react": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gqty/react/-/react-2.0.0.tgz", + "integrity": "sha512-HhZQtCI+HvixWez16fQ9iK+zQvijwaBzUQfCTDoHAEpyO+5JvQHhRxWtY0PLxhySuvK2KONyQLdBlp9TIYaCyw==", + "dependencies": { + "react-ssr-prepass": "^1.4.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "gqty": "^2.0.0", + "graphql": "*", + "react": ">=16.8" + } + }, "packages/react/node_modules/ts-jest": { "version": "27.0.5", "dev": true, @@ -14082,17 +14111,17 @@ "@faustjs/core": { "version": "file:packages/core", "requires": { - "@gqty/cli": "^1.1.4", + "@gqty/cli": "^2.0.0", "@testing-library/jest-dom": "^5.14.1", "@types/cookie": "^0.4.1", "@types/is-number": "^7.0.1", "@types/isomorphic-fetch": "^0.0.35", "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.4", "@types/webpack-env": "^1.16.2", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "clean-webpack-plugin": "^4.0.0", "cookie": "^0.4.1", "deepmerge": "^4.2.2", @@ -14102,14 +14131,14 @@ "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-simple-import-sort": "^7.0.0", "fetch-mock": "9.11.0", - "gqty": "^1.1.3", + "gqty": "^2.0.0", "isomorphic-fetch": "^3.0.0", - "jest": "^27.2.0", + "jest": "^27.2.1", "lodash": "^4.17.21", - "prettier": "^2.4.0", + "prettier": "^2.4.1", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3" }, "dependencies": { @@ -14138,16 +14167,16 @@ "requires": { "@faustjs/core": "^0.10.2", "@faustjs/react": "^0.10.2", - "@gqty/logger": "^1.0.4", - "@gqty/react": "^1.1.1", + "@gqty/logger": "^2.0.0", + "@gqty/react": "^2.0.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.1.0", "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", - "@types/react": "^17.0.20", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.4", + "@types/react": "^17.0.22", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "bs-logger": "^0.2.6", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", @@ -14156,24 +14185,41 @@ "eslint-plugin-import": "^2.24.2", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.25.1", + "eslint-plugin-react": "^7.25.3", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "gqty": "^1.1.3", - "graphql": ">=15.5", - "jest": "^27.2.0", + "gqty": "^2.0.0", + "graphql": ">=15.6", + "jest": "^27.2.1", "lodash": "^4.17.21", "make-error": "^1.3.6", "next": "^11.1.2", - "prettier": "^2.4.0", + "prettier": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3" }, "dependencies": { + "@gqty/logger": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gqty/logger/-/logger-2.0.0.tgz", + "integrity": "sha512-oMdlHb1Mfvrv4stwulkfPtGLEiz8vOlFL1A3WSmMazAIOQddFPTjbfA/DjaOcGw6ILxMUeLEvckn/wOeTB1apg==", + "requires": { + "prettier": "^2.4.1", + "serialize-error": "^8.1.0" + } + }, + "@gqty/react": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gqty/react/-/react-2.0.0.tgz", + "integrity": "sha512-HhZQtCI+HvixWez16fQ9iK+zQvijwaBzUQfCTDoHAEpyO+5JvQHhRxWtY0PLxhySuvK2KONyQLdBlp9TIYaCyw==", + "requires": { + "react-ssr-prepass": "^1.4.0" + } + }, "ts-jest": { "version": "27.0.5", "dev": true, @@ -14198,16 +14244,16 @@ "version": "file:packages/react", "requires": { "@faustjs/core": "^0.10.2", - "@gqty/react": "^1.1.1", + "@gqty/react": "^2.0.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.1.0", "@testing-library/react-hooks": "^7.0.2", "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", - "@types/react": "^17.0.20", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.4", + "@types/react": "^17.0.22", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "bs-logger": "^0.2.6", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", @@ -14216,23 +14262,31 @@ "eslint-plugin-import": "^2.24.2", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.25.1", + "eslint-plugin-react": "^7.25.3", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "gqty": "^1.1.3", - "graphql": ">=15.5", - "jest": "^27.2.0", + "gqty": "^2.0.0", + "graphql": ">=15.6", + "jest": "^27.2.1", "lodash": "^4.17.21", "make-error": "^1.3.6", - "prettier": "^2.4.0", + "prettier": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3" }, "dependencies": { + "@gqty/react": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gqty/react/-/react-2.0.0.tgz", + "integrity": "sha512-HhZQtCI+HvixWez16fQ9iK+zQvijwaBzUQfCTDoHAEpyO+5JvQHhRxWtY0PLxhySuvK2KONyQLdBlp9TIYaCyw==", + "requires": { + "react-ssr-prepass": "^1.4.0" + } + }, "ts-jest": { "version": "27.0.5", "dev": true, @@ -14254,22 +14308,22 @@ } }, "@gqty/cli": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@gqty/cli/-/cli-1.1.4.tgz", - "integrity": "sha512-INZrohEnmyjyyziUozCNW8va5gaJZCyNeTcYQsKMZGGIyot61nn1qTeI1k8d9m4lvFu28Nen6bjSgRTIGkLYEQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@gqty/cli/-/cli-2.0.0.tgz", + "integrity": "sha512-0tu/kDV8Mi7EiaQOVhEZfeCqofyWZTFdQinHgmCY3CO9evjjb6k6mhDSE5kpDQphmcFsuNkclqz8yiY1DUeHMw==", "dev": true, "requires": { "@graphql-codegen/core": "^2.1.0", - "@graphql-codegen/typescript": "^2.2.0", + "@graphql-codegen/typescript": "^2.2.2", "@graphql-tools/delegate": "^8.2.1", "@graphql-tools/utils": "^8.2.2", "@graphql-tools/wrap": "^8.1.0", - "commander": "^8.1.0", + "commander": "^8.2.0", "cosmiconfig": "^7.0.1", "cross-fetch": "^3.1.4", - "gqty": "^1.1.2", + "gqty": "^2.0.0", "mkdirp": "^1.0.4", - "prettier": "^2.3.2" + "prettier": "^2.4.1" }, "dependencies": { "mkdirp": { @@ -14280,23 +14334,6 @@ } } }, - "@gqty/logger": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@gqty/logger/-/logger-1.0.4.tgz", - "integrity": "sha512-mQzjMDz6k2iU42j7Micwe/cWW8A57mM0ewhtTepjJqZ3iyb12Ro95KRULCm/op5KZt7W35hNLHZ93ThjbDndfw==", - "requires": { - "prettier": "^2.3.2", - "serialize-error": "^8.1.0" - } - }, - "@gqty/react": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@gqty/react/-/react-1.1.1.tgz", - "integrity": "sha512-l0i+zB3Z5zOkYTyvuiLjLsrHGQnVul04PZph3RwopWnutvpVvxjwCJXXiu4DNeh79N4k+sB7ra7EBHDpogFjfg==", - "requires": { - "react-ssr-prepass": "^1.4.0" - } - }, "@graphql-codegen/core": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@graphql-codegen/core/-/core-2.1.0.tgz", @@ -14671,15 +14708,15 @@ } }, "@jest/core": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-27.2.0.tgz", - "integrity": "sha512-E/2NHhq+VMo18DpKkoty8Sjey8Kps5Cqa88A8NP757s6JjYqPdioMuyUBhDiIOGCdQByEp0ou3jskkTszMS0nw==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-27.2.1.tgz", + "integrity": "sha512-XcGt9UgPyzylThvezwUIMCNVp8xxN78Ic3WwhJZehZt4n2hPHR6Bd85A1nKFZBeqW58Vd+Cx/LaN6YL4n58KlA==", "dev": true, "requires": { "@jest/console": "^27.2.0", - "@jest/reporters": "^27.2.0", + "@jest/reporters": "^27.2.1", "@jest/test-result": "^27.2.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/node": "*", "ansi-escapes": "^4.2.1", @@ -14688,15 +14725,15 @@ "exit": "^0.1.2", "graceful-fs": "^4.2.4", "jest-changed-files": "^27.1.1", - "jest-config": "^27.2.0", + "jest-config": "^27.2.1", "jest-haste-map": "^27.2.0", "jest-message-util": "^27.2.0", "jest-regex-util": "^27.0.6", "jest-resolve": "^27.2.0", - "jest-resolve-dependencies": "^27.2.0", - "jest-runner": "^27.2.0", - "jest-runtime": "^27.2.0", - "jest-snapshot": "^27.2.0", + "jest-resolve-dependencies": "^27.2.1", + "jest-runner": "^27.2.1", + "jest-runtime": "^27.2.1", + "jest-snapshot": "^27.2.1", "jest-util": "^27.2.0", "jest-validate": "^27.2.0", "jest-watcher": "^27.2.0", @@ -14734,26 +14771,26 @@ } }, "@jest/globals": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.2.0.tgz", - "integrity": "sha512-raqk9Gf9WC3hlBa57rmRmJfRl9hom2b+qEE/ifheMtwn5USH5VZxzrHHOZg0Zsd/qC2WJ8UtyTwHKQAnNlDMdg==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.2.1.tgz", + "integrity": "sha512-4P46Zr4cckSitsWtOMRvgMMn7mOKbBsQdYxHeGSIG3kpI4gNR2vk51balPulZHnBQCQb/XBptprtoSv1REfaew==", "dev": true, "requires": { "@jest/environment": "^27.2.0", "@jest/types": "^27.1.1", - "expect": "^27.2.0" + "expect": "^27.2.1" } }, "@jest/reporters": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.2.0.tgz", - "integrity": "sha512-7wfkE3iRTLaT0F51h1mnxH3nQVwDCdbfgXiLuCcNkF1FnxXLH9utHqkSLIiwOTV1AtmiE0YagHbOvx4rnMP/GA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.2.1.tgz", + "integrity": "sha512-ILqR+bIIBlhaHjDtQR/0Z20YkKAQVM+NVRuJLaWFCoRx/rKQQSxG01ZLiLV0MsA6wkBHf6J9fzFuXp0k5l7epw==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", "@jest/console": "^27.2.0", "@jest/test-result": "^27.2.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "chalk": "^4.0.0", "collect-v8-coverage": "^1.0.0", @@ -14800,21 +14837,21 @@ } }, "@jest/test-sequencer": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.2.0.tgz", - "integrity": "sha512-PrqarcpzOU1KSAK7aPwfL8nnpaqTMwPe7JBPnaOYRDSe/C6AoJiL5Kbnonqf1+DregxZIRAoDg69R9/DXMGqXA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.2.1.tgz", + "integrity": "sha512-fWcEgWQXgvU4DFY5YHfQsGwqfJWyuCUzdOzLZTYtyLB3WK1mFPQGYAszM7mCEZjyVon5XRuCa+2/+hif/uMucQ==", "dev": true, "requires": { "@jest/test-result": "^27.2.0", "graceful-fs": "^4.2.4", "jest-haste-map": "^27.2.0", - "jest-runtime": "^27.2.0" + "jest-runtime": "^27.2.1" } }, "@jest/transform": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-27.2.0.tgz", - "integrity": "sha512-Q8Q/8xXIZYllk1AF7Ou5sV3egOZsdY/Wlv09CSbcexBRcC1Qt6lVZ7jRFAZtbHsEEzvOCyFEC4PcrwKwyjXtCg==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-27.2.1.tgz", + "integrity": "sha512-xmB5vh81KK8DiiCMtI5vI59mP+GggNmc9BiN+fg4mKdQHV369+WuZc1Lq2xWFCOCsRPHt24D9h7Idp4YaMB1Ww==", "dev": true, "requires": { "@babel/core": "^7.1.0", @@ -15327,9 +15364,9 @@ } }, "@types/lodash": { - "version": "4.14.172", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.172.tgz", - "integrity": "sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw==", + "version": "4.14.173", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.173.tgz", + "integrity": "sha512-vv0CAYoaEjCw/mLy96GBTnRoZrSxkGE0BKzKimdR8P3OzrNYNvBgtW7p055A+E8C31vXNUhWKoFCbhq7gbyhFg==", "dev": true }, "@types/minimatch": { @@ -15339,9 +15376,9 @@ "dev": true }, "@types/node": { - "version": "16.9.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.1.tgz", - "integrity": "sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==" + "version": "16.9.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.4.tgz", + "integrity": "sha512-KDazLNYAGIuJugdbULwFZULF9qQ13yNWEBFnfVpqlpgAAo6H/qnM9RjBgh0A0kmHf3XxAKLdN5mTIng9iUvVLA==" }, "@types/parse-json": { "version": "4.0.0", @@ -15362,9 +15399,9 @@ "dev": true }, "@types/react": { - "version": "17.0.20", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.20.tgz", - "integrity": "sha512-wWZrPlihslrPpcKyCSlmIlruakxr57/buQN1RjlIeaaTWDLtJkTtRW429MoQJergvVKc4IWBpRhWw7YNh/7GVA==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.22.tgz", + "integrity": "sha512-kq/BMeaAVLJM6Pynh8C2rnr/drCK+/5ksH0ch9asz+8FW3DscYCIEFtCeYTFeIx/ubvOsMXmRfy7qEJ76gM96A==", "dev": true, "requires": { "@types/prop-types": "*", @@ -15442,13 +15479,13 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.31.1.tgz", - "integrity": "sha512-UDqhWmd5i0TvPLmbK5xY3UZB0zEGseF+DHPghZ37Sb83Qd3p8ujhvAtkU4OF46Ka5Pm5kWvFIx0cCTBFKo0alA==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.31.2.tgz", + "integrity": "sha512-w63SCQ4bIwWN/+3FxzpnWrDjQRXVEGiTt9tJTRptRXeFvdZc/wLiz3FQUwNQ2CVoRGI6KUWMNUj/pk63noUfcA==", "dev": true, "requires": { - "@typescript-eslint/experimental-utils": "4.31.1", - "@typescript-eslint/scope-manager": "4.31.1", + "@typescript-eslint/experimental-utils": "4.31.2", + "@typescript-eslint/scope-manager": "4.31.2", "debug": "^4.3.1", "functional-red-black-tree": "^1.0.1", "regexpp": "^3.1.0", @@ -15474,28 +15511,28 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.31.1.tgz", - "integrity": "sha512-NtoPsqmcSsWty0mcL5nTZXMf7Ei0Xr2MT8jWjXMVgRK0/1qeQ2jZzLFUh4QtyJ4+/lPUyMw5cSfeeME+Zrtp9Q==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.31.2.tgz", + "integrity": "sha512-3tm2T4nyA970yQ6R3JZV9l0yilE2FedYg8dcXrTar34zC9r6JB7WyBQbpIVongKPlhEMjhQ01qkwrzWy38Bk1Q==", "dev": true, "requires": { "@types/json-schema": "^7.0.7", - "@typescript-eslint/scope-manager": "4.31.1", - "@typescript-eslint/types": "4.31.1", - "@typescript-eslint/typescript-estree": "4.31.1", + "@typescript-eslint/scope-manager": "4.31.2", + "@typescript-eslint/types": "4.31.2", + "@typescript-eslint/typescript-estree": "4.31.2", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" } }, "@typescript-eslint/parser": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.31.1.tgz", - "integrity": "sha512-dnVZDB6FhpIby6yVbHkwTKkn2ypjVIfAR9nh+kYsA/ZL0JlTsd22BiDjouotisY3Irmd3OW1qlk9EI5R8GrvRQ==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.31.2.tgz", + "integrity": "sha512-EcdO0E7M/sv23S/rLvenHkb58l3XhuSZzKf6DBvLgHqOYdL6YFMYVtreGFWirxaU2mS1GYDby3Lyxco7X5+Vjw==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "4.31.1", - "@typescript-eslint/types": "4.31.1", - "@typescript-eslint/typescript-estree": "4.31.1", + "@typescript-eslint/scope-manager": "4.31.2", + "@typescript-eslint/types": "4.31.2", + "@typescript-eslint/typescript-estree": "4.31.2", "debug": "^4.3.1" }, "dependencies": { @@ -15517,29 +15554,29 @@ } }, "@typescript-eslint/scope-manager": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.31.1.tgz", - "integrity": "sha512-N1Uhn6SqNtU2XpFSkD4oA+F0PfKdWHyr4bTX0xTj8NRx1314gBDRL1LUuZd5+L3oP+wo6hCbZpaa1in6SwMcVQ==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.31.2.tgz", + "integrity": "sha512-2JGwudpFoR/3Czq6mPpE8zBPYdHWFGL6lUNIGolbKQeSNv4EAiHaR5GVDQaLA0FwgcdcMtRk+SBJbFGL7+La5w==", "dev": true, "requires": { - "@typescript-eslint/types": "4.31.1", - "@typescript-eslint/visitor-keys": "4.31.1" + "@typescript-eslint/types": "4.31.2", + "@typescript-eslint/visitor-keys": "4.31.2" } }, "@typescript-eslint/types": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.31.1.tgz", - "integrity": "sha512-kixltt51ZJGKENNW88IY5MYqTBA8FR0Md8QdGbJD2pKZ+D5IvxjTYDNtJPDxFBiXmka2aJsITdB1BtO1fsgmsQ==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.31.2.tgz", + "integrity": "sha512-kWiTTBCTKEdBGrZKwFvOlGNcAsKGJSBc8xLvSjSppFO88AqGxGNYtF36EuEYG6XZ9vT0xX8RNiHbQUKglbSi1w==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.31.1.tgz", - "integrity": "sha512-EGHkbsUvjFrvRnusk6yFGqrqMBTue5E5ROnS5puj3laGQPasVUgwhrxfcgkdHNFECHAewpvELE1Gjv0XO3mdWg==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.31.2.tgz", + "integrity": "sha512-ieBq8U9at6PvaC7/Z6oe8D3czeW5d//Fo1xkF/s9394VR0bg/UaMYPdARiWyKX+lLEjY3w/FNZJxitMsiWv+wA==", "dev": true, "requires": { - "@typescript-eslint/types": "4.31.1", - "@typescript-eslint/visitor-keys": "4.31.1", + "@typescript-eslint/types": "4.31.2", + "@typescript-eslint/visitor-keys": "4.31.2", "debug": "^4.3.1", "globby": "^11.0.3", "is-glob": "^4.0.1", @@ -15565,12 +15602,12 @@ } }, "@typescript-eslint/visitor-keys": { - "version": "4.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.31.1.tgz", - "integrity": "sha512-PCncP8hEqKw6SOJY+3St4LVtoZpPPn+Zlpm7KW5xnviMhdqcsBty4Lsg4J/VECpJjw1CkROaZhH4B8M1OfnXTQ==", + "version": "4.31.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.31.2.tgz", + "integrity": "sha512-PrBId7EQq2Nibns7dd/ch6S6/M4/iwLM9McbgeEbCXfxdwRUNxJ4UNreJ6Gh3fI2GNKNrWnQxKL7oCPmngKBug==", "dev": true, "requires": { - "@typescript-eslint/types": "4.31.1", + "@typescript-eslint/types": "4.31.2", "eslint-visitor-keys": "^2.0.0" } }, @@ -16055,12 +16092,12 @@ "dev": true }, "babel-jest": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-27.2.0.tgz", - "integrity": "sha512-bS2p+KGGVVmWXBa8+i6SO/xzpiz2Q/2LnqLbQknPKefWXVZ67YIjA4iXup/jMOEZplga9PpWn+wrdb3UdDwRaA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-27.2.1.tgz", + "integrity": "sha512-kkaekSJHew1zfDW3cA2QiSBPg4uiLpiW0OwJKqFv0r2/mFgym/IBn7hxPntL6FvS66G/ROh+lz4pRiCJAH1/UQ==", "dev": true, "requires": { - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/babel__core": "^7.1.14", "babel-plugin-istanbul": "^6.0.0", @@ -17867,20 +17904,20 @@ } }, "eslint-plugin-react": { - "version": "7.25.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.1.tgz", - "integrity": "sha512-P4j9K1dHoFXxDNP05AtixcJEvIT6ht8FhYKsrkY0MPCPaUMYijhpWwNiRDZVtA8KFuZOkGSeft6QwH8KuVpJug==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.3.tgz", + "integrity": "sha512-ZMbFvZ1WAYSZKY662MBVEWR45VaBT6KSJCiupjrNlcdakB90juaZeDCbJq19e73JZQubqFtgETohwgAt8u5P6w==", "dev": true, "requires": { "array-includes": "^3.1.3", "array.prototype.flatmap": "^1.2.4", "doctrine": "^2.1.0", "estraverse": "^5.2.0", - "has": "^1.0.3", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.0.4", "object.entries": "^1.1.4", "object.fromentries": "^2.0.4", + "object.hasown": "^1.0.0", "object.values": "^1.1.4", "prop-types": "^15.7.2", "resolve": "^2.0.0-next.3", @@ -18061,9 +18098,9 @@ "dev": true }, "expect": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-27.2.0.tgz", - "integrity": "sha512-oOTbawMQv7AK1FZURbPTgGSzmhxkjFzoARSvDjOMnOpeWuYQx1tP6rXu9MIX5mrACmyCAM7fSNP8IJO2f1p0CQ==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-27.2.1.tgz", + "integrity": "sha512-ekOA2mBtT2phxcoPVHCXIzbJxCvRXhx2fr7m28IgGdZxUOh8UvxvoRz1FcPlfgZMpE92biHB6woIcAKXqR28hA==", "dev": true, "requires": { "@jest/types": "^27.1.1", @@ -18508,9 +18545,9 @@ } }, "gqty": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/gqty/-/gqty-1.1.3.tgz", - "integrity": "sha512-b4vs8IiRBmOIJrRzvu6dvTEYYktNaBQFZrmGmmpyd9o4aPFZXMEaf3kpjEPShCtqLfGl/pxEaAA3So4mvIfIkg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/gqty/-/gqty-2.0.0.tgz", + "integrity": "sha512-1HkTLpKAsMYodzwQixoYseQycDYOH6Cl7pFZsr7rA8MTDkb52pCmxDv4SM5HReqSJvCnNBpd5vSbcV5Qclksbw==", "requires": { "lodash": "^4.17.21", "lodash-es": "^4.17.21" @@ -18522,9 +18559,9 @@ "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" }, "graphql": { - "version": "15.5.3", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.5.3.tgz", - "integrity": "sha512-sM+jXaO5KinTui6lbK/7b7H/Knj9BpjGxZ+Ki35v7YbUJxxdBCUqNM0h3CRVU1ZF9t5lNiBzvBCSYPvIwxPOQA==" + "version": "15.6.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.6.0.tgz", + "integrity": "sha512-WJR872Zlc9hckiEPhXgyUftXH48jp2EjO5tgBBOyNMRJZ9fviL2mJBD6CAysk6N5S0r9BTs09Qk39nnJBkvOXQ==" }, "graphql-tag": { "version": "2.12.5", @@ -19305,14 +19342,14 @@ } }, "jest": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-27.2.0.tgz", - "integrity": "sha512-oUqVXyvh5YwEWl263KWdPUAqEzBFzGHdFLQ05hUnITr1tH+9SscEI9A/GH9eBClA+Nw1ct+KNuuOV6wlnmBPcg==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest/-/jest-27.2.1.tgz", + "integrity": "sha512-0MyvNS7J1HbkeotYaqKNGioN+p1/AAPtI1Z8iwMtCBE+PwBT+M4l25D9Pve8/KdhktYLgZaGyyj9CoDytD+R2Q==", "dev": true, "requires": { - "@jest/core": "^27.2.0", + "@jest/core": "^27.2.1", "import-local": "^3.0.2", - "jest-cli": "^27.2.0" + "jest-cli": "^27.2.1" } }, "jest-changed-files": { @@ -19327,9 +19364,9 @@ } }, "jest-circus": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.2.0.tgz", - "integrity": "sha512-WwENhaZwOARB1nmcboYPSv/PwHBUGRpA4MEgszjr9DLCl97MYw0qZprBwLb7rNzvMwfIvNGG7pefQ5rxyBlzIA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.2.1.tgz", + "integrity": "sha512-9q/8X8DgJmW8IqXsJNnS2E28iarx990hf6D+frS3P0lB+avhFDD33alLwZzKgm45u0wvEi6iFh43WjNbp5fhjw==", "dev": true, "requires": { "@jest/environment": "^27.2.0", @@ -19339,13 +19376,13 @@ "chalk": "^4.0.0", "co": "^4.6.0", "dedent": "^0.7.0", - "expect": "^27.2.0", + "expect": "^27.2.1", "is-generator-fn": "^2.0.0", "jest-each": "^27.2.0", "jest-matcher-utils": "^27.2.0", "jest-message-util": "^27.2.0", - "jest-runtime": "^27.2.0", - "jest-snapshot": "^27.2.0", + "jest-runtime": "^27.2.1", + "jest-snapshot": "^27.2.1", "jest-util": "^27.2.0", "pretty-format": "^27.2.0", "slash": "^3.0.0", @@ -19354,19 +19391,19 @@ } }, "jest-cli": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.2.0.tgz", - "integrity": "sha512-bq1X/B/b1kT9y1zIFMEW3GFRX1HEhFybiqKdbxM+j11XMMYSbU9WezfyWIhrSOmPT+iODLATVjfsCnbQs7cfIA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.2.1.tgz", + "integrity": "sha512-IfxuGkBZS/ogY7yFvvD1dFidzQRXlSBHtUZQ3UTIHydzNMF4/ZRTdGFso6HkbCkemwLh4hnNybONexEqWmYwjw==", "dev": true, "requires": { - "@jest/core": "^27.2.0", + "@jest/core": "^27.2.1", "@jest/test-result": "^27.2.0", "@jest/types": "^27.1.1", "chalk": "^4.0.0", "exit": "^0.1.2", "graceful-fs": "^4.2.4", "import-local": "^3.0.2", - "jest-config": "^27.2.0", + "jest-config": "^27.2.1", "jest-util": "^27.2.0", "jest-validate": "^27.2.0", "prompts": "^2.0.1", @@ -19425,28 +19462,28 @@ } }, "jest-config": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.2.0.tgz", - "integrity": "sha512-Z1romHpxeNwLxQtouQ4xt07bY6HSFGKTo0xJcvOK3u6uJHveA4LB2P+ty9ArBLpTh3AqqPxsyw9l9GMnWBYS9A==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.2.1.tgz", + "integrity": "sha512-BAOemP8udmFw9nkgaLAac7vXORdvrt4yrJWoh7uYb0nPZeSsu0kGwJU18SwtY4paq9fed5OgAssC3A+Bf4WMQA==", "dev": true, "requires": { "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^27.2.0", + "@jest/test-sequencer": "^27.2.1", "@jest/types": "^27.1.1", - "babel-jest": "^27.2.0", + "babel-jest": "^27.2.1", "chalk": "^4.0.0", "deepmerge": "^4.2.2", "glob": "^7.1.1", "graceful-fs": "^4.2.4", "is-ci": "^3.0.0", - "jest-circus": "^27.2.0", + "jest-circus": "^27.2.1", "jest-environment-jsdom": "^27.2.0", "jest-environment-node": "^27.2.0", "jest-get-type": "^27.0.6", - "jest-jasmine2": "^27.2.0", + "jest-jasmine2": "^27.2.1", "jest-regex-util": "^27.0.6", "jest-resolve": "^27.2.0", - "jest-runner": "^27.2.0", + "jest-runner": "^27.2.1", "jest-util": "^27.2.0", "jest-validate": "^27.2.0", "micromatch": "^4.0.4", @@ -19544,9 +19581,9 @@ } }, "jest-jasmine2": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.2.0.tgz", - "integrity": "sha512-NcPzZBk6IkDW3Z2V8orGueheGJJYfT5P0zI/vTO/Jp+R9KluUdgFrgwfvZ0A34Kw6HKgiWFILZmh3oQ/eS+UxA==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.2.1.tgz", + "integrity": "sha512-3vytj3+S49+XYsxGJyjlchDo4xblYzjDY4XK7pV2IAdspbMFOpmeNMOeDonYuvlbUtcV8yrFLA6XtliXapDmMA==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", @@ -19557,13 +19594,13 @@ "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", - "expect": "^27.2.0", + "expect": "^27.2.1", "is-generator-fn": "^2.0.0", "jest-each": "^27.2.0", "jest-matcher-utils": "^27.2.0", "jest-message-util": "^27.2.0", - "jest-runtime": "^27.2.0", - "jest-snapshot": "^27.2.0", + "jest-runtime": "^27.2.1", + "jest-snapshot": "^27.2.1", "jest-util": "^27.2.0", "pretty-format": "^27.2.0", "throat": "^6.0.1" @@ -19650,26 +19687,26 @@ } }, "jest-resolve-dependencies": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.2.0.tgz", - "integrity": "sha512-EY5jc/Y0oxn+oVEEldTidmmdVoZaknKPyDORA012JUdqPyqPL+lNdRyI3pGti0RCydds6coaw6xt4JQY54dKsg==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.2.1.tgz", + "integrity": "sha512-9bKEwmz4YshGPjGZAVZOVw6jt7pq2/FjWJmyhnWhvDuiRCHVZBcJhycinX+e/EJ7jafsq26bTpzBIQas3xql1g==", "dev": true, "requires": { "@jest/types": "^27.1.1", "jest-regex-util": "^27.0.6", - "jest-snapshot": "^27.2.0" + "jest-snapshot": "^27.2.1" } }, "jest-runner": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-27.2.0.tgz", - "integrity": "sha512-Cl+BHpduIc0cIVTjwoyx0pQk4Br8gn+wkr35PmKCmzEdOUnQ2wN7QVXA8vXnMQXSlFkN/+KWnk20TAVBmhgrww==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-27.2.1.tgz", + "integrity": "sha512-USHitkUUzcB3Y5mRdzlp+KHgRRR2VsXDq5OeATuDmq1qXfT/RwwnQykUhn+KVx3FotxK3pID74UY7o6HYIR8vA==", "dev": true, "requires": { "@jest/console": "^27.2.0", "@jest/environment": "^27.2.0", "@jest/test-result": "^27.2.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/node": "*", "chalk": "^4.0.0", @@ -19683,7 +19720,7 @@ "jest-leak-detector": "^27.2.0", "jest-message-util": "^27.2.0", "jest-resolve": "^27.2.0", - "jest-runtime": "^27.2.0", + "jest-runtime": "^27.2.1", "jest-util": "^27.2.0", "jest-worker": "^27.2.0", "source-map-support": "^0.5.6", @@ -19691,18 +19728,18 @@ } }, "jest-runtime": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.2.0.tgz", - "integrity": "sha512-6gRE9AVVX49hgBbWQ9PcNDeM4upMUXzTpBs0kmbrjyotyUyIJixLPsYjpeTFwAA07PVLDei1iAm2chmWycdGdQ==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.2.1.tgz", + "integrity": "sha512-QJNnwL4iteDE/Jq4TfQK7AjhPoUZflBKTtUIkRnFYFkTAZTP/o8k7ekaROiVjmo+NYop5+DQPqX6pz4vWbZSOQ==", "dev": true, "requires": { "@jest/console": "^27.2.0", "@jest/environment": "^27.2.0", "@jest/fake-timers": "^27.2.0", - "@jest/globals": "^27.2.0", + "@jest/globals": "^27.2.1", "@jest/source-map": "^27.0.6", "@jest/test-result": "^27.2.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/yargs": "^16.0.0", "chalk": "^4.0.0", @@ -19717,7 +19754,7 @@ "jest-mock": "^27.1.1", "jest-regex-util": "^27.0.6", "jest-resolve": "^27.2.0", - "jest-snapshot": "^27.2.0", + "jest-snapshot": "^27.2.1", "jest-util": "^27.2.0", "jest-validate": "^27.2.0", "slash": "^3.0.0", @@ -19787,9 +19824,9 @@ } }, "jest-snapshot": { - "version": "27.2.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.2.0.tgz", - "integrity": "sha512-MukJvy3KEqemCT2FoT3Gum37CQqso/62PKTfIzWmZVTsLsuyxQmJd2PI5KPcBYFqLlA8LgZLHM8ZlazkVt8LsQ==", + "version": "27.2.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.2.1.tgz", + "integrity": "sha512-8CTg2YrgZuQbPHW7G0YvLTj4yTRXLmSeEO+ka3eC5lbu5dsTRyoDNS1L7x7EFUTyYQhFH9HQG1/TNlbUgR9Lug==", "dev": true, "requires": { "@babel/core": "^7.7.2", @@ -19798,13 +19835,13 @@ "@babel/plugin-syntax-typescript": "^7.7.2", "@babel/traverse": "^7.7.2", "@babel/types": "^7.0.0", - "@jest/transform": "^27.2.0", + "@jest/transform": "^27.2.1", "@jest/types": "^27.1.1", "@types/babel__traverse": "^7.0.4", "@types/prettier": "^2.1.5", "babel-preset-current-node-syntax": "^1.0.0", "chalk": "^4.0.0", - "expect": "^27.2.0", + "expect": "^27.2.1", "graceful-fs": "^4.2.4", "jest-diff": "^27.2.0", "jest-get-type": "^27.0.6", @@ -20677,8 +20714,8 @@ "requires": { "@faustjs/core": "^0.10.2", "@faustjs/next": "^0.10.2", - "@gqty/cli": "^1.1.4", - "@types/react": "^17.0.20", + "@gqty/cli": "^2.0.0", + "@types/react": "^17.0.22", "dotenv": "^10.0.0", "eslint": "^7.32.0", "eslint-config-next": "^11.1.2", @@ -20687,8 +20724,8 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", - "sass": "^1.39.2", - "typescript": "^4.4.2" + "sass": "^1.41.1", + "typescript": "^4.4.3" } }, "no-case": { @@ -20969,6 +21006,16 @@ "has": "^1.0.3" } }, + "object.hasown": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.0.0.tgz", + "integrity": "sha512-qYMF2CLIjxxLGleeM0jrcB4kiv3loGVAjKQKvH8pSU/i2VcRRvUNmxbD+nEMmrXRfORhuVJuH8OtSYCZoue3zA==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.18.1" + } + }, "object.values": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.4.tgz", @@ -21477,9 +21524,9 @@ "dev": true }, "prettier": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.0.tgz", - "integrity": "sha512-DsEPLY1dE5HF3BxCRBmD4uYZ+5DCbvatnolqTqcxEgKVZnL2kUfyu7b8pPQ5+hTBkdhU9SLUmK0/pHb07RE4WQ==" + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", + "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==" }, "prettier-linter-helpers": { "version": "1.0.0", @@ -22089,9 +22136,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "sass": { - "version": "1.39.2", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.39.2.tgz", - "integrity": "sha512-4/6Vn2RPc+qNwSclUSKvssh7dqK1Ih3FfHBW16I/GfH47b3scbYeOw65UIrYG7PkweFiKbpJjgkf5CV8EMmvzw==", + "version": "1.41.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.41.1.tgz", + "integrity": "sha512-vIjX7izRxw3Wsiez7SX7D+j76v7tenfO18P59nonjr/nzCkZuoHuF7I/Fo0ZRZPKr88v29ivIdE9BqGDgQD/Nw==", "requires": { "chokidar": ">=3.0.0 <4.0.0" } @@ -22396,9 +22443,9 @@ "dev": true }, "stack-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.3.tgz", - "integrity": "sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", + "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", "dev": true, "requires": { "escape-string-regexp": "^2.0.0" @@ -22916,9 +22963,9 @@ } }, "ts-loader": { - "version": "9.2.5", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.2.5.tgz", - "integrity": "sha512-al/ATFEffybdRMUIr5zMEWQdVnCGMUA9d3fXJ8dBVvBlzytPvIszoG9kZoR+94k6/i293RnVOXwMaWbXhNy9pQ==", + "version": "9.2.6", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.2.6.tgz", + "integrity": "sha512-QMTC4UFzHmu9wU2VHZEmWWE9cUajjfcdcws+Gh7FhiO+Dy0RnR1bNz0YCHqhI0yRowCE9arVnNxYHqELOy9Hjw==", "dev": true, "requires": { "chalk": "^4.1.0", diff --git a/packages/core/package.json b/packages/core/package.json index 0223ba23b..03da5e412 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -44,34 +44,34 @@ "license": "MIT", "dependencies": { "deepmerge": "^4.2.2", - "gqty": "^1.1.3", + "gqty": "^2.0.1", "isomorphic-fetch": "^3.0.0", "lodash": "^4.17.21", "cookie": "^0.4.1" }, "devDependencies": { - "@gqty/cli": "^1.1.4", + "@gqty/cli": "^2.0.1", "@testing-library/jest-dom": "^5.14.1", "@types/cookie": "^0.4.1", "@types/is-number": "^7.0.1", "@types/isomorphic-fetch": "^0.0.35", - "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", + "@types/jest": "^27.0.2", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.6", "@types/webpack-env": "^1.16.2", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "clean-webpack-plugin": "^4.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.24.2", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "jest": "^27.2.0", - "prettier": "^2.4.0", + "jest": "^27.2.1", + "prettier": "^2.4.1", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3", "fetch-mock": "9.11.0" } diff --git a/packages/core/src/api/client/schema.generated.ts b/packages/core/src/api/client/schema.generated.ts index c87422833..49f1e9996 100644 --- a/packages/core/src/api/client/schema.generated.ts +++ b/packages/core/src/api/client/schema.generated.ts @@ -8,10 +8,12 @@ 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 }; +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; @@ -3788,7 +3790,11 @@ export const generatedSchema = { termTaxonomyId: { __type: 'Int' }, uri: { __type: 'String' }, }, - Node: { __typename: { __type: 'String!' }, id: { __type: 'ID!' } }, + Node: { + __typename: { __type: 'String!' }, + id: { __type: 'ID!' }, + $on: { __type: '$Node!' }, + }, TermNode: { __typename: { __type: 'String!' }, conditionalTags: { __type: 'ConditionalTags' }, @@ -3814,6 +3820,7 @@ export const generatedSchema = { termGroupId: { __type: 'Int' }, termTaxonomyId: { __type: 'Int' }, uri: { __type: 'String' }, + $on: { __type: '$TermNode!' }, }, UniformResourceIdentifiable: { __typename: { __type: 'String!' }, @@ -3823,6 +3830,7 @@ export const generatedSchema = { isTermNode: { __type: 'Boolean!' }, templates: { __type: '[String]' }, uri: { __type: 'String' }, + $on: { __type: '$UniformResourceIdentifiable!' }, }, ConditionalTags: { __typename: { __type: 'String!' }, @@ -3879,6 +3887,7 @@ export const generatedSchema = { id: { __type: 'ID!' }, src: { __type: 'String' }, version: { __type: 'String' }, + $on: { __type: '$EnqueuedAsset!' }, }, WPPageInfo: { __typename: { __type: 'String!' }, @@ -3911,17 +3920,20 @@ export const generatedSchema = { DatabaseIdentifier: { __typename: { __type: 'String!' }, databaseId: { __type: 'Int!' }, + $on: { __type: '$DatabaseIdentifier!' }, }, HierarchicalTermNode: { __typename: { __type: 'String!' }, parentDatabaseId: { __type: 'Int' }, parentId: { __type: 'ID' }, + $on: { __type: '$HierarchicalTermNode!' }, }, MenuItemLinkable: { __typename: { __type: 'String!' }, databaseId: { __type: 'Int!' }, id: { __type: 'ID!' }, uri: { __type: 'String' }, + $on: { __type: '$MenuItemLinkable!' }, }, CategoryToAncestorsCategoryConnection: { __typename: { __type: 'String!' }, @@ -4057,6 +4069,7 @@ export const generatedSchema = { template: { __type: 'ContentTemplate' }, templates: { __type: '[String]' }, uri: { __type: 'String' }, + $on: { __type: '$ContentNode!' }, }, ContentNodeToContentTypeConnectionEdge: { __typename: { __type: 'String!' }, @@ -4328,6 +4341,7 @@ export const generatedSchema = { isRestricted: { __type: 'Boolean' }, name: { __type: 'String' }, url: { __type: 'String' }, + $on: { __type: '$Commenter!' }, }, Avatar: { __typename: { __type: 'String!' }, @@ -4665,10 +4679,12 @@ export const generatedSchema = { NodeWithTemplate: { __typename: { __type: 'String!' }, template: { __type: 'ContentTemplate' }, + $on: { __type: '$NodeWithTemplate!' }, }, ContentTemplate: { __typename: { __type: 'String!' }, templateName: { __type: 'String' }, + $on: { __type: '$ContentTemplate!' }, }, NodeWithTitle: { __typename: { __type: 'String!' }, @@ -4676,12 +4692,14 @@ export const generatedSchema = { __type: 'String', __args: { format: 'PostObjectFieldFormatEnum' }, }, + $on: { __type: '$NodeWithTitle!' }, }, NodeWithAuthor: { __typename: { __type: 'String!' }, author: { __type: 'NodeWithAuthorToUserConnectionEdge' }, authorDatabaseId: { __type: 'Int' }, authorId: { __type: 'ID' }, + $on: { __type: '$NodeWithAuthor!' }, }, NodeWithAuthorToUserConnectionEdge: { __typename: { __type: 'String!' }, @@ -4691,6 +4709,7 @@ export const generatedSchema = { __typename: { __type: 'String!' }, commentCount: { __type: 'Int' }, commentStatus: { __type: 'String' }, + $on: { __type: '$NodeWithComments!' }, }, HierarchicalContentNode: { __typename: { __type: 'String!' }, @@ -4721,6 +4740,7 @@ export const generatedSchema = { }, parentDatabaseId: { __type: 'Int' }, parentId: { __type: 'ID' }, + $on: { __type: '$HierarchicalContentNode!' }, }, HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs: { contentTypes: { __type: '[ContentTypeEnum]' }, @@ -5040,6 +5060,7 @@ export const generatedSchema = { __type: 'String', __args: { format: 'PostObjectFieldFormatEnum' }, }, + $on: { __type: '$NodeWithContentEditor!' }, }, NodeWithFeaturedImage: { __typename: { __type: 'String!' }, @@ -5079,6 +5100,7 @@ export const generatedSchema = { template: { __type: 'ContentTemplate' }, templates: { __type: '[String]' }, uri: { __type: 'String' }, + $on: { __type: '$NodeWithFeaturedImage!' }, }, NodeWithFeaturedImageToMediaItemConnectionEdge: { __typename: { __type: 'String!' }, @@ -5088,6 +5110,7 @@ export const generatedSchema = { __typename: { __type: 'String!' }, isRevision: { __type: 'Boolean' }, revisionOf: { __type: 'NodeWithRevisionsToContentNodeConnectionEdge' }, + $on: { __type: '$NodeWithRevisions!' }, }, NodeWithRevisionsToContentNodeConnectionEdge: { __typename: { __type: 'String!' }, @@ -5096,6 +5119,7 @@ export const generatedSchema = { NodeWithPageAttributes: { __typename: { __type: 'String!' }, menuOrder: { __type: 'Int' }, + $on: { __type: '$NodeWithPageAttributes!' }, }, PageToCommentConnectionWhereArgs: { authorEmail: { __type: 'String' }, @@ -5351,12 +5375,14 @@ export const generatedSchema = { __type: 'String', __args: { format: 'PostObjectFieldFormatEnum' }, }, + $on: { __type: '$NodeWithExcerpt!' }, }, NodeWithTrackbacks: { __typename: { __type: 'String!' }, pingStatus: { __type: 'String' }, pinged: { __type: '[String]' }, toPing: { __type: '[String]' }, + $on: { __type: '$NodeWithTrackbacks!' }, }, PostToCategoryConnectionWhereArgs: { cacheDomain: { __type: 'String' }, @@ -5866,6 +5892,10 @@ export const generatedSchema = { cursor: { __type: 'String' }, node: { __type: 'ContentRevisionUnion' }, }, + ContentRevisionUnion: { + __typename: { __type: 'String!' }, + $on: { __type: '$ContentRevisionUnion!' }, + }, UserToUserRoleConnection: { __typename: { __type: 'String!' }, edges: { __type: '[UserToUserRoleConnectionEdge]' }, @@ -6163,6 +6193,10 @@ export const generatedSchema = { __typename: { __type: 'String!' }, node: { __type: 'MenuItemLinkable' }, }, + MenuItemObjectUnion: { + __typename: { __type: 'String!' }, + $on: { __type: '$MenuItemObjectUnion!' }, + }, MenuItemToMenuConnectionEdge: { __typename: { __type: 'String!' }, node: { __type: 'Menu' }, @@ -7060,8 +7094,68 @@ export const generatedSchema = { templateName: { __type: 'String' }, }, [SchemaUnionsKey]: { + Node: [ + 'Category', + 'EnqueuedScript', + 'EnqueuedStylesheet', + 'ContentType', + 'Taxonomy', + 'User', + 'Comment', + 'MediaItem', + 'Page', + 'Post', + 'PostFormat', + 'Tag', + 'UserRole', + 'Menu', + 'MenuItem', + 'Plugin', + 'Theme', + 'CommentAuthor', + ], + TermNode: ['Category', 'PostFormat', 'Tag'], + UniformResourceIdentifiable: [ + 'Category', + 'ContentType', + 'User', + 'MediaItem', + 'Page', + 'Post', + 'PostFormat', + 'Tag', + ], + DatabaseIdentifier: [ + 'Category', + 'User', + 'Comment', + 'MediaItem', + 'Page', + 'Post', + 'PostFormat', + 'Tag', + 'Menu', + 'MenuItem', + ], + HierarchicalTermNode: ['Category'], + MenuItemLinkable: ['Category', 'Page', 'Post', 'PostFormat', 'Tag'], + EnqueuedAsset: ['EnqueuedScript', 'EnqueuedStylesheet'], + Commenter: ['User', 'CommentAuthor'], + ContentNode: ['MediaItem', 'Page', 'Post'], + NodeWithTemplate: ['MediaItem', 'Page', 'Post'], + NodeWithTitle: ['MediaItem', 'Page', 'Post'], + NodeWithAuthor: ['MediaItem', 'Page', 'Post'], + NodeWithComments: ['MediaItem', 'Page', 'Post'], + HierarchicalContentNode: ['MediaItem', 'Page'], + NodeWithContentEditor: ['Page', 'Post'], + NodeWithFeaturedImage: ['Page', 'Post'], + NodeWithRevisions: ['Page', 'Post'], + NodeWithPageAttributes: ['Page'], + NodeWithExcerpt: ['Post'], + NodeWithTrackbacks: ['Post'], ContentRevisionUnion: ['Post', 'Page'], MenuItemObjectUnion: ['Post', 'Page', 'Category', 'Tag', 'PostFormat'], + ContentTemplate: ['DefaultTemplate'], }, } as const; @@ -7469,13 +7563,7 @@ export interface RootQueryToCategoryConnectionEdge { /** * The category type */ -export interface Category - extends Omit, - Omit, - Omit, - Omit, - Omit, - Omit { +export interface Category { __typename?: 'Category'; /** * The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). @@ -7696,18 +7784,37 @@ export interface Category * An object with an ID */ export interface Node { - __typename?: 'Node'; + __typename?: + | 'Category' + | 'EnqueuedScript' + | 'EnqueuedStylesheet' + | 'ContentType' + | 'Taxonomy' + | 'User' + | 'Comment' + | 'MediaItem' + | 'Page' + | 'Post' + | 'PostFormat' + | 'Tag' + | 'UserRole' + | 'Menu' + | 'MenuItem' + | 'Plugin' + | 'Theme' + | 'CommentAuthor'; /** * The globally unique ID for the object */ id: ScalarsEnums['ID']; + $on: $Node; } /** * Terms are nodes within a Taxonomy, used to group and relate other nodes. */ export interface TermNode { - __typename?: 'TermNode'; + __typename?: 'Category' | 'PostFormat' | 'Tag'; conditionalTags?: Maybe; /** * The number of objects connected to the object @@ -7804,13 +7911,22 @@ export interface TermNode { * The unique resource identifier path */ uri?: Maybe; + $on: $TermNode; } /** * Any node that has a URI */ export interface UniformResourceIdentifiable { - __typename?: 'UniformResourceIdentifiable'; + __typename?: + | 'Category' + | 'ContentType' + | 'User' + | 'MediaItem' + | 'Page' + | 'Post' + | 'PostFormat' + | 'Tag'; conditionalTags?: Maybe; /** * The unique resource identifier path @@ -7829,6 +7945,7 @@ export interface UniformResourceIdentifiable { * The unique resource identifier path */ uri?: Maybe; + $on: $UniformResourceIdentifiable; } /** @@ -7963,9 +8080,7 @@ export interface TermNodeToEnqueuedScriptConnectionEdge { /** * Script enqueued by the CMS */ -export interface EnqueuedScript - extends Omit, - Omit { +export interface EnqueuedScript { __typename?: 'EnqueuedScript'; /** * @todo @@ -8001,7 +8116,7 @@ export interface EnqueuedScript * Asset enqueued by the CMS */ export interface EnqueuedAsset { - __typename?: 'EnqueuedAsset'; + __typename?: 'EnqueuedScript' | 'EnqueuedStylesheet'; /** * @todo */ @@ -8030,6 +8145,7 @@ export interface EnqueuedAsset { * The version of the enqueued asset */ version?: Maybe; + $on: $EnqueuedAsset; } /** @@ -8092,9 +8208,7 @@ export interface TermNodeToEnqueuedStylesheetConnectionEdge { /** * Stylesheet enqueued by the CMS */ -export interface EnqueuedStylesheet - extends Omit, - Omit { +export interface EnqueuedStylesheet { __typename?: 'EnqueuedStylesheet'; /** * @todo @@ -8130,18 +8244,29 @@ export interface EnqueuedStylesheet * Object that can be identified with a Database ID */ export interface DatabaseIdentifier { - __typename?: 'DatabaseIdentifier'; + __typename?: + | 'Category' + | 'User' + | 'Comment' + | 'MediaItem' + | 'Page' + | 'Post' + | 'PostFormat' + | 'Tag' + | 'Menu' + | 'MenuItem'; /** * The unique identifier stored in the database */ databaseId: ScalarsEnums['Int']; + $on: $DatabaseIdentifier; } /** * Term node with hierarchical (parent/child) relationships */ export interface HierarchicalTermNode { - __typename?: 'HierarchicalTermNode'; + __typename?: 'Category'; /** * Database id of the parent node */ @@ -8150,13 +8275,14 @@ export interface HierarchicalTermNode { * The globally unique identifier of the parent node. */ parentId?: Maybe; + $on: $HierarchicalTermNode; } /** * Nodes that can be linked to as Menu Items */ export interface MenuItemLinkable { - __typename?: 'MenuItemLinkable'; + __typename?: 'Category' | 'Page' | 'Post' | 'PostFormat' | 'Tag'; /** * The unique resource identifier path */ @@ -8169,6 +8295,7 @@ export interface MenuItemLinkable { * The unique resource identifier path */ uri?: Maybe; + $on: $MenuItemLinkable; } /** @@ -8277,7 +8404,7 @@ export interface CategoryToContentNodeConnectionEdge { * Nodes used to manage content */ export interface ContentNode { - __typename?: 'ContentNode'; + __typename?: 'MediaItem' | 'Page' | 'Post'; conditionalTags?: Maybe; /** * Connection between the ContentNode type and the ContentType type @@ -8414,6 +8541,7 @@ export interface ContentNode { * The unique resource identifier path */ uri?: Maybe; + $on: $ContentNode; } /** @@ -8430,9 +8558,7 @@ export interface ContentNodeToContentTypeConnectionEdge { /** * An Post Type object */ -export interface ContentType - extends Omit, - Omit { +export interface ContentType { __typename?: 'ContentType'; /** * Whether this content type should can be exported. @@ -8641,7 +8767,7 @@ export interface ContentTypeToTaxonomyConnectionEdge { /** * A taxonomy object */ -export interface Taxonomy extends Omit { +export interface Taxonomy { __typename?: 'Taxonomy'; /** * List of Content Types associated with the Taxonomy @@ -8935,11 +9061,7 @@ export interface ContentNodeToEditLockConnectionEdge { /** * A User object */ -export interface User - extends Omit, - Omit, - Omit, - Omit { +export interface User { __typename?: 'User'; /** * Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument. @@ -9244,7 +9366,7 @@ export interface User * The author of a comment */ export interface Commenter { - __typename?: 'Commenter'; + __typename?: 'User' | 'CommentAuthor'; /** * Identifies the primary key from the database. */ @@ -9269,6 +9391,7 @@ export interface Commenter { * The url of the author of a comment. */ url?: Maybe; + $on: $Commenter; } /** @@ -9359,9 +9482,7 @@ export interface UserToCommentConnectionEdge { /** * A Comment object */ -export interface Comment - extends Omit, - Omit { +export interface Comment { __typename?: 'Comment'; /** * 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. @@ -9641,16 +9762,7 @@ export interface UserToMediaItemConnectionEdge { /** * The mediaItem type */ -export interface MediaItem - extends Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit { +export interface MediaItem { __typename?: 'MediaItem'; /** * Alternative text to display when resource is not displayed @@ -9989,29 +10101,31 @@ export interface MediaItem * A node that can have a template associated with it */ export interface NodeWithTemplate { - __typename?: 'NodeWithTemplate'; + __typename?: 'MediaItem' | 'Page' | 'Post'; /** * The template assigned to the node */ template?: Maybe; + $on: $NodeWithTemplate; } /** * The template assigned to a node of content */ export interface ContentTemplate { - __typename?: 'ContentTemplate'; + __typename?: 'DefaultTemplate'; /** * The name of the template */ templateName?: Maybe; + $on: $ContentTemplate; } /** * A node that NodeWith a title */ export interface NodeWithTitle { - __typename?: 'NodeWithTitle'; + __typename?: 'MediaItem' | 'Page' | 'Post'; /** * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ @@ -10021,13 +10135,14 @@ export interface NodeWithTitle { */ format?: Maybe; }) => Maybe; + $on: $NodeWithTitle; } /** * A node that can have an author assigned to it */ export interface NodeWithAuthor { - __typename?: 'NodeWithAuthor'; + __typename?: 'MediaItem' | 'Page' | 'Post'; /** * Connection between the NodeWithAuthor type and the User type */ @@ -10040,6 +10155,7 @@ export interface NodeWithAuthor { * The globally unique identifier of the author of the node */ authorId?: Maybe; + $on: $NodeWithAuthor; } /** @@ -10057,7 +10173,7 @@ export interface NodeWithAuthorToUserConnectionEdge { * A node that can have comments associated with it */ export interface NodeWithComments { - __typename?: 'NodeWithComments'; + __typename?: 'MediaItem' | 'Page' | 'Post'; /** * 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. */ @@ -10066,13 +10182,14 @@ export interface NodeWithComments { * Whether the comments are open or closed for this particular post. */ commentStatus?: Maybe; + $on: $NodeWithComments; } /** * Content node with hierarchical (parent/child) relationships */ export interface HierarchicalContentNode { - __typename?: 'HierarchicalContentNode'; + __typename?: 'MediaItem' | 'Page'; /** * Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ @@ -10135,6 +10252,7 @@ export interface HierarchicalContentNode { * The globally unique identifier of the parent node. */ parentId?: Maybe; + $on: $HierarchicalContentNode; } /** @@ -10487,21 +10605,7 @@ export interface UserToPageConnectionEdge { /** * The page type */ -export interface Page - extends Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit { +export interface Page { __typename?: 'Page'; /** * Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). @@ -10840,7 +10944,7 @@ export interface Page * A node that supports the content editor */ export interface NodeWithContentEditor { - __typename?: 'NodeWithContentEditor'; + __typename?: 'Page' | 'Post'; /** * The content of the post. */ @@ -10850,13 +10954,14 @@ export interface NodeWithContentEditor { */ format?: Maybe; }) => Maybe; + $on: $NodeWithContentEditor; } /** * A node that can have a featured image set */ export interface NodeWithFeaturedImage { - __typename?: 'NodeWithFeaturedImage'; + __typename?: 'Page' | 'Post'; conditionalTags?: Maybe; /** * Connection between the ContentNode type and the ContentType type @@ -11005,6 +11110,7 @@ export interface NodeWithFeaturedImage { * The unique resource identifier path */ uri?: Maybe; + $on: $NodeWithFeaturedImage; } /** @@ -11022,7 +11128,7 @@ export interface NodeWithFeaturedImageToMediaItemConnectionEdge { * A node that can have revisions */ export interface NodeWithRevisions { - __typename?: 'NodeWithRevisions'; + __typename?: 'Page' | 'Post'; /** * True if the node is a revision of another node */ @@ -11031,6 +11137,7 @@ export interface NodeWithRevisions { * 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; + $on: $NodeWithRevisions; } /** @@ -11048,11 +11155,12 @@ export interface NodeWithRevisionsToContentNodeConnectionEdge { * A node that can have page attributes */ export interface NodeWithPageAttributes { - __typename?: 'NodeWithPageAttributes'; + __typename?: 'Page'; /** * A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ menuOrder?: Maybe; + $on: $NodeWithPageAttributes; } /** @@ -11171,21 +11279,7 @@ export interface UserToPostConnectionEdge { /** * The post type */ -export interface Post - extends Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit, - Omit { +export interface Post { __typename?: 'Post'; /** * Connection between the NodeWithAuthor type and the User type @@ -11571,7 +11665,7 @@ export interface Post * A node that can have an excerpt */ export interface NodeWithExcerpt { - __typename?: 'NodeWithExcerpt'; + __typename?: 'Post'; /** * The excerpt of the post. */ @@ -11581,13 +11675,14 @@ export interface NodeWithExcerpt { */ format?: Maybe; }) => Maybe; + $on: $NodeWithExcerpt; } /** * A node that can have trackbacks and pingbacks */ export interface NodeWithTrackbacks { - __typename?: 'NodeWithTrackbacks'; + __typename?: 'Post'; /** * Whether the pings are open or closed for this particular post. */ @@ -11600,6 +11695,7 @@ export interface NodeWithTrackbacks { * URLs queued to be pinged. */ toPing?: Maybe>>; + $on: $NodeWithTrackbacks; } /** @@ -11707,12 +11803,7 @@ export interface PostToPostFormatConnectionEdge { /** * The postFormat type */ -export interface PostFormat - extends Omit, - Omit, - Omit, - Omit, - Omit { +export interface PostFormat { __typename?: 'PostFormat'; conditionalTags?: Maybe; /** @@ -12032,12 +12123,7 @@ export interface PostToTagConnectionEdge { /** * The tag type */ -export interface Tag - extends Omit, - Omit, - Omit, - Omit, - Omit { +export interface Tag { __typename?: 'Tag'; conditionalTags?: Maybe; /** @@ -12343,6 +12429,14 @@ export interface UserToContentRevisionUnionConnectionEdge { node?: Maybe; } +/** + * A union of Content Node Types that support revisions + */ +export interface ContentRevisionUnion { + __typename?: 'Post' | 'Page'; + $on: $ContentRevisionUnion; +} + /** * Connection between the User type and the UserRole type */ @@ -12380,7 +12474,7 @@ export interface UserToUserRoleConnectionEdge { /** * A user role object */ -export interface UserRole extends Omit { +export interface UserRole { __typename?: 'UserRole'; /** * The capabilities that belong to this role @@ -12657,9 +12751,7 @@ export interface RootQueryToMediaItemConnectionEdge { /** * 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 { +export interface Menu { __typename?: 'Menu'; /** * The number of items in the menu @@ -12758,9 +12850,7 @@ export interface MenuToMenuItemConnectionEdge { /** * 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 { +export interface MenuItem { __typename?: 'MenuItem'; /** * Connection between the MenuItem type and the MenuItem type @@ -12912,6 +13002,14 @@ export interface MenuItemToMenuItemLinkableConnectionEdge { node?: Maybe; } +/** + * Deprecated in favor of MenuItemLinkeable Interface + */ +export interface MenuItemObjectUnion { + __typename?: 'Post' | 'Page' | 'Category' | 'Tag' | 'PostFormat'; + $on: $MenuItemObjectUnion; +} + /** * Connection between the MenuItem type and the Menu type */ @@ -13028,7 +13126,7 @@ export interface RootQueryToPageConnectionEdge { /** * An plugin object */ -export interface Plugin extends Omit { +export interface Plugin { __typename?: 'Plugin'; /** * Name of the plugin author(s), may also be a company name. @@ -13388,7 +13486,7 @@ export interface RootQueryToTermNodeConnectionEdge { /** * A theme object */ -export interface Theme extends Omit { +export interface Theme { __typename?: 'Theme'; /** * Name of the theme author(s), could also be a company name. This field is equivalent to WP_Theme->get( "Author" ). @@ -14074,9 +14172,7 @@ export interface UpdateUserPayload { /** * A Comment Author object */ -export interface CommentAuthor - extends Omit, - Omit { +export interface CommentAuthor { __typename?: 'CommentAuthor'; /** * Identifies the primary key from the database. @@ -14107,7 +14203,7 @@ export interface CommentAuthor /** * The template assigned to the node */ -export interface DefaultTemplate extends Omit { +export interface DefaultTemplate { __typename?: 'DefaultTemplate'; /** * The name of the template @@ -14123,28 +14219,20 @@ export interface SchemaObjectTypes { RootQueryToCategoryConnection: RootQueryToCategoryConnection; RootQueryToCategoryConnectionEdge: RootQueryToCategoryConnectionEdge; Category: Category; - Node: Node; - TermNode: TermNode; - UniformResourceIdentifiable: UniformResourceIdentifiable; ConditionalTags: ConditionalTags; TermNodeToEnqueuedScriptConnection: TermNodeToEnqueuedScriptConnection; TermNodeToEnqueuedScriptConnectionEdge: TermNodeToEnqueuedScriptConnectionEdge; EnqueuedScript: EnqueuedScript; - EnqueuedAsset: EnqueuedAsset; WPPageInfo: WPPageInfo; TermNodeToEnqueuedStylesheetConnection: TermNodeToEnqueuedStylesheetConnection; TermNodeToEnqueuedStylesheetConnectionEdge: TermNodeToEnqueuedStylesheetConnectionEdge; EnqueuedStylesheet: EnqueuedStylesheet; - DatabaseIdentifier: DatabaseIdentifier; - HierarchicalTermNode: HierarchicalTermNode; - MenuItemLinkable: MenuItemLinkable; CategoryToAncestorsCategoryConnection: CategoryToAncestorsCategoryConnection; CategoryToAncestorsCategoryConnectionEdge: CategoryToAncestorsCategoryConnectionEdge; CategoryToCategoryConnection: CategoryToCategoryConnection; CategoryToCategoryConnectionEdge: CategoryToCategoryConnectionEdge; CategoryToContentNodeConnection: CategoryToContentNodeConnection; CategoryToContentNodeConnectionEdge: CategoryToContentNodeConnectionEdge; - ContentNode: ContentNode; ContentNodeToContentTypeConnectionEdge: ContentNodeToContentTypeConnectionEdge; ContentType: ContentType; ContentTypeToTaxonomyConnection: ContentTypeToTaxonomyConnection; @@ -14157,7 +14245,6 @@ export interface SchemaObjectTypes { PostTypeLabelDetails: PostTypeLabelDetails; ContentNodeToEditLockConnectionEdge: ContentNodeToEditLockConnectionEdge; User: User; - Commenter: Commenter; Avatar: Avatar; UserToCommentConnection: UserToCommentConnection; UserToCommentConnectionEdge: UserToCommentConnectionEdge; @@ -14174,13 +14261,7 @@ export interface SchemaObjectTypes { 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; @@ -14199,12 +14280,8 @@ export interface SchemaObjectTypes { UserToPageConnection: UserToPageConnection; UserToPageConnectionEdge: UserToPageConnectionEdge; Page: Page; - NodeWithContentEditor: NodeWithContentEditor; - NodeWithFeaturedImage: NodeWithFeaturedImage; NodeWithFeaturedImageToMediaItemConnectionEdge: NodeWithFeaturedImageToMediaItemConnectionEdge; - NodeWithRevisions: NodeWithRevisions; NodeWithRevisionsToContentNodeConnectionEdge: NodeWithRevisionsToContentNodeConnectionEdge; - NodeWithPageAttributes: NodeWithPageAttributes; PageToCommentConnection: PageToCommentConnection; PageToCommentConnectionEdge: PageToCommentConnectionEdge; PageToPreviewConnectionEdge: PageToPreviewConnectionEdge; @@ -14213,8 +14290,6 @@ export interface SchemaObjectTypes { UserToPostConnection: UserToPostConnection; UserToPostConnectionEdge: UserToPostConnectionEdge; Post: Post; - NodeWithExcerpt: NodeWithExcerpt; - NodeWithTrackbacks: NodeWithTrackbacks; PostToCategoryConnection: PostToCategoryConnection; PostToCategoryConnectionEdge: PostToCategoryConnectionEdge; PostToCommentConnection: PostToCommentConnection; @@ -14342,28 +14417,20 @@ export type SchemaObjectTypesNames = | 'RootQueryToCategoryConnection' | 'RootQueryToCategoryConnectionEdge' | 'Category' - | 'Node' - | 'TermNode' - | 'UniformResourceIdentifiable' | 'ConditionalTags' | 'TermNodeToEnqueuedScriptConnection' | 'TermNodeToEnqueuedScriptConnectionEdge' | 'EnqueuedScript' - | 'EnqueuedAsset' | 'WPPageInfo' | 'TermNodeToEnqueuedStylesheetConnection' | 'TermNodeToEnqueuedStylesheetConnectionEdge' | 'EnqueuedStylesheet' - | 'DatabaseIdentifier' - | 'HierarchicalTermNode' - | 'MenuItemLinkable' | 'CategoryToAncestorsCategoryConnection' | 'CategoryToAncestorsCategoryConnectionEdge' | 'CategoryToCategoryConnection' | 'CategoryToCategoryConnectionEdge' | 'CategoryToContentNodeConnection' | 'CategoryToContentNodeConnectionEdge' - | 'ContentNode' | 'ContentNodeToContentTypeConnectionEdge' | 'ContentType' | 'ContentTypeToTaxonomyConnection' @@ -14376,7 +14443,6 @@ export type SchemaObjectTypesNames = | 'PostTypeLabelDetails' | 'ContentNodeToEditLockConnectionEdge' | 'User' - | 'Commenter' | 'Avatar' | 'UserToCommentConnection' | 'UserToCommentConnectionEdge' @@ -14393,13 +14459,7 @@ export type SchemaObjectTypesNames = | 'UserToMediaItemConnection' | 'UserToMediaItemConnectionEdge' | 'MediaItem' - | 'NodeWithTemplate' - | 'ContentTemplate' - | 'NodeWithTitle' - | 'NodeWithAuthor' | 'NodeWithAuthorToUserConnectionEdge' - | 'NodeWithComments' - | 'HierarchicalContentNode' | 'HierarchicalContentNodeToContentNodeAncestorsConnection' | 'HierarchicalContentNodeToContentNodeAncestorsConnectionEdge' | 'HierarchicalContentNodeToContentNodeChildrenConnection' @@ -14418,12 +14478,8 @@ export type SchemaObjectTypesNames = | 'UserToPageConnection' | 'UserToPageConnectionEdge' | 'Page' - | 'NodeWithContentEditor' - | 'NodeWithFeaturedImage' | 'NodeWithFeaturedImageToMediaItemConnectionEdge' - | 'NodeWithRevisions' | 'NodeWithRevisionsToContentNodeConnectionEdge' - | 'NodeWithPageAttributes' | 'PageToCommentConnection' | 'PageToCommentConnectionEdge' | 'PageToPreviewConnectionEdge' @@ -14432,8 +14488,6 @@ export type SchemaObjectTypesNames = | 'UserToPostConnection' | 'UserToPostConnectionEdge' | 'Post' - | 'NodeWithExcerpt' - | 'NodeWithTrackbacks' | 'PostToCategoryConnection' | 'PostToCategoryConnectionEdge' | 'PostToCommentConnection' @@ -14553,2707 +14607,156 @@ export type SchemaObjectTypesNames = | 'CommentAuthor' | 'DefaultTemplate'; -/** - * A union of Content Node Types that support revisions - */ -export type ContentRevisionUnion = - | { - __typename?: 'Post'; - 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; - conditionalTags?: Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * The excerpt of the post. - */ - excerpt: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. - */ - guid?: Maybe; - /** - * The globally unique identifier of the post object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - /** - * Whether this page is sticky - */ - isSticky: ScalarsEnums['Boolean']; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - menuOrder?: undefined; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - */ - modifiedGmt?: Maybe; - pageId?: undefined; - parent?: undefined; - parentDatabaseId?: undefined; - parentId?: undefined; - /** - * Whether the pings are open or closed for this particular post. - */ - pingStatus?: Maybe; - /** - * URLs that have been pinged. - */ - pinged?: Maybe>>; - /** - * Connection between the post type and the postFormat type - */ - postFormats: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - postId: ScalarsEnums['Int']; - /** - * Connection between the post type and the post type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the post type and the post type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. - */ - slug?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * Connection between the post type and the tag type - */ - tags: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - templates?: Maybe>>; - /** - * Connection between the post type and the TermNode type - */ - terms: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * URLs queued to be pinged. - */ - toPing?: Maybe>>; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename?: 'Page'; - /** - * 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; - conditionalTags?: Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. - */ - guid?: Maybe; - /** - * The globally unique identifier of the page object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the static front page. - */ - isFrontPage: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the blog posts page. - */ - isPostsPage: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether this page is set to the privacy page. - */ - isPrivacyPage: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - */ - menuOrder?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - */ - modifiedGmt?: Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - pageId: ScalarsEnums['Int']; - /** - * The parent of the node. The parent object can be of various types - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - pingStatus?: undefined; - pinged?: undefined; - postFormats?: undefined; - postId?: undefined; - /** - * Connection between the page type and the page type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the page type and the page type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. - */ - slug?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - tags?: undefined; - /** - * The template assigned to a node of content - */ - template?: Maybe; - templates?: Maybe>>; - terms?: undefined; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - }; -/** - * Deprecated in favor of MenuItemLinkeable Interface - */ -export type MenuItemObjectUnion = - | { - __typename?: 'Post'; - 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; - conditionalTags?: Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - contentNodes?: undefined; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - count?: undefined; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - description?: undefined; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * The excerpt of the post. - */ - excerpt: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. - */ - guid?: Maybe; - /** - * The globally unique identifier of the post object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - /** - * Whether this page is sticky - */ - isSticky: ScalarsEnums['Boolean']; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - menuOrder?: undefined; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - */ - modifiedGmt?: Maybe; - name?: undefined; - pageId?: undefined; - parent?: undefined; - parentDatabaseId?: undefined; - parentId?: undefined; - /** - * Whether the pings are open or closed for this particular post. - */ - pingStatus?: Maybe; - /** - * URLs that have been pinged. - */ - pinged?: Maybe>>; - postFormatId?: undefined; - /** - * Connection between the post type and the postFormat type - */ - postFormats: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - postId: ScalarsEnums['Int']; - posts?: undefined; - /** - * Connection between the post type and the post type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the post type and the post type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. - */ - slug?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - tagId?: undefined; - /** - * Connection between the post type and the tag type - */ - tags: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - taxonomy?: undefined; - /** - * The template assigned to a node of content - */ - template?: Maybe; - templates?: Maybe>>; - termGroupId?: undefined; - termTaxonomyId?: undefined; - /** - * Connection between the post type and the TermNode type - */ - terms: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - /** - * URLs queued to be pinged. - */ - toPing?: Maybe>>; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename?: 'Page'; - /** - * 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; - conditionalTags?: Maybe; - /** - * The content of the post. - */ - content: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - contentNodes?: undefined; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - count?: undefined; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - description?: undefined; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the ContentNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * Connection between the ContentNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. - */ - guid?: Maybe; - /** - * The globally unique identifier of the page object. - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the static front page. - */ - isFrontPage: ScalarsEnums['Boolean']; - /** - * Whether this page is set to the blog posts page. - */ - isPostsPage: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether this page is set to the privacy page. - */ - isPrivacyPage: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * True if the node is a revision of another node - */ - isRevision?: Maybe; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. - */ - menuOrder?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - */ - modifiedGmt?: Maybe; - name?: undefined; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of the databaseId field - */ - pageId: ScalarsEnums['Int']; - /** - * The parent of the node. The parent object can be of various types - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - pingStatus?: undefined; - pinged?: undefined; - postFormatId?: undefined; - postFormats?: undefined; - postId?: undefined; - posts?: undefined; - /** - * Connection between the page type and the page type - */ - preview?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. - */ - revisionOf?: Maybe; - /** - * Connection between the page type and the page type - */ - revisions: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - /** - * The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. - */ - slug?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - tagId?: undefined; - tags?: undefined; - taxonomy?: undefined; - /** - * The template assigned to a node of content - */ - template?: Maybe; - templates?: Maybe>>; - termGroupId?: undefined; - termTaxonomyId?: undefined; - terms?: undefined; - /** - * The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. - */ - title: (args?: { - /** - * Format of the field output - */ - format?: Maybe; - }) => Maybe; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename?: 'Category'; - /** - * 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; - conditionalTags?: Maybe; - content?: undefined; - /** - * Connection between the category type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - contentType?: undefined; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - date?: undefined; - dateGmt?: undefined; - /** - * The description of the object - */ - description?: Maybe; - desiredSlug?: undefined; - editingLockedBy?: undefined; - enclosure?: undefined; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - featuredImage?: undefined; - featuredImageDatabaseId?: undefined; - featuredImageId?: undefined; - guid?: undefined; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - isPreview?: undefined; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - isRevision?: undefined; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - lastEditedBy?: undefined; - /** - * The link to the term - */ - link?: Maybe; - menuOrder?: undefined; - modified?: undefined; - modifiedGmt?: undefined; - /** - * The human friendly name of the object. - */ - name?: Maybe; - pageId?: undefined; - /** - * Connection between the category type and the category type - */ - parent?: Maybe; - /** - * Database id of the parent node - */ - parentDatabaseId?: Maybe; - /** - * The globally unique identifier of the parent node. - */ - parentId?: Maybe; - pingStatus?: undefined; - pinged?: undefined; - postFormatId?: undefined; - postFormats?: undefined; - postId?: undefined; - /** - * Connection between the category type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - preview?: undefined; - previewRevisionDatabaseId?: undefined; - previewRevisionId?: undefined; - revisionOf?: undefined; - revisions?: undefined; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - status?: undefined; - tagId?: undefined; - tags?: undefined; - /** - * Connection between the category type and the Taxonomy type - */ - taxonomy?: Maybe; - template?: undefined; - 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; - terms?: undefined; - title?: undefined; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename?: 'Tag'; - ancestors?: undefined; - author?: undefined; - authorDatabaseId?: undefined; - authorId?: undefined; - categories?: undefined; - categoryId?: undefined; - children?: undefined; - commentCount?: undefined; - commentStatus?: undefined; - comments?: undefined; - conditionalTags?: Maybe; - content?: undefined; - /** - * Connection between the tag type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - contentType?: undefined; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - date?: undefined; - dateGmt?: undefined; - /** - * The description of the object - */ - description?: Maybe; - desiredSlug?: undefined; - editingLockedBy?: undefined; - enclosure?: undefined; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - featuredImage?: undefined; - featuredImageDatabaseId?: undefined; - featuredImageId?: undefined; - guid?: undefined; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - isPreview?: undefined; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - isRevision?: undefined; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - lastEditedBy?: undefined; - /** - * The link to the term - */ - link?: Maybe; - menuOrder?: undefined; - modified?: undefined; - modifiedGmt?: undefined; - /** - * The human friendly name of the object. - */ - name?: Maybe; - pageId?: undefined; - parent?: undefined; - parentDatabaseId?: undefined; - parentId?: undefined; - pingStatus?: undefined; - pinged?: undefined; - postFormatId?: undefined; - postFormats?: undefined; - postId?: undefined; - /** - * Connection between the tag type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - preview?: undefined; - previewRevisionDatabaseId?: undefined; - previewRevisionId?: undefined; - revisionOf?: undefined; - revisions?: undefined; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - status?: undefined; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of databaseId - */ - tagId?: Maybe; - tags?: undefined; - /** - * Connection between the tag type and the Taxonomy type - */ - taxonomy?: Maybe; - template?: undefined; - 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; - terms?: undefined; - title?: undefined; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - } - | { - __typename?: 'PostFormat'; - ancestors?: undefined; - author?: undefined; - authorDatabaseId?: undefined; - authorId?: undefined; - categories?: undefined; - categoryId?: undefined; - children?: undefined; - commentCount?: undefined; - commentStatus?: undefined; - comments?: undefined; - conditionalTags?: Maybe; - content?: undefined; - /** - * Connection between the postFormat type and the ContentNode type - */ - contentNodes: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - contentType?: undefined; - /** - * The number of objects connected to the object - */ - count?: Maybe; - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - date?: undefined; - dateGmt?: undefined; - /** - * The description of the object - */ - description?: Maybe; - desiredSlug?: undefined; - editingLockedBy?: undefined; - enclosure?: undefined; - /** - * Connection between the TermNode type and the EnqueuedScript type - */ - enqueuedScripts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - /** - * Connection between the TermNode type and the EnqueuedStylesheet type - */ - enqueuedStylesheets: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe; - }) => Maybe; - excerpt?: undefined; - featuredImage?: undefined; - featuredImageDatabaseId?: undefined; - featuredImageId?: undefined; - guid?: undefined; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - isFrontPage?: undefined; - isPostsPage?: undefined; - isPreview?: undefined; - isPrivacyPage?: undefined; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - isRevision?: undefined; - isSticky?: undefined; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - lastEditedBy?: undefined; - /** - * The link to the term - */ - link?: Maybe; - menuOrder?: undefined; - modified?: undefined; - modifiedGmt?: undefined; - /** - * The human friendly name of the object. - */ - name?: Maybe; - pageId?: undefined; - parent?: undefined; - parentDatabaseId?: undefined; - parentId?: undefined; - pingStatus?: undefined; - pinged?: undefined; - /** - * The id field matches the WP_Post->ID field. - * @deprecated Deprecated in favor of databaseId - */ - postFormatId?: Maybe; - postFormats?: undefined; - postId?: undefined; - /** - * Connection between the postFormat type and the post type - */ - posts: (args?: { - /** - * The number of items to return after the referenced "after" cursor - */ - first?: Maybe - /** - * The number of items to return before the referenced "before" cursor - */; - last?: Maybe - /** - * Cursor used along with the "first" argument to reference where in the dataset to get data - */; - after?: Maybe - /** - * Cursor used along with the "last" argument to reference where in the dataset to get data - */; - before?: Maybe - /** - * Arguments for filtering the connection - */; - where?: Maybe; - }) => Maybe; - preview?: undefined; - previewRevisionDatabaseId?: undefined; - previewRevisionId?: undefined; - revisionOf?: undefined; - revisions?: undefined; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - status?: undefined; - tagId?: undefined; - tags?: undefined; - /** - * Connection between the postFormat type and the Taxonomy type - */ - taxonomy?: Maybe; - template?: undefined; - 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; - terms?: undefined; - title?: undefined; - toPing?: undefined; - /** - * The unique resource identifier path - */ - uri?: Maybe; - }; +export interface $Node { + Category: Category; + EnqueuedScript: EnqueuedScript; + EnqueuedStylesheet: EnqueuedStylesheet; + ContentType: ContentType; + Taxonomy: Taxonomy; + User: User; + Comment: Comment; + MediaItem: MediaItem; + Page: Page; + Post: Post; + PostFormat: PostFormat; + Tag: Tag; + UserRole: UserRole; + Menu: Menu; + MenuItem: MenuItem; + Plugin: Plugin; + Theme: Theme; + CommentAuthor: CommentAuthor; +} -/** - * An object with an ID - */ -export interface Node { - /** - * The globally unique ID for the object - */ - id: ScalarsEnums['ID']; +export interface $TermNode { + Category: Category; + PostFormat: PostFormat; + Tag: Tag; } -/** - * Terms are nodes within a Taxonomy, used to group and relate other nodes. - */ -export interface TermNode { - conditionalTags?: 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; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The link to the term - */ - link?: Maybe; - /** - * The human friendly name of the object. - */ - name?: Maybe; - /** - * An alphanumeric identifier for the object unique to its type. - */ - slug?: Maybe; - 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?: Maybe; + +export interface $UniformResourceIdentifiable { + Category: Category; + ContentType: ContentType; + User: User; + MediaItem: MediaItem; + Page: Page; + Post: Post; + PostFormat: PostFormat; + Tag: Tag; } -/** - * Any node that has a URI - */ -export interface UniformResourceIdentifiable { - conditionalTags?: Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - templates?: Maybe>>; - /** - * The unique resource identifier path - */ - uri?: Maybe; + +export interface $DatabaseIdentifier { + Category: Category; + User: User; + Comment: Comment; + MediaItem: MediaItem; + Page: Page; + Post: Post; + PostFormat: PostFormat; + Tag: Tag; + Menu: Menu; + MenuItem: MenuItem; } -/** - * 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; + +export interface $HierarchicalTermNode { + Category: Category; } -/** - * Object that can be identified with a Database ID - */ -export interface DatabaseIdentifier { - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; + +export interface $MenuItemLinkable { + Category: Category; + Page: Page; + Post: Post; + PostFormat: PostFormat; + Tag: Tag; } -/** - * 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; + +export interface $EnqueuedAsset { + EnqueuedScript: EnqueuedScript; + EnqueuedStylesheet: EnqueuedStylesheet; } -/** - * Nodes that can be linked to as Menu Items - */ -export interface MenuItemLinkable { - /** - * The unique resource identifier path - */ - databaseId: ScalarsEnums['Int']; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * The unique resource identifier path - */ - uri?: Maybe; + +export interface $Commenter { + User: User; + CommentAuthor: CommentAuthor; } -/** - * Nodes used to manage content - */ -export interface ContentNode { - conditionalTags?: 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; - /** - * The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. - */ - guid?: Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - */ - modifiedGmt?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. - */ - slug?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - templates?: Maybe>>; - /** - * The unique resource identifier path - */ - uri?: Maybe; + +export interface $ContentNode { + MediaItem: MediaItem; + Page: Page; + Post: Post; } -/** - * 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; + +export interface $NodeWithTemplate { + MediaItem: MediaItem; + Page: Page; + Post: Post; } -/** - * A node that can have a template associated with it - */ -export interface NodeWithTemplate { - /** - * The template assigned to the node - */ - template?: Maybe; + +export interface $NodeWithTitle { + MediaItem: MediaItem; + Page: Page; + Post: Post; } -/** - * The template assigned to a node of content - */ -export interface ContentTemplate { - /** - * The name of the template - */ - templateName?: Maybe; + +export interface $NodeWithAuthor { + MediaItem: MediaItem; + Page: Page; + Post: Post; } -/** - * 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; + +export interface $NodeWithComments { + MediaItem: MediaItem; + Page: Page; + Post: Post; } -/** - * 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; + +export interface $HierarchicalContentNode { + MediaItem: MediaItem; + Page: Page; } -/** - * 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; + +export interface $NodeWithContentEditor { + Page: Page; + Post: Post; } -/** - * A node that supports the content editor - */ -export interface NodeWithContentEditor {} -/** - * A node that can have a featured image set - */ -export interface NodeWithFeaturedImage { - conditionalTags?: Maybe; - /** - * Connection between the ContentNode type and the ContentType type - */ - contentType?: Maybe; - /** - * The unique identifier stored in the database - */ - databaseId: ScalarsEnums['Int']; - /** - * Post publishing date. - */ - date?: Maybe; - /** - * The publishing date set in GMT. - */ - dateGmt?: Maybe; - /** - * The desired slug of the post - */ - desiredSlug?: Maybe; - /** - * If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds - */ - editingLockedBy?: Maybe; - /** - * The RSS enclosure for the object - */ - enclosure?: Maybe; - /** - * Connection between the NodeWithFeaturedImage type and the MediaItem type - */ - featuredImage?: Maybe; - /** - * The database identifier for the featured image node assigned to the content node - */ - featuredImageDatabaseId?: Maybe; - /** - * Globally unique ID of the featured image assigned to the node - */ - featuredImageId?: Maybe; - /** - * The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. - */ - guid?: Maybe; - /** - * The unique resource identifier path - */ - id: ScalarsEnums['ID']; - /** - * Whether the node is a Content Node - */ - isContentNode: ScalarsEnums['Boolean']; - /** - * Whether the object is a node in the preview state - */ - isPreview?: Maybe; - /** - * Whether the object is restricted from the current viewer - */ - isRestricted?: Maybe; - /** - * Whether the node is a Term - */ - isTermNode: ScalarsEnums['Boolean']; - /** - * The user that most recently edited the node - */ - lastEditedBy?: Maybe; - /** - * The permalink of the post - */ - link?: Maybe; - /** - * The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. - */ - modified?: Maybe; - /** - * The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. - */ - modifiedGmt?: Maybe; - /** - * The database id of the preview node - */ - previewRevisionDatabaseId?: Maybe; - /** - * Whether the object is a node in the preview state - */ - previewRevisionId?: Maybe; - /** - * The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. - */ - slug?: Maybe; - /** - * The current status of the object - */ - status?: Maybe; - /** - * The template assigned to a node of content - */ - template?: Maybe; - templates?: Maybe>>; - /** - * The unique resource identifier path - */ - uri?: Maybe; + +export interface $NodeWithFeaturedImage { + Page: Page; + Post: Post; } -/** - * 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; + +export interface $NodeWithRevisions { + Page: Page; + Post: Post; } -/** - * 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; + +export interface $NodeWithPageAttributes { + Page: Page; } -/** - * 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 $NodeWithExcerpt { + Post: Post; +} + +export interface $NodeWithTrackbacks { + Post: Post; +} + +export interface $ContentRevisionUnion { + Post: Post; + Page: Page; +} + +export interface $MenuItemObjectUnion { + Post: Post; + Page: Page; + Category: Category; + Tag: Tag; + PostFormat: PostFormat; +} + +export interface $ContentTemplate { + DefaultTemplate: DefaultTemplate; } export interface GeneratedSchema { diff --git a/packages/next/package.json b/packages/next/package.json index b16671298..05fb99df0 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -52,12 +52,12 @@ "devDependencies": { "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.1.0", - "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", - "@types/react": "^17.0.20", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@types/jest": "^27.0.2", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.6", + "@types/react": "^17.0.24", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", "eslint-config-airbnb-typescript": "^14.0.0", @@ -65,28 +65,28 @@ "eslint-plugin-import": "^2.24.2", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.25.1", + "eslint-plugin-react": "^7.26.0", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "gqty": "^1.1.3", - "jest": "^27.2.0", + "gqty": "^2.0.1", + "jest": "^27.2.1", "bs-logger": "^0.2.6", "make-error": "^1.3.6", "next": "^11.1.2", - "prettier": "^2.4.0", + "prettier": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3" }, "dependencies": { - "@gqty/logger": "^1.0.4", - "@gqty/react": "^1.1.1", + "@gqty/logger": "^2.0.0", + "@gqty/react": "^2.0.0", "@faustjs/core": "^0.10.2", "@faustjs/react": "^0.10.2", - "graphql": ">=15.5", + "graphql": ">=15.6", "lodash": "^4.17.21" } } diff --git a/packages/react/package.json b/packages/react/package.json index bfc0fc9b8..ced1541c6 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -50,12 +50,12 @@ "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.1.0", "@testing-library/react-hooks": "^7.0.2", - "@types/jest": "^27.0.1", - "@types/lodash": "^4.14.172", - "@types/node": "^16.9.1", - "@types/react": "^17.0.20", - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", + "@types/jest": "^27.0.2", + "@types/lodash": "^4.14.173", + "@types/node": "^16.9.6", + "@types/react": "^17.0.24", + "@typescript-eslint/eslint-plugin": "^4.31.2", + "@typescript-eslint/parser": "^4.31.2", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", "eslint-config-airbnb-typescript": "^14.0.0", @@ -63,25 +63,25 @@ "eslint-plugin-import": "^2.24.2", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.25.1", + "eslint-plugin-react": "^7.26.0", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "jest": "^27.2.0", + "jest": "^27.2.1", "bs-logger": "^0.2.6", "make-error": "^1.3.6", - "prettier": "^2.4.0", + "prettier": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.5", - "ts-loader": "^9.2.5", + "ts-loader": "^9.2.6", "typescript": "^4.4.3" }, "dependencies": { - "@gqty/react": "^1.1.1", + "@gqty/react": "^2.0.0", "@faustjs/core": "^0.10.2", - "gqty": "^1.1.3", - "graphql": ">=15.5", + "gqty": "^2.0.1", + "graphql": ">=15.6", "lodash": "^4.17.21" } }