From 1847906c4c24c8be1a0f5f7f3c4f603ffc918951 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Oct 2026 09:35:27 +0000 Subject: [PATCH 1/4] Upgrade GraphQL Code Generator to CLI 7 and plugins 6/7 Move `@graphql-codegen/cli` to 7.4.6 and the official plugins to their next majors (`typescript` and `typescript-operations` 6, `typescript-resolvers` 6, `introspection` 6, `fragment-matcher` 7). This lets `@graphql-tools/utils` resolve to 12.x across the lockfile. `typescript-operations` 6 now emits the Input and Enum types its operations use, so running it in the same file as `typescript` declares them twice. Follow upstream's multi-file setup: `typescript` (and `typescript-resolvers` in hash-api) writes `schema-types.gen.ts`, and `typescript-operations` writes `api-types.gen.ts`, imports schema types through `importSchemaTypesFrom` and re-exports them, so existing imports from `api-types.gen` keep working. Result types no longer carry an optional `__typename` unless the selection requests it, so `useHashInstance` picks the integration flags explicitly. Drop the unused `@graphql-codegen/typescript-graphql-request` from hash-backend-integration; its latest release still depends on the 6.x helpers. --- apps/hash-api/codegen.config.ts | 17 +- apps/hash-api/package.json | 9 +- apps/hash-frontend/codegen.config.ts | 14 +- apps/hash-frontend/package.json | 9 +- .../src/components/hooks/use-hash-instance.ts | 4 +- apps/plugin-browser/codegen.config.ts | 14 +- apps/plugin-browser/package.json | 3 +- .../hash-isomorphic-utils/codegen.config.ts | 16 +- .../@local/hash-isomorphic-utils/package.json | 9 +- .../src/graphql/base-codegen-config.ts | 4 +- tests/hash-backend-integration/package.json | 9 +- tests/hash-playwright/codegen.config.ts | 14 +- tests/hash-playwright/package.json | 3 +- yarn.lock | 1146 +++++++++-------- 14 files changed, 708 insertions(+), 563 deletions(-) diff --git a/apps/hash-api/codegen.config.ts b/apps/hash-api/codegen.config.ts index 89c9111c92d..4697ffa6b63 100644 --- a/apps/hash-api/codegen.config.ts +++ b/apps/hash-api/codegen.config.ts @@ -13,8 +13,21 @@ const config: CodegenConfig = { noSchemaStitching: true, }, }, + "./src/graphql/schema-types.gen.ts": { + plugins: ["typescript", "typescript-resolvers"], + hooks: { + afterOneFileWrite: ["oxfmt --write --ignore-path /dev/null"], + }, + config: { + noSchemaStitching: true, + ...baseGraphQlCodegenConfig, + }, + }, "./src/graphql/api-types.gen.ts": { - plugins: ["typescript", "typescript-resolvers", "typescript-operations"], + plugins: [ + { add: { content: 'export * from "./schema-types.gen";' } }, + "typescript-operations", + ], documents: [ "../../libs/@local/hash-isomorphic-utils/src/graphql/queries/**/*.ts", ], @@ -22,8 +35,8 @@ const config: CodegenConfig = { afterOneFileWrite: ["oxfmt --write --ignore-path /dev/null"], }, config: { - noSchemaStitching: true, ...baseGraphQlCodegenConfig, + importSchemaTypesFrom: "./src/graphql/schema-types.gen.ts", }, }, }, diff --git a/apps/hash-api/package.json b/apps/hash-api/package.json index da3198c280a..0df5c5be5fd 100644 --- a/apps/hash-api/package.json +++ b/apps/hash-api/package.json @@ -117,10 +117,11 @@ }, "devDependencies": { "@faker-js/faker": "10.5.0", - "@graphql-codegen/cli": "^6.2.1", - "@graphql-codegen/introspection": "5.0.1", - "@graphql-codegen/typescript": "5.0.9", - "@graphql-codegen/typescript-resolvers": "5.1.7", + "@graphql-codegen/add": "7.1.1", + "@graphql-codegen/cli": "^7.4.6", + "@graphql-codegen/introspection": "6.1.0", + "@graphql-codegen/typescript": "6.1.2", + "@graphql-codegen/typescript-resolvers": "6.1.1", "@local/eslint": "workspace:*", "@local/tsconfig": "workspace:*", "@types/app-root-path": "3.1.0", diff --git a/apps/hash-frontend/codegen.config.ts b/apps/hash-frontend/codegen.config.ts index fa4dec83221..01ffc4f5f0c 100644 --- a/apps/hash-frontend/codegen.config.ts +++ b/apps/hash-frontend/codegen.config.ts @@ -10,13 +10,23 @@ const config: CodegenConfig = { "./src/graphql/fragment-types.gen.json": { plugins: ["fragment-matcher"], }, + "./src/graphql/schema-types.gen.ts": { + plugins: ["typescript"], + config: baseGraphQlCodegenConfig, + }, "./src/graphql/api-types.gen.ts": { - plugins: ["typescript", "typescript-operations"], + plugins: [ + { add: { content: 'export * from "./schema-types.gen";' } }, + "typescript-operations", + ], documents: [ "./src/graphql/queries/**/*.ts", "../../libs/@local/hash-isomorphic-utils/src/graphql/queries/**/*.ts", ], - config: baseGraphQlCodegenConfig, + config: { + ...baseGraphQlCodegenConfig, + importSchemaTypesFrom: "./src/graphql/schema-types.gen.ts", + }, }, }, }; diff --git a/apps/hash-frontend/package.json b/apps/hash-frontend/package.json index bab77358662..275267a924c 100644 --- a/apps/hash-frontend/package.json +++ b/apps/hash-frontend/package.json @@ -158,10 +158,11 @@ "zod": "4.4.3" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", - "@graphql-codegen/fragment-matcher": "6.0.0", - "@graphql-codegen/typescript": "5.0.9", - "@graphql-codegen/typescript-operations": "5.0.9", + "@graphql-codegen/add": "7.1.1", + "@graphql-codegen/cli": "^7.4.6", + "@graphql-codegen/fragment-matcher": "7.1.0", + "@graphql-codegen/typescript": "6.1.2", + "@graphql-codegen/typescript-operations": "6.1.10", "@local/eslint": "workspace:*", "@local/tsconfig": "workspace:*", "@next/bundle-analyzer": "15.5.9", diff --git a/apps/hash-frontend/src/components/hooks/use-hash-instance.ts b/apps/hash-frontend/src/components/hooks/use-hash-instance.ts index fb1178d3aec..684c9c2591d 100644 --- a/apps/hash-frontend/src/components/hooks/use-hash-instance.ts +++ b/apps/hash-frontend/src/components/hooks/use-hash-instance.ts @@ -47,13 +47,13 @@ export const useHashInstance = (): { }, [hashInstanceSettings]); const enabledIntegrations: EnabledIntegrations = useMemo(() => { - const { __typename, ...rest } = + const { googleSheets, linear } = hashInstanceSettings?.enabledIntegrations ?? { googleSheets: false, linear: false, }; - return rest; + return { googleSheets, linear }; }, [hashInstanceSettings?.enabledIntegrations]); return { diff --git a/apps/plugin-browser/codegen.config.ts b/apps/plugin-browser/codegen.config.ts index 1cba83ecfb6..bd65511ff76 100644 --- a/apps/plugin-browser/codegen.config.ts +++ b/apps/plugin-browser/codegen.config.ts @@ -10,13 +10,23 @@ const config: CodegenConfig = { "./src/graphql/fragment-types.gen.json": { plugins: ["fragment-matcher"], }, + "./src/graphql/schema-types.gen.ts": { + plugins: ["typescript"], + config: baseGraphQlCodegenConfig, + }, "./src/graphql/api-types.gen.ts": { - plugins: ["typescript", "typescript-operations"], + plugins: [ + { add: { content: 'export * from "./schema-types.gen";' } }, + "typescript-operations", + ], documents: [ "./src/graphql/queries/**/*.ts", "../../libs/@local/hash-isomorphic-utils/src/graphql/queries/**/*.ts", ], - config: baseGraphQlCodegenConfig, + config: { + ...baseGraphQlCodegenConfig, + importSchemaTypesFrom: "./src/graphql/schema-types.gen.ts", + }, }, }, }; diff --git a/apps/plugin-browser/package.json b/apps/plugin-browser/package.json index 42852415b33..616a4dd1ca9 100644 --- a/apps/plugin-browser/package.json +++ b/apps/plugin-browser/package.json @@ -53,7 +53,8 @@ "@babel/preset-env": "7.28.3", "@babel/preset-react": "7.27.1", "@blockprotocol/core": "0.1.5", - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/add": "7.1.1", + "@graphql-codegen/cli": "^7.4.6", "@local/eslint": "workspace:*", "@local/hash-graph-client": "workspace:*", "@local/hash-isomorphic-utils": "workspace:*", diff --git a/libs/@local/hash-isomorphic-utils/codegen.config.ts b/libs/@local/hash-isomorphic-utils/codegen.config.ts index 6518d3ecb20..a6da4acc7a7 100644 --- a/libs/@local/hash-isomorphic-utils/codegen.config.ts +++ b/libs/@local/hash-isomorphic-utils/codegen.config.ts @@ -9,13 +9,25 @@ const config: CodegenConfig = { "./src/graphql/fragment-types.gen.json": { plugins: ["fragment-matcher"], }, + "./src/graphql/schema-types.gen.ts": { + plugins: ["typescript"], + config: { + skipTypename: true, + // Use shared scalars + scalars: _localRelativeScalars, + }, + }, "./src/graphql/api-types.gen.ts": { - plugins: ["typescript", "typescript-operations"], + plugins: [ + { add: { content: 'export * from "./schema-types.gen.js";' } }, + "typescript-operations", + ], documents: ["./src/graphql/queries/**/*.ts"], config: { - skipTypename: true, // Use shared scalars scalars: _localRelativeScalars, + importSchemaTypesFrom: "./src/graphql/schema-types.gen.ts", + importExtension: ".js", }, }, }, diff --git a/libs/@local/hash-isomorphic-utils/package.json b/libs/@local/hash-isomorphic-utils/package.json index 024a7180714..d0da3e947fc 100644 --- a/libs/@local/hash-isomorphic-utils/package.json +++ b/libs/@local/hash-isomorphic-utils/package.json @@ -58,10 +58,11 @@ }, "devDependencies": { "@blockprotocol/type-system": "workspace:*", - "@graphql-codegen/cli": "^6.2.1", - "@graphql-codegen/fragment-matcher": "6.0.0", - "@graphql-codegen/typescript": "5.0.9", - "@graphql-codegen/typescript-operations": "5.0.9", + "@graphql-codegen/add": "7.1.1", + "@graphql-codegen/cli": "^7.4.6", + "@graphql-codegen/fragment-matcher": "7.1.0", + "@graphql-codegen/typescript": "6.1.2", + "@graphql-codegen/typescript-operations": "6.1.10", "@local/eslint": "workspace:*", "@local/tsconfig": "workspace:*", "@temporalio/workflow": "1.20.2", diff --git a/libs/@local/hash-isomorphic-utils/src/graphql/base-codegen-config.ts b/libs/@local/hash-isomorphic-utils/src/graphql/base-codegen-config.ts index 6e80139ef92..85b123c38e7 100644 --- a/libs/@local/hash-isomorphic-utils/src/graphql/base-codegen-config.ts +++ b/libs/@local/hash-isomorphic-utils/src/graphql/base-codegen-config.ts @@ -1,8 +1,10 @@ import { scalars } from "./scalar-mapping.js"; +import type { TypeScriptPluginConfig } from "@graphql-codegen/typescript"; import type { TypeScriptDocumentsPluginConfig } from "@graphql-codegen/typescript-operations"; -export const baseGraphQlCodegenConfig: TypeScriptDocumentsPluginConfig = { +export const baseGraphQlCodegenConfig: TypeScriptPluginConfig & + TypeScriptDocumentsPluginConfig = { arrayInputCoercion: false, avoidOptionals: { defaultValue: true, diff --git a/tests/hash-backend-integration/package.json b/tests/hash-backend-integration/package.json index 7aa638a64d4..8c70cd1d340 100644 --- a/tests/hash-backend-integration/package.json +++ b/tests/hash-backend-integration/package.json @@ -32,11 +32,10 @@ "@apps/hash-ai-worker-ts": "workspace:*", "@apps/hash-integration-worker": "workspace:*", "@blockprotocol/graph": "workspace:*", - "@graphql-codegen/cli": "^6.2.1", - "@graphql-codegen/introspection": "5.0.1", - "@graphql-codegen/typescript": "5.0.9", - "@graphql-codegen/typescript-graphql-request": "7.0.0", - "@graphql-codegen/typescript-resolvers": "5.1.7", + "@graphql-codegen/cli": "^7.4.6", + "@graphql-codegen/introspection": "6.1.0", + "@graphql-codegen/typescript": "6.1.2", + "@graphql-codegen/typescript-resolvers": "6.1.1", "@local/eslint": "workspace:*", "@local/tsconfig": "workspace:*", "@types/node-fetch": "2.6.13", diff --git a/tests/hash-playwright/codegen.config.ts b/tests/hash-playwright/codegen.config.ts index 602f441270f..8a2be6f3857 100644 --- a/tests/hash-playwright/codegen.config.ts +++ b/tests/hash-playwright/codegen.config.ts @@ -10,13 +10,23 @@ const config: CodegenConfig = { "./tests/graphql/fragment-types.gen.json": { plugins: ["fragment-matcher"], }, + "./tests/graphql/schema-types.gen.ts": { + plugins: ["typescript"], + config: baseGraphQlCodegenConfig, + }, "./tests/graphql/api-types.gen.ts": { - plugins: ["typescript", "typescript-operations"], + plugins: [ + { add: { content: 'export * from "./schema-types.gen";' } }, + "typescript-operations", + ], documents: [ "./tests/graphql/queries/**/*.ts", "../../libs/@local/hash-isomorphic-utils/src/graphql/queries/**/*.ts", ], - config: baseGraphQlCodegenConfig, + config: { + ...baseGraphQlCodegenConfig, + importSchemaTypesFrom: "./tests/graphql/schema-types.gen.ts", + }, }, }, }; diff --git a/tests/hash-playwright/package.json b/tests/hash-playwright/package.json index 11216538f84..e18128baee2 100644 --- a/tests/hash-playwright/package.json +++ b/tests/hash-playwright/package.json @@ -29,7 +29,8 @@ "@apps/hash-frontend": "workspace:*", "@apps/plugin-browser": "workspace:*", "@blockprotocol/graph": "workspace:*", - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/add": "7.1.1", + "@graphql-codegen/cli": "^7.4.6", "@local/eslint": "workspace:*", "@types/chrome": "0.1.40", "@types/js-yaml": "^4", diff --git a/yarn.lock b/yarn.lock index f2557c7a1df..45fd7aac2bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -568,10 +568,11 @@ __metadata: "@blockprotocol/graph": "workspace:*" "@blockprotocol/type-system": "workspace:*" "@faker-js/faker": "npm:10.5.0" - "@graphql-codegen/cli": "npm:^6.2.1" - "@graphql-codegen/introspection": "npm:5.0.1" - "@graphql-codegen/typescript": "npm:5.0.9" - "@graphql-codegen/typescript-resolvers": "npm:5.1.7" + "@graphql-codegen/add": "npm:7.1.1" + "@graphql-codegen/cli": "npm:^7.4.6" + "@graphql-codegen/introspection": "npm:6.1.0" + "@graphql-codegen/typescript": "npm:6.1.2" + "@graphql-codegen/typescript-resolvers": "npm:6.1.1" "@graphql-tools/schema": "npm:10.1.3" "@hashintel/petrinaut-core": "workspace:*" "@keyv/redis": "npm:5.1.3" @@ -691,10 +692,11 @@ __metadata: "@fortawesome/free-regular-svg-icons": "npm:6.7.2" "@fortawesome/free-solid-svg-icons": "npm:6.7.2" "@glideapps/glide-data-grid": "patch:@glideapps/glide-data-grid@npm%3A6.0.3#~/.yarn/patches/@glideapps-glide-data-grid-npm-6.0.3-f71d586425.patch" - "@graphql-codegen/cli": "npm:^6.2.1" - "@graphql-codegen/fragment-matcher": "npm:6.0.0" - "@graphql-codegen/typescript": "npm:5.0.9" - "@graphql-codegen/typescript-operations": "npm:5.0.9" + "@graphql-codegen/add": "npm:7.1.1" + "@graphql-codegen/cli": "npm:^7.4.6" + "@graphql-codegen/fragment-matcher": "npm:7.1.0" + "@graphql-codegen/typescript": "npm:6.1.2" + "@graphql-codegen/typescript-operations": "npm:6.1.10" "@hashintel/block-design-system": "workspace:*" "@hashintel/design-system": "workspace:*" "@hashintel/ds-components": "workspace:*" @@ -975,7 +977,8 @@ __metadata: "@blockprotocol/core": "npm:0.1.5" "@blockprotocol/graph": "workspace:*" "@blockprotocol/type-system": "workspace:*" - "@graphql-codegen/cli": "npm:^6.2.1" + "@graphql-codegen/add": "npm:7.1.1" + "@graphql-codegen/cli": "npm:^7.4.6" "@hashintel/block-design-system": "workspace:*" "@hashintel/design-system": "workspace:*" "@local/advanced-types": "workspace:*" @@ -1033,16 +1036,16 @@ __metadata: languageName: unknown linkType: soft -"@ardatan/relay-compiler@npm:^13.0.0": - version: 13.0.0 - resolution: "@ardatan/relay-compiler@npm:13.0.0" +"@ardatan/relay-compiler@npm:^13.0.2": + version: 13.0.2 + resolution: "@ardatan/relay-compiler@npm:13.0.2" dependencies: - "@babel/runtime": "npm:^7.26.10" - immutable: "npm:^5.1.5" + "@babel/runtime": "npm:^8.0.0" + immutable: "npm:^5.1.9" invariant: "npm:^2.2.4" peerDependencies: graphql: "*" - checksum: 10c0/8ced75b92d36f9fc414f1cd468f68e79ef55567f01800d698c586248665b3cbb0925345782f4db2ac17090529a6a6a75dd69b0ee6d155051380a567c8c4c433f + checksum: 10c0/b40e03611f21cf3e60e9d515a29dc2149f4f9b6bb3102c31c04aab17ccc4669658688c4bac5d57a75187a63502a6add7b705818eb052006b9c0f2f22a11957e9 languageName: node linkType: hard @@ -2527,7 +2530,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.16.0, @babel/core@npm:^7.18.5, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.9, @babel/core@npm:^7.23.7, @babel/core@npm:^7.24.4, @babel/core@npm:^7.26.0, @babel/core@npm:^7.28.0, @babel/core@npm:^7.28.5, @babel/core@npm:^7.28.6, @babel/core@npm:^7.29.0": +"@babel/core@npm:^7.16.0, @babel/core@npm:^7.18.5, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.9, @babel/core@npm:^7.23.7, @babel/core@npm:^7.24.4, @babel/core@npm:^7.26.0, @babel/core@npm:^7.28.0, @babel/core@npm:^7.28.5, @babel/core@npm:^7.29.0, @babel/core@npm:^7.29.7": version: 7.29.7 resolution: "@babel/core@npm:7.29.7" dependencies: @@ -2890,7 +2893,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.6, @babel/parser@npm:^7.24.4, @babel/parser@npm:^7.25.6, @babel/parser@npm:^7.26.10, @babel/parser@npm:^7.26.3, @babel/parser@npm:^7.28.5, @babel/parser@npm:^7.29.3, @babel/parser@npm:^7.29.7, @babel/parser@npm:^7.29.8": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.6, @babel/parser@npm:^7.24.4, @babel/parser@npm:^7.25.6, @babel/parser@npm:^7.26.3, @babel/parser@npm:^7.28.5, @babel/parser@npm:^7.29.3, @babel/parser@npm:^7.29.7, @babel/parser@npm:^7.29.8": version: 7.29.8 resolution: "@babel/parser@npm:7.29.8" dependencies: @@ -3148,7 +3151,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-import-assertions@npm:^7.26.0, @babel/plugin-syntax-import-assertions@npm:^7.27.1": +"@babel/plugin-syntax-import-assertions@npm:^7.27.1": version: 7.28.6 resolution: "@babel/plugin-syntax-import-assertions@npm:7.28.6" dependencies: @@ -4107,13 +4110,20 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.23.8, @babel/runtime@npm:^7.23.9, @babel/runtime@npm:^7.24.5, @babel/runtime@npm:^7.26.0, @babel/runtime@npm:^7.26.10, @babel/runtime@npm:^7.28.4, @babel/runtime@npm:^7.28.6, @babel/runtime@npm:^7.29.7, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": +"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.23.8, @babel/runtime@npm:^7.23.9, @babel/runtime@npm:^7.24.5, @babel/runtime@npm:^7.26.0, @babel/runtime@npm:^7.28.4, @babel/runtime@npm:^7.28.6, @babel/runtime@npm:^7.29.7, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": version: 7.29.7 resolution: "@babel/runtime@npm:7.29.7" checksum: 10c0/ca11572f7146b21e0bde6a9ed4bb6a89eafbee5f0944c7eb54d0d8a2dac962c33638a1d611e14faa71dfbb92b4b5f9236232208568a6b7d5c6f3f39ddb91771e languageName: node linkType: hard +"@babel/runtime@npm:^8.0.0": + version: 8.0.7 + resolution: "@babel/runtime@npm:8.0.7" + checksum: 10c0/7ff1ca2d452a3359dc63bd36b25ff219ef04dfefbf7186900f1c296e55ade2ccc7f88dd2eb9d58ed253e3bde58fae97b9e40d80220ebfe510c99f7cf54837603 + languageName: node + linkType: hard + "@babel/standalone@npm:7.28.5": version: 7.28.5 resolution: "@babel/standalone@npm:7.28.5" @@ -6854,284 +6864,268 @@ __metadata: languageName: node linkType: hard -"@graphql-codegen/add@npm:^6.0.0": - version: 6.0.0 - resolution: "@graphql-codegen/add@npm:6.0.0" +"@graphql-codegen/add@npm:7.1.1, @graphql-codegen/add@npm:^7.1.1": + version: 7.1.1 + resolution: "@graphql-codegen/add@npm:7.1.1" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.0.0" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.4.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/85bef31ffc28c11cf0b21ebb6bdfe01b03e6922e59c676fc8da221742bf4fe3c14c6303ce1d80f85e29a96b7eed58e87b3f54a1c15ee0e07154b603a81acc360 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/3f6eb02aa88cfbacdde883f599e67945a37006c9fa7b68b49dcb07618a3487a28c56e006e683ae6aeb718fd99d0f9d4305c40d5daff80c74817f61a6e67351a8 languageName: node linkType: hard -"@graphql-codegen/cli@npm:^6.2.1": - version: 6.2.1 - resolution: "@graphql-codegen/cli@npm:6.2.1" +"@graphql-codegen/cli@npm:^7.4.6": + version: 7.4.6 + resolution: "@graphql-codegen/cli@npm:7.4.6" dependencies: "@babel/generator": "npm:^7.18.13" "@babel/template": "npm:^7.18.10" "@babel/types": "npm:^7.18.13" - "@graphql-codegen/client-preset": "npm:^5.2.4" - "@graphql-codegen/core": "npm:^5.0.1" - "@graphql-codegen/plugin-helpers": "npm:^6.2.0" - "@graphql-tools/apollo-engine-loader": "npm:^8.0.28" - "@graphql-tools/code-file-loader": "npm:^8.1.28" - "@graphql-tools/git-loader": "npm:^8.0.32" - "@graphql-tools/github-loader": "npm:^9.0.6" - "@graphql-tools/graphql-file-loader": "npm:^8.1.11" - "@graphql-tools/json-file-loader": "npm:^8.0.26" - "@graphql-tools/load": "npm:^8.1.8" - "@graphql-tools/merge": "npm:^9.0.6" - "@graphql-tools/url-loader": "npm:^9.0.6" - "@graphql-tools/utils": "npm:^11.0.0" - "@inquirer/prompts": "npm:^7.8.2" + "@graphql-codegen/client-preset": "npm:^6.2.3" + "@graphql-codegen/core": "npm:^6.2.2" + "@graphql-codegen/plugin-helpers": "npm:^7.4.2" + "@graphql-tools/apollo-engine-loader": "npm:^8.0.38" + "@graphql-tools/code-file-loader": "npm:^8.1.41" + "@graphql-tools/git-loader": "npm:^8.0.44" + "@graphql-tools/github-loader": "npm:^9.1.11" + "@graphql-tools/graphql-file-loader": "npm:^8.1.22" + "@graphql-tools/json-file-loader": "npm:^8.0.36" + "@graphql-tools/load": "npm:^8.1.19" + "@graphql-tools/merge": "npm:^9.2.6" + "@graphql-tools/url-loader": "npm:^9.1.12" + "@graphql-tools/utils": "npm:^12.0.3" + "@inquirer/prompts": "npm:^8.3.2" "@whatwg-node/fetch": "npm:^0.10.0" - chalk: "npm:^4.1.0" + chalk: "npm:^5.6.0" cosmiconfig: "npm:^9.0.0" - debounce: "npm:^2.0.0" - detect-indent: "npm:^6.0.0" - graphql-config: "npm:^5.1.6" + debounce: "npm:^3.0.0" + detect-indent: "npm:^7.0.0" + graphql-config: "npm:^5.1.8" is-glob: "npm:^4.0.1" jiti: "npm:^2.3.0" json-to-pretty-yaml: "npm:^1.2.2" - listr2: "npm:^9.0.0" - log-symbols: "npm:^4.0.0" + listr2: "npm:^10.2.1" + log-symbols: "npm:^7.0.0" micromatch: "npm:^4.0.5" shell-quote: "npm:^1.7.3" string-env-interpolation: "npm:^1.0.1" - ts-log: "npm:^2.2.3" + ts-log: "npm:^3.0.0" tslib: "npm:^2.4.0" yaml: "npm:^2.3.1" - yargs: "npm:^17.0.0" + yargs: "npm:^18.0.0" peerDependencies: "@parcel/watcher": ^2.1.0 - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 peerDependenciesMeta: "@parcel/watcher": optional: true bin: - gql-gen: cjs/bin.js - graphql-code-generator: cjs/bin.js - graphql-codegen: cjs/bin.js + gql-gen: esm/bin.js + graphql-code-generator: esm/bin.js + graphql-codegen: esm/bin.js + graphql-codegen-cjs: cjs/bin.js graphql-codegen-esm: esm/bin.js - checksum: 10c0/a6377489a9bce8ff350c656b42dd6c83e6fbe99cb6cbe26da9b50dc8a43816dcb5bd4189a78198158a8c5ab457f337161333f12fd767331d4b3227836d0514bd + checksum: 10c0/c3c1c530da2dba4c4b1ea01874e568f6d41834658a6f23e06797c0dbad661b9dd3b7f24d83da55028e10fe2ff718e31e024e0c9639308b4b4e83683403d3c324 languageName: node linkType: hard -"@graphql-codegen/client-preset@npm:^5.2.4": - version: 5.2.4 - resolution: "@graphql-codegen/client-preset@npm:5.2.4" +"@graphql-codegen/client-preset@npm:^6.2.3": + version: 6.2.3 + resolution: "@graphql-codegen/client-preset@npm:6.2.3" dependencies: "@babel/helper-plugin-utils": "npm:^7.20.2" "@babel/template": "npm:^7.20.7" - "@graphql-codegen/add": "npm:^6.0.0" - "@graphql-codegen/gql-tag-operations": "npm:5.1.4" - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-codegen/typed-document-node": "npm:^6.1.7" - "@graphql-codegen/typescript": "npm:^5.0.9" - "@graphql-codegen/typescript-operations": "npm:^5.0.9" - "@graphql-codegen/visitor-plugin-common": "npm:^6.2.4" + "@graphql-codegen/add": "npm:^7.1.1" + "@graphql-codegen/gql-tag-operations": "npm:^6.1.1" + "@graphql-codegen/plugin-helpers": "npm:^7.4.2" + "@graphql-codegen/typed-document-node": "npm:^7.1.1" + "@graphql-codegen/typescript": "npm:^6.1.2" + "@graphql-codegen/typescript-operations": "npm:^6.1.10" + "@graphql-codegen/visitor-plugin-common": "npm:^7.2.10" "@graphql-tools/documents": "npm:^1.0.0" - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/utils": "npm:^12.0.3" "@graphql-typed-document-node/core": "npm:3.2.0" - tslib: "npm:~2.6.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 graphql-sock: ^1.0.0 peerDependenciesMeta: graphql-sock: optional: true - checksum: 10c0/43f6e0cd04d479fc492901da4efe257a0b98900a69ddf343e1a0b9ada111246acc7adb58ed9cf75aa989b650f6407c7509226316ef379a6bfebfe9b3eec77721 + checksum: 10c0/efaebb14903285a379bf2f5f0ee5c2ebc7b0943e2cbe92282fbfdc6cc8d2af8fe8f1b51197df45d2180723918597dd1f903ff40223b53673da81c0d47b2bc06c languageName: node linkType: hard -"@graphql-codegen/core@npm:^5.0.1": - version: 5.0.1 - resolution: "@graphql-codegen/core@npm:5.0.1" +"@graphql-codegen/core@npm:^6.2.2": + version: 6.2.2 + resolution: "@graphql-codegen/core@npm:6.2.2" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-tools/schema": "npm:^10.0.0" - "@graphql-tools/utils": "npm:^11.0.0" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.4.2" + "@graphql-tools/schema": "npm:^10.1.3" + "@graphql-tools/utils": "npm:^12.0.3" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/f006834c254f3bcd81e01c54f2c846eb549e4d9e8969b231b02092ef9487097291502776a1d70462cdcf310fe336fb05af077ec23d08a1ea6b804bda991d742f + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/8ddd98429adbf7b5241788e5d3c29a87e1777ddeddee141c016d95cce5415e758d42ff7e98dcc23e9757e506df509e2c8c117eaf9cf9cd95ce32f49dce8c74ff languageName: node linkType: hard -"@graphql-codegen/fragment-matcher@npm:6.0.0": - version: 6.0.0 - resolution: "@graphql-codegen/fragment-matcher@npm:6.0.0" +"@graphql-codegen/fragment-matcher@npm:7.1.0": + version: 7.1.0 + resolution: "@graphql-codegen/fragment-matcher@npm:7.1.0" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.0.0" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.1.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/1dd3aa3a91cd0be7475900d3009a81e7de018dc10ad03060437b7eb059d77c24cc206bed88901b518b6744a35c18b0bef1c6a0eb1455d4efb5836855c84dcef9 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/1a3f9de12e8373dcd65d3fcaa73448df359e7e8eaf45cfd0f1f3d1154f42a0e830f853022d6a6dedda72c63905246978d750eea7be85558140f68561e549b8bc languageName: node linkType: hard -"@graphql-codegen/gql-tag-operations@npm:5.1.4": - version: 5.1.4 - resolution: "@graphql-codegen/gql-tag-operations@npm:5.1.4" +"@graphql-codegen/gql-tag-operations@npm:^6.1.1": + version: 6.1.1 + resolution: "@graphql-codegen/gql-tag-operations@npm:6.1.1" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-codegen/visitor-plugin-common": "npm:^6.2.4" - "@graphql-tools/utils": "npm:^11.0.0" - auto-bind: "npm:~4.0.0" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.4.2" + "@graphql-codegen/visitor-plugin-common": "npm:^7.2.9" + "@graphql-tools/utils": "npm:^12.0.3" + auto-bind: "npm:^5.0.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/e5fdbe333c210bb7148f3af1aa7338ff7374f23bb75f6a1fbc8561161f63c88e62324434eb7df71b0c02fe4a0d4ef4050292a95af2e34d9ad0d03cc746f42321 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/d3d70f675a0472f4f6c6bc17d7cd147c7605f8098229990f438f05d5ca739fa4acf57c56d7fc4950513cff37f91fcaeac095c12d5a1be0984835257602841ef2 languageName: node linkType: hard -"@graphql-codegen/introspection@npm:5.0.1": - version: 5.0.1 - resolution: "@graphql-codegen/introspection@npm:5.0.1" +"@graphql-codegen/introspection@npm:6.1.0": + version: 6.1.0 + resolution: "@graphql-codegen/introspection@npm:6.1.0" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-codegen/visitor-plugin-common": "npm:^6.2.4" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.1.0" + "@graphql-codegen/visitor-plugin-common": "npm:^7.2.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/d154c33f9f6d7f3c1dd9d68cae4e6b1da9f9c7df6774e2dc5c50992e3fef93534e0a9270e2080250a1a8cee33d8e605e75756d7bcb7c904e7e6f802ac77dcb14 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/e65d35e668a5f87d0da24d2e120948c4230fefd140f3e94c83a4fae3193ed5da98a6ce54484d02902b6f28eac2a84f18b20220ee00dc0a93de07a5503204b7d7 languageName: node linkType: hard -"@graphql-codegen/plugin-helpers@npm:^6.0.0, @graphql-codegen/plugin-helpers@npm:^6.1.1, @graphql-codegen/plugin-helpers@npm:^6.2.0": - version: 6.2.0 - resolution: "@graphql-codegen/plugin-helpers@npm:6.2.0" +"@graphql-codegen/plugin-helpers@npm:^7.1.0, @graphql-codegen/plugin-helpers@npm:^7.4.0, @graphql-codegen/plugin-helpers@npm:^7.4.1, @graphql-codegen/plugin-helpers@npm:^7.4.2": + version: 7.4.2 + resolution: "@graphql-codegen/plugin-helpers@npm:7.4.2" dependencies: - "@graphql-tools/utils": "npm:^11.0.0" - change-case-all: "npm:1.0.15" + "@graphql-tools/utils": "npm:^12.0.3" + change-case-all: "npm:^2.1.0" common-tags: "npm:1.8.2" import-from: "npm:4.0.0" - lodash: "npm:~4.17.0" - tslib: "npm:~2.6.0" - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/a1c50d12e4a17c3a8c61d34209d03c0b5f51b62092259670e9a3dd9e4d1048559f7a8a5b76287dde3b50335b9e09efd575d816cfeaa4600622d3fab935cd8d02 - languageName: node - linkType: hard - -"@graphql-codegen/schema-ast@npm:^5.0.1": - version: 5.0.1 - resolution: "@graphql-codegen/schema-ast@npm:5.0.1" - dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-tools/utils": "npm:^11.0.0" - tslib: "npm:~2.6.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/b19f46e890a464d9c30384a7a8bcbc394511f3d6fc4e46182697d62e2c3b80850cf65a68c29ebe74af8ae12ecd68ec6b2f1770e2062be9c1129fd90d7278109c + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/3e49d4cd9e21cbb484d69ea852a4560bbcf8d131257875b5568a0768c7ce028d339982a7fc78a9e255ce54c4c80312c2fa3d66f41e6629593b8cbbb96792f878 languageName: node linkType: hard -"@graphql-codegen/typed-document-node@npm:^6.1.7": - version: 6.1.7 - resolution: "@graphql-codegen/typed-document-node@npm:6.1.7" +"@graphql-codegen/schema-ast@npm:^6.1.0, @graphql-codegen/schema-ast@npm:^6.1.1": + version: 6.1.1 + resolution: "@graphql-codegen/schema-ast@npm:6.1.1" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-codegen/visitor-plugin-common": "npm:^6.2.4" - auto-bind: "npm:~4.0.0" - change-case-all: "npm:1.0.15" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.4.2" + "@graphql-tools/utils": "npm:^12.0.3" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/2fbf3bff8fad5e12162b38d716fd5da0fc87ed296491971492204f865aaffdbe7622a4ca0d5b40731695e58ce8d360ae65abadfe6447be4ced13d3b123a54b30 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/da6babba867b0558ee44575d5635aa1bd0700c7c4734e5df618805c43d4698c7915e083f05987110ac1c0b97f40488ca8883e88d56cd8c2db2d061da584f026f languageName: node linkType: hard -"@graphql-codegen/typescript-graphql-request@npm:7.0.0": - version: 7.0.0 - resolution: "@graphql-codegen/typescript-graphql-request@npm:7.0.0" +"@graphql-codegen/typed-document-node@npm:^7.1.1": + version: 7.1.1 + resolution: "@graphql-codegen/typed-document-node@npm:7.1.1" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-codegen/visitor-plugin-common": "npm:^6.2.4" - auto-bind: "npm:~4.0.0" - tslib: "npm:^2.8.1" + "@graphql-codegen/plugin-helpers": "npm:^7.4.0" + "@graphql-codegen/visitor-plugin-common": "npm:^7.2.6" + auto-bind: "npm:^5.0.0" + change-case-all: "npm:^2.1.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - graphql-request: ^6.0.0 || ^7.0.0 - graphql-tag: ^2.0.0 - checksum: 10c0/85517622b58fc4c8d1366b165ea697b024f54bcaa0ea296660918ce3bda33c3885b113345e15e055da80593341c5e88d3b7ddc402ff11ba4445149f32774b190 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/8bf5bf420e997c6252cd1d97eaff3c456117cbf0bfa33f8191c3c2d201a6ea03654ec8945316f43da32a8f52233ddd743d62a50da59a2519b17feaa077c1e4e9 languageName: node linkType: hard -"@graphql-codegen/typescript-operations@npm:5.0.9, @graphql-codegen/typescript-operations@npm:^5.0.9": - version: 5.0.9 - resolution: "@graphql-codegen/typescript-operations@npm:5.0.9" +"@graphql-codegen/typescript-operations@npm:6.1.10, @graphql-codegen/typescript-operations@npm:^6.1.10": + version: 6.1.10 + resolution: "@graphql-codegen/typescript-operations@npm:6.1.10" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-codegen/typescript": "npm:^5.0.9" - "@graphql-codegen/visitor-plugin-common": "npm:^6.2.4" - auto-bind: "npm:~4.0.0" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.4.1" + "@graphql-codegen/schema-ast": "npm:^6.1.0" + "@graphql-codegen/visitor-plugin-common": "npm:^7.2.8" + auto-bind: "npm:^5.0.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 graphql-sock: ^1.0.0 peerDependenciesMeta: graphql-sock: optional: true - checksum: 10c0/dda1defc49240f949d85ed2d9fb3cca79dbacd8a6bb2f2097bd96ded1cd2361cc12a5ed09bfd26d7d68a474318fa5a32a87a4ca4835ba3efcda277ec060ab05f + checksum: 10c0/48e76a2efcd7012d61799550a5cbcc4ccab5c008108199293f82ea98a3906b526a511d39e34aad006890b0828510a775da05ced95bf7f3539bd4d3e5b1396d32 languageName: node linkType: hard -"@graphql-codegen/typescript-resolvers@npm:5.1.7": - version: 5.1.7 - resolution: "@graphql-codegen/typescript-resolvers@npm:5.1.7" +"@graphql-codegen/typescript-resolvers@npm:6.1.1": + version: 6.1.1 + resolution: "@graphql-codegen/typescript-resolvers@npm:6.1.1" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-codegen/typescript": "npm:^5.0.9" - "@graphql-codegen/visitor-plugin-common": "npm:^6.2.4" - "@graphql-tools/utils": "npm:^11.0.0" - auto-bind: "npm:~4.0.0" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.4.2" + "@graphql-codegen/typescript": "npm:^6.1.1" + "@graphql-codegen/visitor-plugin-common": "npm:^7.2.9" + "@graphql-tools/utils": "npm:^12.0.3" + auto-bind: "npm:^5.0.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 graphql-sock: ^1.0.0 peerDependenciesMeta: graphql-sock: optional: true - checksum: 10c0/3f4928fc90699b63de2a35ed04020deecad2fd3b9b427b1a7e7fc00a5ae2984c60d430a192430f034e1ed540d56337ae0386cafe6d7e76e6d82ae0e357800f74 + checksum: 10c0/e478dbd04638a43cf0c61e25e698afd35f2ab64b84564fa99d84f874d8c7f0442f6e6a74a71ae0b8f984c4ac99db1a88ca3445f17f65e53f71ed37a198fe5f33 languageName: node linkType: hard -"@graphql-codegen/typescript@npm:5.0.9, @graphql-codegen/typescript@npm:^5.0.9": - version: 5.0.9 - resolution: "@graphql-codegen/typescript@npm:5.0.9" +"@graphql-codegen/typescript@npm:6.1.2, @graphql-codegen/typescript@npm:^6.1.1, @graphql-codegen/typescript@npm:^6.1.2": + version: 6.1.2 + resolution: "@graphql-codegen/typescript@npm:6.1.2" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" - "@graphql-codegen/schema-ast": "npm:^5.0.1" - "@graphql-codegen/visitor-plugin-common": "npm:^6.2.4" - auto-bind: "npm:~4.0.0" - tslib: "npm:~2.6.0" + "@graphql-codegen/plugin-helpers": "npm:^7.4.2" + "@graphql-codegen/schema-ast": "npm:^6.1.1" + "@graphql-codegen/visitor-plugin-common": "npm:^7.2.10" + auto-bind: "npm:^5.0.0" + tslib: "npm:~2.8.0" peerDependencies: - graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/e2b69b84ba9530876ad472df7a0a1f2327edc6c9393b95234c0002aec579380c816008304c2c7cbb258a4391d4dbec0151804f7887b631f6793d910bb6531587 + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/44085b0ab4b75eb604f09d08b5c92599aab644d2290074c424f8af3b83991bf911a041aba1599f3c2d3275d5fa0040a6d11d317d023bb6df46dd864d1fb58efc languageName: node linkType: hard -"@graphql-codegen/visitor-plugin-common@npm:^6.2.4": - version: 6.2.4 - resolution: "@graphql-codegen/visitor-plugin-common@npm:6.2.4" +"@graphql-codegen/visitor-plugin-common@npm:^7.2.0, @graphql-codegen/visitor-plugin-common@npm:^7.2.10, @graphql-codegen/visitor-plugin-common@npm:^7.2.6, @graphql-codegen/visitor-plugin-common@npm:^7.2.8, @graphql-codegen/visitor-plugin-common@npm:^7.2.9": + version: 7.2.10 + resolution: "@graphql-codegen/visitor-plugin-common@npm:7.2.10" dependencies: - "@graphql-codegen/plugin-helpers": "npm:^6.1.1" + "@graphql-codegen/plugin-helpers": "npm:^7.4.2" "@graphql-tools/optimize": "npm:^2.0.0" - "@graphql-tools/relay-operation-optimizer": "npm:^7.1.1" - "@graphql-tools/utils": "npm:^11.0.0" - auto-bind: "npm:~4.0.0" - change-case-all: "npm:1.0.15" + "@graphql-tools/relay-operation-optimizer": "npm:^7.1.12" + "@graphql-tools/utils": "npm:^12.0.3" + auto-bind: "npm:^5.0.0" + change-case-all: "npm:^2.1.0" dependency-graph: "npm:^1.0.0" graphql-tag: "npm:^2.11.0" parse-filepath: "npm:^1.0.2" - tslib: "npm:~2.6.0" + tslib: "npm:^2.8.0" peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - checksum: 10c0/1bc912ec750b8271cf3b28404dc7ce1ebfe356d071da74c711052a3dc48bcd03748fe74e2a01b01dd0e68d1b96ad180249a2162521eef682219532568b988a4c + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 10c0/dea8a8e717365967029fc2ee1f5e2b9e43406c4ddddbea861aa7718daa571da473b17cf937049cc6ae39ffd7f705694ca590b999885dc93f2b4834543c0ff5e3 languageName: node linkType: hard @@ -7142,64 +7136,64 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/apollo-engine-loader@npm:^8.0.28": - version: 8.0.28 - resolution: "@graphql-tools/apollo-engine-loader@npm:8.0.28" +"@graphql-tools/apollo-engine-loader@npm:^8.0.38": + version: 8.0.38 + resolution: "@graphql-tools/apollo-engine-loader@npm:8.0.38" dependencies: - "@graphql-tools/utils": "npm:^11.0.0" - "@whatwg-node/fetch": "npm:^0.10.13" - sync-fetch: "npm:0.6.0" + "@graphql-tools/utils": "npm:^12.0.3" + "@whatwg-node/fetch": "npm:^0.12.0" + sync-fetch: "npm:0.7.1" tslib: "npm:^2.4.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/235cfaf9e8137dd4a55358547807259a5c80cf23d6ce013da5cc8367ad7ace554e73b189aa9435378a910d302b457d661cde53cabbda7e7e994fa5e9d663cad1 + checksum: 10c0/392a7b0eb18ead51f4bb56ecbe64755c7a0282a2f905e2c031b6c3590bac116d16577d8476a07dbd3694dfd45b467d42fd8c883996d0476350a647fa28a7d0f6 languageName: node linkType: hard -"@graphql-tools/batch-execute@npm:^10.0.7": - version: 10.0.7 - resolution: "@graphql-tools/batch-execute@npm:10.0.7" +"@graphql-tools/batch-execute@npm:^10.2.0": + version: 10.2.0 + resolution: "@graphql-tools/batch-execute@npm:10.2.0" dependencies: - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/utils": "npm:^12.0.1" "@whatwg-node/promise-helpers": "npm:^1.3.2" dataloader: "npm:^2.2.3" tslib: "npm:^2.8.1" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/294e3f735a8e20b52bfe7acc0b0678e0ca20488aea88b6c3a0b7eca1fe14c280910e99eb817ed3ead14cfc3520de1e42b803bc23b48fc20b6ee7e71fb8270a74 + checksum: 10c0/8a82e1b7160b1b873f5dfd21a5205b5b5ce2be2f93b8a1d77ac6433688b17a8c25ebff24f636954566e35a08bbc7011a6c3ece68f8503ac354be9c7bee9928f9 languageName: node linkType: hard -"@graphql-tools/code-file-loader@npm:^8.1.28": - version: 8.1.29 - resolution: "@graphql-tools/code-file-loader@npm:8.1.29" +"@graphql-tools/code-file-loader@npm:^8.1.41": + version: 8.1.41 + resolution: "@graphql-tools/code-file-loader@npm:8.1.41" dependencies: - "@graphql-tools/graphql-tag-pluck": "npm:8.3.28" - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/graphql-tag-pluck": "npm:8.3.39" + "@graphql-tools/utils": "npm:^12.0.3" globby: "npm:^11.0.3" tslib: "npm:^2.4.0" unixify: "npm:^1.0.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/32ed4160775b4d1978c5b9fad504a3eca02130881a3a4a17b2db7bde13b4fb48e4a43327892443b2c536f05eaefc63cc9ceffa31097a7aff29076e1b2b00224d + checksum: 10c0/f2d855ff254f05f9c404562430f4058aff922967a271b7314ead0e9624743986ad4a46ccd195e7121a86d380e9c691f069ea0af2c890e337ed9372430422c9a7 languageName: node linkType: hard -"@graphql-tools/delegate@npm:^12.0.12": - version: 12.0.12 - resolution: "@graphql-tools/delegate@npm:12.0.12" +"@graphql-tools/delegate@npm:^12.2.1": + version: 12.2.1 + resolution: "@graphql-tools/delegate@npm:12.2.1" dependencies: - "@graphql-tools/batch-execute": "npm:^10.0.7" - "@graphql-tools/executor": "npm:^1.4.13" - "@graphql-tools/schema": "npm:^10.0.29" - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/batch-execute": "npm:^10.2.0" + "@graphql-tools/executor": "npm:^2.0.1" + "@graphql-tools/schema": "npm:^10.1.1" + "@graphql-tools/utils": "npm:^12.0.1" "@repeaterjs/repeater": "npm:^3.0.6" "@whatwg-node/promise-helpers": "npm:^1.3.2" dataloader: "npm:^2.2.3" tslib: "npm:^2.8.1" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/9fbabf2ed3c7a0ae0893827e72d2004b4b9dce81465b61a3c8feeb53c96e6bc694d4e36c76f5bd6db8dd0cacf98a39f9e45b64a1dda7b965b68126011a11c256 + checksum: 10c0/c913011ab49d46616ad38d75e90e9751a0ea0c7cdaa1f8943f65003e70a694b9f2be3032156d1598025844c941a87fc9f4920ea247e408c6555c6126cc8aedb2 languageName: node linkType: hard @@ -7244,7 +7238,7 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/executor-http@npm:^3.1.0, @graphql-tools/executor-http@npm:^3.4.0": +"@graphql-tools/executor-http@npm:^3.4.0": version: 3.4.1 resolution: "@graphql-tools/executor-http@npm:3.4.1" dependencies: @@ -7278,129 +7272,128 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/executor@npm:^1.4.13": - version: 1.5.1 - resolution: "@graphql-tools/executor@npm:1.5.1" +"@graphql-tools/executor@npm:^2.0.1": + version: 2.0.3 + resolution: "@graphql-tools/executor@npm:2.0.3" dependencies: - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/utils": "npm:^12.0.3" "@graphql-typed-document-node/core": "npm:^3.2.0" - "@repeaterjs/repeater": "npm:^3.0.4" - "@whatwg-node/disposablestack": "npm:^0.0.6" - "@whatwg-node/promise-helpers": "npm:^1.0.0" + "@repeaterjs/repeater": "npm:^3.1.0" + "@whatwg-node/disposablestack": "npm:^0.1.0" + "@whatwg-node/promise-helpers": "npm:^2.0.0" tslib: "npm:^2.4.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/6d8d4dd9c005bd280da2bf61c8606f0dc1f0b0d6f518c5020b1d24854fd3cf8627843e21cd46ae5a505e3271cb88db0204fad8aaf5949020ebfa2cf26971c7b3 + checksum: 10c0/9e32a1dbb289b6d6322b29f981b3a5fa3b4c46aeb1b143c9aca1f8010760c4bdae7ad5bec287d39112989671206841bcf1a7a5014ed520609bd9513dbb3153ad languageName: node linkType: hard -"@graphql-tools/git-loader@npm:^8.0.32": - version: 8.0.33 - resolution: "@graphql-tools/git-loader@npm:8.0.33" +"@graphql-tools/git-loader@npm:^8.0.44": + version: 8.0.44 + resolution: "@graphql-tools/git-loader@npm:8.0.44" dependencies: - "@graphql-tools/graphql-tag-pluck": "npm:8.3.28" - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/graphql-tag-pluck": "npm:8.3.39" + "@graphql-tools/utils": "npm:^12.0.3" is-glob: "npm:4.0.3" micromatch: "npm:^4.0.8" tslib: "npm:^2.4.0" unixify: "npm:^1.0.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/1fa53d083a70b6120ee609c476497d6ba58c61b6aea636f05ad8558cab849664bad2294926c1ef8e3586c3f7276e7733a9cd332f442fa6fe816a1cce25cfaaa5 + checksum: 10c0/72d93796731b712740b35a083b4eac1365fb137c7b6c9f13df5dda40b494d5110618fd3345b55bf92e90b83f10d65eb263adc8ed17b99de21ec3fef272bad509 languageName: node linkType: hard -"@graphql-tools/github-loader@npm:^9.0.6": - version: 9.0.7 - resolution: "@graphql-tools/github-loader@npm:9.0.7" +"@graphql-tools/github-loader@npm:^9.1.11": + version: 9.1.11 + resolution: "@graphql-tools/github-loader@npm:9.1.11" dependencies: - "@graphql-tools/executor-http": "npm:^3.1.0" - "@graphql-tools/graphql-tag-pluck": "npm:^8.3.28" - "@graphql-tools/utils": "npm:^11.0.0" - "@whatwg-node/fetch": "npm:^0.10.13" - "@whatwg-node/promise-helpers": "npm:^1.0.0" - sync-fetch: "npm:0.6.0" + "@graphql-tools/executor-http": "npm:^3.4.0" + "@graphql-tools/graphql-tag-pluck": "npm:^8.3.39" + "@graphql-tools/utils": "npm:^12.0.3" + "@whatwg-node/fetch": "npm:^0.12.0" + "@whatwg-node/promise-helpers": "npm:^2.0.0" + sync-fetch: "npm:0.7.1" tslib: "npm:^2.4.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/ca4719a9fe46d607abd409bdd3cafdbb7d798d922e3f35b877614b06d1a486d212240dea11667d95c9c715d4645712b4ff3cb8beb22db18cc6f1f56a9c3ab0e3 + checksum: 10c0/eebf8f0f674c3079b33afb96b6d27046abb26b00eff1c2443d637b5190d9eea369455076678cc6de12867ea11d396bc4595529f2e0e4edf35fe52d3e91d115b1 languageName: node linkType: hard -"@graphql-tools/graphql-file-loader@npm:^8.0.0, @graphql-tools/graphql-file-loader@npm:^8.1.11": - version: 8.1.12 - resolution: "@graphql-tools/graphql-file-loader@npm:8.1.12" +"@graphql-tools/graphql-file-loader@npm:^8.1.22": + version: 8.1.22 + resolution: "@graphql-tools/graphql-file-loader@npm:8.1.22" dependencies: - "@graphql-tools/import": "npm:^7.1.12" - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/import": "npm:^7.2.2" + "@graphql-tools/utils": "npm:^12.0.3" globby: "npm:^11.0.3" tslib: "npm:^2.4.0" unixify: "npm:^1.0.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/efc08fb887a7e8166957cae6935896a3e026a71319fbddaf896cf5a9c07bda85e7e92f371d78af633e31fe5844f8312809dad1262b1e90b54e1287637e1f1088 + checksum: 10c0/b4d0964828f0f3839e61a4815c0b96d1fba45ccf276a9ff3cd71ab84bb3e13c227ec3bdf0da12d075d19a4301166e426d0005fb1e7ebda19953333d0e1a82808 languageName: node linkType: hard -"@graphql-tools/graphql-tag-pluck@npm:8.3.28, @graphql-tools/graphql-tag-pluck@npm:^8.3.28": - version: 8.3.28 - resolution: "@graphql-tools/graphql-tag-pluck@npm:8.3.28" +"@graphql-tools/graphql-tag-pluck@npm:8.3.39, @graphql-tools/graphql-tag-pluck@npm:^8.3.39": + version: 8.3.39 + resolution: "@graphql-tools/graphql-tag-pluck@npm:8.3.39" dependencies: - "@babel/core": "npm:^7.28.6" - "@babel/parser": "npm:^7.26.10" - "@babel/plugin-syntax-import-assertions": "npm:^7.26.0" + "@babel/core": "npm:^7.29.7" + "@babel/parser": "npm:^7.29.3" "@babel/traverse": "npm:^7.26.10" "@babel/types": "npm:^7.26.10" - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/utils": "npm:^12.0.3" tslib: "npm:^2.4.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/59174cf25397289df91d6bdba77df008b2e37bce2ed4267123dab748b9333443178623d635e2678ee3238740fde669a6e71e4f73f95fb5df51fd42496a8fa291 + checksum: 10c0/c082114f4b58347475adba11d3b40ddfb2f2cfdbe08ee3801558b1af47692c796548004651cc3a0738782434bac07d440c2f995ab5b08cdeeeb922bc1e943fc5 languageName: node linkType: hard -"@graphql-tools/import@npm:^7.1.12": - version: 7.1.12 - resolution: "@graphql-tools/import@npm:7.1.12" +"@graphql-tools/import@npm:^7.2.2": + version: 7.2.2 + resolution: "@graphql-tools/import@npm:7.2.2" dependencies: - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/utils": "npm:^12.0.3" resolve-from: "npm:5.0.0" tslib: "npm:^2.4.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/a57f2b68fc54762d2a1a6a648ced41403df8cdc5f088c55da33e30c706a1b4892cdbd75ddae4d26d42e7952d7049790b4318e33924e8165635e9cd2fab962a7c + checksum: 10c0/0f2f7198e56bb5b9f608466e5a5adc9071d289e5ffff5f314e9244b09ccfce284d55b73cb35ce0a9ab12999e1211e04efdb0eb8062b1a4abfed8e0ff23635b7e languageName: node linkType: hard -"@graphql-tools/json-file-loader@npm:^8.0.0, @graphql-tools/json-file-loader@npm:^8.0.26": - version: 8.0.26 - resolution: "@graphql-tools/json-file-loader@npm:8.0.26" +"@graphql-tools/json-file-loader@npm:^8.0.36": + version: 8.0.36 + resolution: "@graphql-tools/json-file-loader@npm:8.0.36" dependencies: - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/utils": "npm:^12.0.3" globby: "npm:^11.0.3" tslib: "npm:^2.4.0" unixify: "npm:^1.0.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/899f388d639c2ab4881b0e6892c01c4dafe82954b14ad37ab7ce32daf12424f3bdbefb2dc299ce771b5af0d6d1b4f48c99affa961ccf4e68396be3aed20822ad + checksum: 10c0/c42755768872606bb97987736a1eb2d7993fa3886006c678405e253caae89a4de1861c4e82d0fc9ef2aac37418c8389ae0249426335826a4908680f69dc842ea languageName: node linkType: hard -"@graphql-tools/load@npm:^8.1.0, @graphql-tools/load@npm:^8.1.8": - version: 8.1.8 - resolution: "@graphql-tools/load@npm:8.1.8" +"@graphql-tools/load@npm:^8.1.19": + version: 8.1.19 + resolution: "@graphql-tools/load@npm:8.1.19" dependencies: - "@graphql-tools/schema": "npm:^10.0.31" - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/schema": "npm:^10.1.3" + "@graphql-tools/utils": "npm:^12.0.3" p-limit: "npm:3.1.0" tslib: "npm:^2.4.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/87d26ee4363223e0f187dd6d4fd41c2dee80ec87ce1f01faf7174ac1ca0b85ac537f466a084812024cd2857a0df17c71afae3567998b84cc7a65b65bb84c0663 + checksum: 10c0/0cc0bf0a2b24e39402abdd127ec93ca62847c8b5f68a9eefae33fe3dc01216d082d4e1ea684803bc563a6812147f6a6e70679e0e35fb19b5877b8760610a5f7d languageName: node linkType: hard -"@graphql-tools/merge@npm:^9.0.0, @graphql-tools/merge@npm:^9.0.6, @graphql-tools/merge@npm:^9.2.6": +"@graphql-tools/merge@npm:^9.2.6": version: 9.2.6 resolution: "@graphql-tools/merge@npm:9.2.6" dependencies: @@ -7423,20 +7416,20 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/relay-operation-optimizer@npm:^7.1.1": - version: 7.1.1 - resolution: "@graphql-tools/relay-operation-optimizer@npm:7.1.1" +"@graphql-tools/relay-operation-optimizer@npm:^7.1.12": + version: 7.1.12 + resolution: "@graphql-tools/relay-operation-optimizer@npm:7.1.12" dependencies: - "@ardatan/relay-compiler": "npm:^13.0.0" - "@graphql-tools/utils": "npm:^11.0.0" + "@ardatan/relay-compiler": "npm:^13.0.2" + "@graphql-tools/utils": "npm:^12.0.3" tslib: "npm:^2.4.0" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/8ba274ba63e1ea3169e73deea766b21c6031a8a87e6cc4f68beed2abad32678b7fb8f5c5589f7c4c00e8ca9796c876f62162de483f1d4d8c4320cdb714955459 + checksum: 10c0/13a4297daf8deb4f27bd6845236b64a264584e9a96c6925d408ff61e0f615077ebfed20b6ca9d3ec595c5bbab6b4f2ec8501853c24ebbfc77b4cc46e1462581b languageName: node linkType: hard -"@graphql-tools/schema@npm:10.1.3, @graphql-tools/schema@npm:^10.0.0, @graphql-tools/schema@npm:^10.0.29, @graphql-tools/schema@npm:^10.0.31": +"@graphql-tools/schema@npm:10.1.3, @graphql-tools/schema@npm:^10.0.0, @graphql-tools/schema@npm:^10.1.1, @graphql-tools/schema@npm:^10.1.3": version: 10.1.3 resolution: "@graphql-tools/schema@npm:10.1.3" dependencies: @@ -7449,7 +7442,7 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/url-loader@npm:^9.0.0, @graphql-tools/url-loader@npm:^9.0.6": +"@graphql-tools/url-loader@npm:^9.1.12": version: 9.1.12 resolution: "@graphql-tools/url-loader@npm:9.1.12" dependencies: @@ -7471,20 +7464,6 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/utils@npm:^11.0.0": - version: 11.0.0 - resolution: "@graphql-tools/utils@npm:11.0.0" - dependencies: - "@graphql-typed-document-node/core": "npm:^3.1.1" - "@whatwg-node/promise-helpers": "npm:^1.0.0" - cross-inspect: "npm:1.0.1" - tslib: "npm:^2.4.0" - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/008f7d033b900bab7daf073c34d2b5502f52005a3dfa9761dfd550d64734c7cd47c2cc92f130f24c5911ceed91315494b54e6849ed345004e59e84377ab1f6c7 - languageName: node - linkType: hard - "@graphql-tools/utils@npm:^12.0.1, @graphql-tools/utils@npm:^12.0.3": version: 12.0.3 resolution: "@graphql-tools/utils@npm:12.0.3" @@ -7500,17 +7479,17 @@ __metadata: linkType: hard "@graphql-tools/wrap@npm:^11.1.1": - version: 11.1.12 - resolution: "@graphql-tools/wrap@npm:11.1.12" + version: 11.2.1 + resolution: "@graphql-tools/wrap@npm:11.2.1" dependencies: - "@graphql-tools/delegate": "npm:^12.0.12" - "@graphql-tools/schema": "npm:^10.0.29" - "@graphql-tools/utils": "npm:^11.0.0" + "@graphql-tools/delegate": "npm:^12.2.1" + "@graphql-tools/schema": "npm:^10.1.1" + "@graphql-tools/utils": "npm:^12.0.1" "@whatwg-node/promise-helpers": "npm:^1.3.2" tslib: "npm:^2.8.1" peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10c0/236bd539f99fe078bb58c5d32fdeb5276cf6c37683ee12c61e39470f1b0c5d8359a618d675d88e1a4d13bab4db8c1a8a433c78674879acf7cbd4904b3e2de8ab + checksum: 10c0/1111f96c6670033bc1d9115eef670219e7f4bb37576227d13bade7b662cf3a4dff55a21195abd9ff06165dc25bc53091febc637ec0d3ae258a91ddb56eb03e6e languageName: node linkType: hard @@ -8308,6 +8287,13 @@ __metadata: languageName: node linkType: hard +"@inquirer/ansi@npm:^2.0.9": + version: 2.0.9 + resolution: "@inquirer/ansi@npm:2.0.9" + checksum: 10c0/2d909c11853468a76e1b3e4d695c09365787ed828276a93af7286d9c3d0e626db50766455119c9cb35e73e1917265fd9008a379c992ab497170893d1a222cb29 + languageName: node + linkType: hard + "@inquirer/checkbox@npm:^4.3.2": version: 4.3.2 resolution: "@inquirer/checkbox@npm:4.3.2" @@ -8326,6 +8312,23 @@ __metadata: languageName: node linkType: hard +"@inquirer/checkbox@npm:^5.2.6": + version: 5.2.6 + resolution: "@inquirer/checkbox@npm:5.2.6" + dependencies: + "@inquirer/ansi": "npm:^2.0.9" + "@inquirer/core": "npm:^12.0.4" + "@inquirer/figures": "npm:^2.0.9" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/f20b92800df57b33e601e94b3e4ae75d260c0fd870001c1b4204350fc5b825474d120048e7cbb8a32f4f75cc59df712985ea10cf00daa8ed8a91abbbe2451661 + languageName: node + linkType: hard + "@inquirer/confirm@npm:^5.0.0, @inquirer/confirm@npm:^5.1.21": version: 5.1.21 resolution: "@inquirer/confirm@npm:5.1.21" @@ -8341,6 +8344,21 @@ __metadata: languageName: node linkType: hard +"@inquirer/confirm@npm:^6.3.3": + version: 6.3.3 + resolution: "@inquirer/confirm@npm:6.3.3" + dependencies: + "@inquirer/core": "npm:^12.0.4" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/432a1edf3bcc80de43ca23102cf9fa31f8f5c3e1d53f980ff11730d105e13a3e40b2c31a1d15f02326c96acfcb4a7e1c442c747736f122dcbd6679b1a87f1a13 + languageName: node + linkType: hard + "@inquirer/core@npm:^10.1.0, @inquirer/core@npm:^10.3.2": version: 10.3.2 resolution: "@inquirer/core@npm:10.3.2" @@ -8362,6 +8380,26 @@ __metadata: languageName: node linkType: hard +"@inquirer/core@npm:^12.0.4": + version: 12.0.4 + resolution: "@inquirer/core@npm:12.0.4" + dependencies: + "@inquirer/ansi": "npm:^2.0.9" + "@inquirer/figures": "npm:^2.0.9" + "@inquirer/type": "npm:4.2.0" + cli-width: "npm:^4.1.0" + fast-wrap-ansi: "npm:^0.2.0" + mute-stream: "npm:^3.0.0" + signal-exit: "npm:^4.1.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/b39b358725d623fea6a29ed96b9632649ca45ddc5a31dec6b2f42f593418152200b400f8d847cc2118e6881169c22278043b44fd4971c74ed6779fea773b7129 + languageName: node + linkType: hard + "@inquirer/core@npm:^6.0.0": version: 6.0.0 resolution: "@inquirer/core@npm:6.0.0" @@ -8400,6 +8438,22 @@ __metadata: languageName: node linkType: hard +"@inquirer/editor@npm:^5.3.4": + version: 5.3.4 + resolution: "@inquirer/editor@npm:5.3.4" + dependencies: + "@inquirer/core": "npm:^12.0.4" + "@inquirer/external-editor": "npm:^3.0.6" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/9adbfb9ed2b11d6fa11162852e5076879275ceb9f21e5a84ae2888e07153202545d1b0a28a6254163b0a5dcd0c72982a8219446a07c1b551daf6b97513ac6739 + languageName: node + linkType: hard + "@inquirer/expand@npm:^4.0.23": version: 4.0.23 resolution: "@inquirer/expand@npm:4.0.23" @@ -8416,6 +8470,21 @@ __metadata: languageName: node linkType: hard +"@inquirer/expand@npm:^5.1.6": + version: 5.1.6 + resolution: "@inquirer/expand@npm:5.1.6" + dependencies: + "@inquirer/core": "npm:^12.0.4" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/c67b79b5266d6a47eab4a766bb92c129afa830f050343aafc22724676e438e49484e083654024375763985e538ee4a7855e11834860f0c97f60dddc4f517d31b + languageName: node + linkType: hard + "@inquirer/external-editor@npm:^1.0.3": version: 1.0.3 resolution: "@inquirer/external-editor@npm:1.0.3" @@ -8431,6 +8500,21 @@ __metadata: languageName: node linkType: hard +"@inquirer/external-editor@npm:^3.0.6": + version: 3.0.6 + resolution: "@inquirer/external-editor@npm:3.0.6" + dependencies: + chardet: "npm:^2.1.1" + iconv-lite: "npm:^0.7.2" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/19090cce57aa9b0e30e1b2d3ebe0150e2b3782deecb5eb59e3736a38f1e415b4ed6eb07771d5818c72bd58d88bd22f72ea0902d0980385b45511b161e4afe490 + languageName: node + linkType: hard + "@inquirer/figures@npm:^1.0.15": version: 1.0.15 resolution: "@inquirer/figures@npm:1.0.15" @@ -8438,6 +8522,13 @@ __metadata: languageName: node linkType: hard +"@inquirer/figures@npm:^2.0.9": + version: 2.0.9 + resolution: "@inquirer/figures@npm:2.0.9" + checksum: 10c0/24198eb05c7ba32cf5b2eeee0a641b708fcd23f78ac6c568d18858191a40aa456e1626c52e088df1882ebe2e34c0f4cd08c78ca3c506429d4032f0a8833230a2 + languageName: node + linkType: hard + "@inquirer/input@npm:^4.3.1": version: 4.3.1 resolution: "@inquirer/input@npm:4.3.1" @@ -8453,6 +8544,21 @@ __metadata: languageName: node linkType: hard +"@inquirer/input@npm:^5.1.7": + version: 5.1.7 + resolution: "@inquirer/input@npm:5.1.7" + dependencies: + "@inquirer/core": "npm:^12.0.4" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/29f35215dac71e98206af5df575cff847392f519731bf94f7f7bc5b341dcf3a67df7b72ce8d045c0cab7e5318e4aa1b4bafa15bc6595198fe411711cb0fd9340 + languageName: node + linkType: hard + "@inquirer/number@npm:^3.0.23": version: 3.0.23 resolution: "@inquirer/number@npm:3.0.23" @@ -8468,6 +8574,21 @@ __metadata: languageName: node linkType: hard +"@inquirer/number@npm:^4.2.4": + version: 4.2.4 + resolution: "@inquirer/number@npm:4.2.4" + dependencies: + "@inquirer/core": "npm:^12.0.4" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/499638b80b68f85bf09f031fd85a7c7b5387aa8bb2ebd3fd62f0f499a5f3fec9974bea159eb112da20a00fb437c1146d1612900af8ed203495d82c9d1997af42 + languageName: node + linkType: hard + "@inquirer/password@npm:^4.0.23": version: 4.0.23 resolution: "@inquirer/password@npm:4.0.23" @@ -8484,7 +8605,23 @@ __metadata: languageName: node linkType: hard -"@inquirer/prompts@npm:^7.1.0, @inquirer/prompts@npm:^7.8.2": +"@inquirer/password@npm:^5.2.3": + version: 5.2.3 + resolution: "@inquirer/password@npm:5.2.3" + dependencies: + "@inquirer/ansi": "npm:^2.0.9" + "@inquirer/core": "npm:^12.0.4" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/27e18e232f4e1b093232dc1781e7aacab7c6e69d0a87f9ab1bfe1ac507b0a2b5349bdc6a38b437fd8a287533d63f4cc9b6035ff9db1b96e72ac09aa40740b946 + languageName: node + linkType: hard + +"@inquirer/prompts@npm:^7.1.0": version: 7.10.1 resolution: "@inquirer/prompts@npm:7.10.1" dependencies: @@ -8507,6 +8644,29 @@ __metadata: languageName: node linkType: hard +"@inquirer/prompts@npm:^8.3.2": + version: 8.7.3 + resolution: "@inquirer/prompts@npm:8.7.3" + dependencies: + "@inquirer/checkbox": "npm:^5.2.6" + "@inquirer/confirm": "npm:^6.3.3" + "@inquirer/editor": "npm:^5.3.4" + "@inquirer/expand": "npm:^5.1.6" + "@inquirer/input": "npm:^5.1.7" + "@inquirer/number": "npm:^4.2.4" + "@inquirer/password": "npm:^5.2.3" + "@inquirer/rawlist": "npm:^5.3.6" + "@inquirer/search": "npm:^4.3.4" + "@inquirer/select": "npm:^5.2.6" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/7cc743e993c92768f9319429503e247c1c8f31a392ceb0b80e75a749b49a88b7f283bc418e0f82c3b68626d9607b8102fbf36517befde309d1d3cbe9dceff183 + languageName: node + linkType: hard + "@inquirer/rawlist@npm:^4.1.11": version: 4.1.11 resolution: "@inquirer/rawlist@npm:4.1.11" @@ -8523,6 +8683,21 @@ __metadata: languageName: node linkType: hard +"@inquirer/rawlist@npm:^5.3.6": + version: 5.3.6 + resolution: "@inquirer/rawlist@npm:5.3.6" + dependencies: + "@inquirer/core": "npm:^12.0.4" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/1c95c1242af4ae33a3feebd732258a977e775090c1715cb7995cc6d1990f531f059cdade0c5359bf10a9bc06a72a13d424fac5c50248ca02e1652f43569876df + languageName: node + linkType: hard + "@inquirer/search@npm:^3.2.2": version: 3.2.2 resolution: "@inquirer/search@npm:3.2.2" @@ -8540,6 +8715,22 @@ __metadata: languageName: node linkType: hard +"@inquirer/search@npm:^4.3.4": + version: 4.3.4 + resolution: "@inquirer/search@npm:4.3.4" + dependencies: + "@inquirer/core": "npm:^12.0.4" + "@inquirer/figures": "npm:^2.0.9" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/d64ad8ca968172cc277409f48a5296f4673a0f97d78f6036de71660717ac8bc830a73ca12a65b87eb0877e9f81691dff323aad1f19e1e62fa56b3e9f28e98e75 + languageName: node + linkType: hard + "@inquirer/select@npm:1.3.3": version: 1.3.3 resolution: "@inquirer/select@npm:1.3.3" @@ -8571,6 +8762,35 @@ __metadata: languageName: node linkType: hard +"@inquirer/select@npm:^5.2.6": + version: 5.2.6 + resolution: "@inquirer/select@npm:5.2.6" + dependencies: + "@inquirer/ansi": "npm:^2.0.9" + "@inquirer/core": "npm:^12.0.4" + "@inquirer/figures": "npm:^2.0.9" + "@inquirer/type": "npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/e968035c0934eddd6b28e70377eb281f836f74ec9ad0487978de5048813c0cc555ceb1281d23e112b12d3400cc061b017b4269f331a6cd1233ab1062765a3d3e + languageName: node + linkType: hard + +"@inquirer/type@npm:4.2.0": + version: 4.2.0 + resolution: "@inquirer/type@npm:4.2.0" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/9f471944a93bc0205e39d60b43d9176917b900ea87c45a88ecce293a9cb4fe355a9e077c74c08e07df63408fe343cae69364050ef81fb67289300200565e1a3e + languageName: node + linkType: hard + "@inquirer/type@npm:^1.1.6": version: 1.5.5 resolution: "@inquirer/type@npm:1.5.5" @@ -9901,10 +10121,11 @@ __metadata: "@blockprotocol/core": "npm:0.1.5" "@blockprotocol/graph": "workspace:*" "@blockprotocol/type-system": "workspace:*" - "@graphql-codegen/cli": "npm:^6.2.1" - "@graphql-codegen/fragment-matcher": "npm:6.0.0" - "@graphql-codegen/typescript": "npm:5.0.9" - "@graphql-codegen/typescript-operations": "npm:5.0.9" + "@graphql-codegen/add": "npm:7.1.1" + "@graphql-codegen/cli": "npm:^7.4.6" + "@graphql-codegen/fragment-matcher": "npm:7.1.0" + "@graphql-codegen/typescript": "npm:6.1.2" + "@graphql-codegen/typescript-operations": "npm:6.1.10" "@local/advanced-types": "workspace:*" "@local/eslint": "workspace:*" "@local/hash-graph-client": "workspace:*" @@ -14423,10 +14644,10 @@ __metadata: languageName: node linkType: hard -"@repeaterjs/repeater@npm:^3.0.4, @repeaterjs/repeater@npm:^3.0.6": - version: 3.0.6 - resolution: "@repeaterjs/repeater@npm:3.0.6" - checksum: 10c0/c3915e2603927c7d6a9eb09673bc28fc49ab3a86947ec191a74663b33deebee2fcc4b03c31cc663ff27bd6db9e6c9487639b6935e265d601ce71b8c497f5f4a8 +"@repeaterjs/repeater@npm:^3.0.4, @repeaterjs/repeater@npm:^3.0.6, @repeaterjs/repeater@npm:^3.1.0": + version: 3.1.0 + resolution: "@repeaterjs/repeater@npm:3.1.0" + checksum: 10c0/33a41a009c589bebe05bd4a182ffaf47bf9cbf9037729bc5cb0e183f9074e83b0c5f89ce2381bcdc05bb7604771872c5d2f78c5bb7004c562bf64b94821d0abc languageName: node linkType: hard @@ -17609,11 +17830,10 @@ __metadata: "@apps/hash-integration-worker": "workspace:*" "@blockprotocol/graph": "workspace:*" "@blockprotocol/type-system": "workspace:*" - "@graphql-codegen/cli": "npm:^6.2.1" - "@graphql-codegen/introspection": "npm:5.0.1" - "@graphql-codegen/typescript": "npm:5.0.9" - "@graphql-codegen/typescript-graphql-request": "npm:7.0.0" - "@graphql-codegen/typescript-resolvers": "npm:5.1.7" + "@graphql-codegen/cli": "npm:^7.4.6" + "@graphql-codegen/introspection": "npm:6.1.0" + "@graphql-codegen/typescript": "npm:6.1.2" + "@graphql-codegen/typescript-resolvers": "npm:6.1.1" "@local/advanced-types": "workspace:*" "@local/eslint": "workspace:*" "@local/hash-backend-utils": "workspace:*" @@ -17654,7 +17874,8 @@ __metadata: "@apps/plugin-browser": "workspace:*" "@blockprotocol/graph": "workspace:*" "@blockprotocol/type-system": "workspace:*" - "@graphql-codegen/cli": "npm:^6.2.1" + "@graphql-codegen/add": "npm:7.1.1" + "@graphql-codegen/cli": "npm:^7.4.6" "@local/eslint": "workspace:*" "@local/hash-backend-utils": "workspace:*" "@local/hash-graph-sdk": "workspace:*" @@ -22876,10 +23097,10 @@ __metadata: languageName: node linkType: hard -"auto-bind@npm:~4.0.0": - version: 4.0.0 - resolution: "auto-bind@npm:4.0.0" - checksum: 10c0/12f70745d081ba990dca028ecfa70de25d4baa9a8b74a5bef3ab293da56cba32ff8276c3ff8e5fe6d9f370547bf3fa71486befbfefe272af7e722c21d0c25530 +"auto-bind@npm:^5.0.0": + version: 5.0.1 + resolution: "auto-bind@npm:5.0.1" + checksum: 10c0/a703375350ea7b6e92405d8e6bcc6dbfb84b0d7c7172b33e5788a7593929a18227999ff9aa9c32436741d06d021e6672457b1cec73287efe3fab95cff6627eaf languageName: node linkType: hard @@ -23667,17 +23888,6 @@ __metadata: languageName: node linkType: hard -"capital-case@npm:^1.0.4": - version: 1.0.4 - resolution: "capital-case@npm:1.0.4" - dependencies: - no-case: "npm:^3.0.4" - tslib: "npm:^2.0.3" - upper-case-first: "npm:^2.0.2" - checksum: 10c0/6a034af73401f6e55d91ea35c190bbf8bda21714d4ea8bb8f1799311d123410a80f0875db4e3236dc3f97d74231ff4bf1c8783f2be13d7733c7d990c57387281 - languageName: node - linkType: hard - "case-anything@npm:3.1.0": version: 3.1.0 resolution: "case-anything@npm:3.1.0" @@ -23731,7 +23941,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:5.6.2, chalk@npm:^5.3.0": +"chalk@npm:5.6.2, chalk@npm:^5.3.0, chalk@npm:^5.6.0": version: 5.6.2 resolution: "chalk@npm:5.6.2" checksum: 10c0/99a4b0f0e7991796b1e7e3f52dceb9137cae2a9dfc8fc0784a550dc4c558e15ab32ed70b14b21b52beb2679b4892b41a0aa44249bcb996f01e125d58477c6976 @@ -23749,45 +23959,19 @@ __metadata: languageName: node linkType: hard -"change-case-all@npm:1.0.15": - version: 1.0.15 - resolution: "change-case-all@npm:1.0.15" +"change-case-all@npm:^2.1.0": + version: 2.1.0 + resolution: "change-case-all@npm:2.1.0" dependencies: - change-case: "npm:^4.1.2" - is-lower-case: "npm:^2.0.2" - is-upper-case: "npm:^2.0.2" - lower-case: "npm:^2.0.2" - lower-case-first: "npm:^2.0.2" - sponge-case: "npm:^1.0.1" - swap-case: "npm:^2.0.2" + change-case: "npm:^5.2.0" + sponge-case: "npm:^2.0.2" + swap-case: "npm:^3.0.2" title-case: "npm:^3.0.3" - upper-case: "npm:^2.0.2" - upper-case-first: "npm:^2.0.2" - checksum: 10c0/0de81690de866aa8c477f8b5b08c6f9dbce4a078cffa5f014858f49fda548a9a6524b61f62f2940acce9f1fdcfeef3a7124090684e86e731f55d26c22713e2d7 + checksum: 10c0/67b63d8aa4bc6d45830b3242edb8d230946260264c90f7255894c99fa8be59b1aeb852a2a13a9dde7f3cfbfd149ba8ee0a4dbaf013cd76ed5a644e7f557d6d39 languageName: node linkType: hard -"change-case@npm:^4.1.2": - version: 4.1.2 - resolution: "change-case@npm:4.1.2" - dependencies: - camel-case: "npm:^4.1.2" - capital-case: "npm:^1.0.4" - constant-case: "npm:^3.0.4" - dot-case: "npm:^3.0.4" - header-case: "npm:^2.0.4" - no-case: "npm:^3.0.4" - param-case: "npm:^3.0.4" - pascal-case: "npm:^3.1.2" - path-case: "npm:^3.0.4" - sentence-case: "npm:^3.0.4" - snake-case: "npm:^3.0.4" - tslib: "npm:^2.0.3" - checksum: 10c0/95a6e48563cd393241ce18470c7310a8a050304a64b63addac487560ab039ce42b099673d1d293cc10652324d92060de11b5d918179fe3b5af2ee521fb03ca58 - languageName: node - linkType: hard - -"change-case@npm:^5.4.4": +"change-case@npm:^5.2.0, change-case@npm:^5.4.4": version: 5.4.4 resolution: "change-case@npm:5.4.4" checksum: 10c0/2a9c2b9c9ad6ab2491105aaf506db1a9acaf543a18967798dcce20926c6a173aa63266cb6189f3086e3c14bf7ae1f8ea4f96ecc466fcd582310efa00372f3734 @@ -24006,7 +24190,7 @@ __metadata: languageName: node linkType: hard -"cli-truncate@npm:^5.0.0": +"cli-truncate@npm:^5.2.0": version: 5.2.0 resolution: "cli-truncate@npm:5.2.0" dependencies: @@ -24253,7 +24437,7 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.20": +"colorette@npm:^2.0.10, colorette@npm:^2.0.14": version: 2.0.20 resolution: "colorette@npm:2.0.20" checksum: 10c0/e94116ff33b0ff56f3b83b9ace895e5bf87c2a7a47b3401b8c3f3226e050d5ef76cf4072fb3325f9dc24d1698f9b730baf4e05eeaf861d74a1883073f4c98a40 @@ -24526,17 +24710,6 @@ __metadata: languageName: node linkType: hard -"constant-case@npm:^3.0.4": - version: 3.0.4 - resolution: "constant-case@npm:3.0.4" - dependencies: - no-case: "npm:^3.0.4" - tslib: "npm:^2.0.3" - upper-case: "npm:^2.0.2" - checksum: 10c0/91d54f18341fcc491ae66d1086642b0cc564be3e08984d7b7042f8b0a721c8115922f7f11d6a09f13ed96ff326eabae11f9d1eb0335fa9d8b6e39e4df096010e - languageName: node - linkType: hard - "content-disposition@npm:^1.0.0": version: 1.0.0 resolution: "content-disposition@npm:1.0.0" @@ -25283,10 +25456,10 @@ __metadata: languageName: node linkType: hard -"debounce@npm:^2.0.0": - version: 2.2.0 - resolution: "debounce@npm:2.2.0" - checksum: 10c0/684536fe9a04c9eea46cf02f119f69aa4071813ba25b9b43370e1503ea60b34fd38d694c7145fa2be504f9d40e7e39354cb9ed155c70954a0eefa391aefe271c +"debounce@npm:^3.0.0": + version: 3.0.0 + resolution: "debounce@npm:3.0.0" + checksum: 10c0/bfae14dbdd98c57f2ed6e3f91f8086fe5a64624ddf54d0a55e038069ae47aa90ba305be98c29199b611955bbf9c3309bf07caf7f1ab55fe90928396fb9318c5a languageName: node linkType: hard @@ -25630,10 +25803,10 @@ __metadata: languageName: node linkType: hard -"detect-indent@npm:^6.0.0": - version: 6.1.0 - resolution: "detect-indent@npm:6.1.0" - checksum: 10c0/dd83cdeda9af219cf77f5e9a0dc31d828c045337386cfb55ce04fad94ba872ee7957336834154f7647b89b899c3c7acc977c57a79b7c776b506240993f97acc7 +"detect-indent@npm:^7.0.0": + version: 7.0.2 + resolution: "detect-indent@npm:7.0.2" + checksum: 10c0/adb1334ca3fe516dc6817aff0a777540b88643ab92fe13a72d0f5d12721ca796ffdd0e5fedb7b45e6e82657156c6ad44f5d5758157f0439532ae7d07b595146b languageName: node linkType: hard @@ -29581,16 +29754,16 @@ __metadata: languageName: node linkType: hard -"graphql-config@npm:^5.1.6": - version: 5.1.6 - resolution: "graphql-config@npm:5.1.6" - dependencies: - "@graphql-tools/graphql-file-loader": "npm:^8.0.0" - "@graphql-tools/json-file-loader": "npm:^8.0.0" - "@graphql-tools/load": "npm:^8.1.0" - "@graphql-tools/merge": "npm:^9.0.0" - "@graphql-tools/url-loader": "npm:^9.0.0" - "@graphql-tools/utils": "npm:^11.0.0" +"graphql-config@npm:^5.1.8": + version: 5.1.8 + resolution: "graphql-config@npm:5.1.8" + dependencies: + "@graphql-tools/graphql-file-loader": "npm:^8.1.22" + "@graphql-tools/json-file-loader": "npm:^8.0.36" + "@graphql-tools/load": "npm:^8.1.19" + "@graphql-tools/merge": "npm:^9.2.6" + "@graphql-tools/url-loader": "npm:^9.1.12" + "@graphql-tools/utils": "npm:^12.0.3" cosmiconfig: "npm:^8.1.0" jiti: "npm:^2.0.0" minimatch: "npm:^10.0.0" @@ -29598,11 +29771,11 @@ __metadata: tslib: "npm:^2.4.0" peerDependencies: cosmiconfig-toml-loader: ^1.0.0 - graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 peerDependenciesMeta: cosmiconfig-toml-loader: optional: true - checksum: 10c0/f7cc385754a823c126c8c95ed4c73de3f34d2ca98c8fd2e4dbc55ef3a02a4adec8638eeebc019d80ffc9a21eaf5431455d9138fc159c35b9788d84f2b910d8e5 + checksum: 10c0/b52dedd9dc5779f779b67ee6ae1bdac56788328a5e899116a56daf8ee9f15993fb7863740ebcedb127d6621208815af8e8b89bd834a61025885936b0047bcb4e languageName: node linkType: hard @@ -30140,16 +30313,6 @@ __metadata: languageName: node linkType: hard -"header-case@npm:^2.0.4": - version: 2.0.4 - resolution: "header-case@npm:2.0.4" - dependencies: - capital-case: "npm:^1.0.4" - tslib: "npm:^2.0.3" - checksum: 10c0/c9f295d9d8e38fa50679281fd70d80726962256e888a76c8e72e526453da7a1832dcb427caa716c1ad5d79841d4537301b90156fa30298fefd3d68f4ea2181bb - languageName: node - linkType: hard - "headers-polyfill@npm:^4.0.2": version: 4.0.3 resolution: "headers-polyfill@npm:4.0.3" @@ -30916,7 +31079,7 @@ __metadata: languageName: node linkType: hard -"immutable@npm:^5.0.2, immutable@npm:^5.1.5": +"immutable@npm:^5.0.2, immutable@npm:^5.1.9": version: 5.1.9 resolution: "immutable@npm:5.1.9" checksum: 10c0/ae7032b60b81b682f3e7e4df13e1ec9a401a603eb81b15bb3e37331ed6666e318c71994c6936e1462eb443d32d04769396562a7e2669da22457c8ba279c03ad2 @@ -31532,15 +31695,6 @@ __metadata: languageName: node linkType: hard -"is-lower-case@npm:^2.0.2": - version: 2.0.2 - resolution: "is-lower-case@npm:2.0.2" - dependencies: - tslib: "npm:^2.0.3" - checksum: 10c0/c045e6a52dcc7c3857e2f8c850ded604cdc5269ff94625b03881cefc73bfc02f5099a1bc9bafa67793656711a40d4ab3e26e285a848e728506df20ead0ce8e2f - languageName: node - linkType: hard - "is-map@npm:^2.0.3": version: 2.0.3 resolution: "is-map@npm:2.0.3" @@ -31802,13 +31956,6 @@ __metadata: languageName: node linkType: hard -"is-unicode-supported@npm:^0.1.0": - version: 0.1.0 - resolution: "is-unicode-supported@npm:0.1.0" - checksum: 10c0/00cbe3455c3756be68d2542c416cab888aebd5012781d6819749fefb15162ff23e38501fe681b3d751c73e8ff561ac09a5293eba6f58fdf0178462ce6dcb3453 - languageName: node - linkType: hard - "is-unicode-supported@npm:^2.0.0": version: 2.1.0 resolution: "is-unicode-supported@npm:2.1.0" @@ -31816,15 +31963,6 @@ __metadata: languageName: node linkType: hard -"is-upper-case@npm:^2.0.2": - version: 2.0.2 - resolution: "is-upper-case@npm:2.0.2" - dependencies: - tslib: "npm:^2.0.3" - checksum: 10c0/2236f416484a2643d55a07cc95443cecf96cbc5fb0de7f24c506a8bc5cc4c4de885ab56c5ec946eadd95b3b7960bff7ed51cc88511fa8e8a9d92f2f8969622d9 - languageName: node - linkType: hard - "is-url@npm:^1.2.4": version: 1.2.4 resolution: "is-url@npm:1.2.4" @@ -33312,17 +33450,16 @@ __metadata: languageName: node linkType: hard -"listr2@npm:^9.0.0": - version: 9.0.5 - resolution: "listr2@npm:9.0.5" +"listr2@npm:^10.2.1": + version: 10.2.2 + resolution: "listr2@npm:10.2.2" dependencies: - cli-truncate: "npm:^5.0.0" - colorette: "npm:^2.0.20" - eventemitter3: "npm:^5.0.1" + cli-truncate: "npm:^5.2.0" + eventemitter3: "npm:^5.0.4" log-update: "npm:^6.1.0" rfdc: "npm:^1.4.1" - wrap-ansi: "npm:^9.0.0" - checksum: 10c0/46448d1ba0addc9d71aeafd05bb8e86ded9641ccad930ac302c2bd2ad71580375604743e18586fcb8f11906edf98e8e17fca75ba0759947bf275d381f68e311d + wrap-ansi: "npm:^10.0.0" + checksum: 10c0/537f453fae217b8d33aa6b8edc49fbc981aa0e0d82e4e05d705bead086ff1e81d372435f1f3c473055dbbf91ff04dc044a90f9b60dba6cca4d22671b319f4d6a languageName: node linkType: hard @@ -33568,13 +33705,13 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:^4.0.0": - version: 4.1.0 - resolution: "log-symbols@npm:4.1.0" +"log-symbols@npm:^7.0.0": + version: 7.0.1 + resolution: "log-symbols@npm:7.0.1" dependencies: - chalk: "npm:^4.1.0" - is-unicode-supported: "npm:^0.1.0" - checksum: 10c0/67f445a9ffa76db1989d0fa98586e5bc2fd5247260dafb8ad93d9f0ccd5896d53fb830b0e54dade5ad838b9de2006c826831a3c528913093af20dff8bd24aca6 + is-unicode-supported: "npm:^2.0.0" + yoctocolors: "npm:^2.1.1" + checksum: 10c0/71d30f9a44b8604b14df5e7c9b579d739997253db7385339d493ece41ee2cc74c1f96c5b4c0b2c1e0829b05348d4f287e68faab495b7a094a80f51351c816075 languageName: node linkType: hard @@ -33669,15 +33806,6 @@ __metadata: languageName: node linkType: hard -"lower-case-first@npm:^2.0.2": - version: 2.0.2 - resolution: "lower-case-first@npm:2.0.2" - dependencies: - tslib: "npm:^2.0.3" - checksum: 10c0/22253389fa0693ec1ba09b9394be3a8228304bf21d074703db2eef97c16cda9c66462d88f9b91d4ad0186493d23cad99c63d38ebc13f9a808bc83aad539ff404 - languageName: node - linkType: hard - "lower-case@npm:^2.0.2": version: 2.0.2 resolution: "lower-case@npm:2.0.2" @@ -35415,6 +35543,13 @@ __metadata: languageName: node linkType: hard +"mute-stream@npm:^3.0.0": + version: 3.0.0 + resolution: "mute-stream@npm:3.0.0" + checksum: 10c0/12cdb36a101694c7a6b296632e6d93a30b74401873cf7507c88861441a090c71c77a58f213acadad03bc0c8fa186639dec99d68a14497773a8744320c136e701 + languageName: node + linkType: hard + "mz@npm:^2.7.0": version: 2.7.0 resolution: "mz@npm:2.7.0" @@ -37287,16 +37422,6 @@ __metadata: languageName: node linkType: hard -"path-case@npm:^3.0.4": - version: 3.0.4 - resolution: "path-case@npm:3.0.4" - dependencies: - dot-case: "npm:^3.0.4" - tslib: "npm:^2.0.3" - checksum: 10c0/b6b14637228a558793f603aaeb2fcd981e738b8b9319421b713532fba96d75aa94024b9f6b9ae5aa33d86755144a5b36697d28db62ae45527dbd672fcc2cf0b7 - languageName: node - linkType: hard - "path-exists@npm:^4.0.0": version: 4.0.0 resolution: "path-exists@npm:4.0.0" @@ -41069,17 +41194,6 @@ __metadata: languageName: node linkType: hard -"sentence-case@npm:^3.0.4": - version: 3.0.4 - resolution: "sentence-case@npm:3.0.4" - dependencies: - no-case: "npm:^3.0.4" - tslib: "npm:^2.0.3" - upper-case-first: "npm:^2.0.2" - checksum: 10c0/9a90527a51300cf5faea7fae0c037728f9ddcff23ac083883774c74d180c0a03c31aab43d5c3347512e8c1b31a0d4712512ec82beb71aa79b85149f9abeb5467 - languageName: node - linkType: hard - "serialize-error@npm:12.0.0": version: 12.0.0 resolution: "serialize-error@npm:12.0.0" @@ -41834,12 +41948,10 @@ __metadata: languageName: node linkType: hard -"sponge-case@npm:^1.0.1": - version: 1.0.1 - resolution: "sponge-case@npm:1.0.1" - dependencies: - tslib: "npm:^2.0.3" - checksum: 10c0/dbe42f300ae9f7fbd83c40f71c2a61ecf9c86b927b5668bae067d1e516e314671cc85166f87017e51b56938409b1fc042719eb46a6d5bb30cc1cf23252a82761 +"sponge-case@npm:^2.0.2": + version: 2.0.3 + resolution: "sponge-case@npm:2.0.3" + checksum: 10c0/8fb0914cbe2b3f0530a62ba9d03e1e473ba16ba1c7391ff040a948e6c6a620945e6c71fa696050b079ec23366935808bd55d9d004721d76cc7bb0afc81f83616 languageName: node linkType: hard @@ -42479,12 +42591,10 @@ __metadata: languageName: node linkType: hard -"swap-case@npm:^2.0.2": - version: 2.0.2 - resolution: "swap-case@npm:2.0.2" - dependencies: - tslib: "npm:^2.0.3" - checksum: 10c0/6a47c1926e06395ead750905e103be388aeec8c9697f20b14bc3e1e86fcb4fc78e5033197afe6cc8bbed80f0a4ee1f184b0fa22eec7f4a767bdfd278683d52eb +"swap-case@npm:^3.0.2": + version: 3.0.3 + resolution: "swap-case@npm:3.0.3" + checksum: 10c0/8f2d59b6222e0f177c7176e21c51eb5678d63d5635f096019f22a312a7f5c11fc16d475826a1b1fd6b55243183e192c6f497c7090f3b587e16addba794b68ffb languageName: node linkType: hard @@ -42526,17 +42636,6 @@ __metadata: languageName: node linkType: hard -"sync-fetch@npm:0.6.0": - version: 0.6.0 - resolution: "sync-fetch@npm:0.6.0" - dependencies: - node-fetch: "npm:^3.3.2" - timeout-signal: "npm:^2.0.0" - whatwg-mimetype: "npm:^4.0.0" - checksum: 10c0/d59941c40bb97131ddd1c7c836a45f415aba7b063b12ebf0a5822aa940af75ad9eb2a49ee0d2d9f2091421f43347dcf8af8ef5ed79ede836f22f03d42817816d - languageName: node - linkType: hard - "sync-fetch@npm:0.7.1": version: 0.7.1 resolution: "sync-fetch@npm:0.7.1" @@ -43238,10 +43337,10 @@ __metadata: languageName: node linkType: hard -"ts-log@npm:^2.2.3": - version: 2.2.7 - resolution: "ts-log@npm:2.2.7" - checksum: 10c0/2c63a7ccdea6dad774f51ba031d9b8d7242833733a1122e20be7e2817556f8e5691bd589860940068073c3859f8cdd8b99e2f65934b95a3552e97a60066ea7f3 +"ts-log@npm:^3.0.0": + version: 3.0.3 + resolution: "ts-log@npm:3.0.3" + checksum: 10c0/0a4af656a106e30323847b47dbf963b71192c1ed188088fcd1451b509e1e87817a3d6c39ff9d35e8a95af3ea5ca462f7e594f689b5adc852b539f03d64448470 languageName: node linkType: hard @@ -43318,7 +43417,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.7.0, tslib@npm:^2.8.0, tslib@npm:^2.8.1": +"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.7.0, tslib@npm:^2.8.0, tslib@npm:^2.8.1, tslib@npm:~2.8.0": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 @@ -43332,13 +43431,6 @@ __metadata: languageName: node linkType: hard -"tslib@npm:~2.6.0": - version: 2.6.3 - resolution: "tslib@npm:2.6.3" - checksum: 10c0/2598aef53d9dbe711af75522464b2104724d6467b26a60f2bdac8297d2b5f1f6b86a71f61717384aa8fd897240467aaa7bcc36a0700a0faf751293d1331db39a - languageName: node - linkType: hard - "tsscmp@npm:1.0.6": version: 1.0.6 resolution: "tsscmp@npm:1.0.6" @@ -44381,24 +44473,6 @@ __metadata: languageName: node linkType: hard -"upper-case-first@npm:^2.0.2": - version: 2.0.2 - resolution: "upper-case-first@npm:2.0.2" - dependencies: - tslib: "npm:^2.0.3" - checksum: 10c0/ccad6a0b143310ebfba2b5841f30bef71246297385f1329c022c902b2b5fc5aee009faf1ac9da5ab3ba7f615b88f5dc1cd80461b18a8f38cb1d4c3eb92538ea9 - languageName: node - linkType: hard - -"upper-case@npm:^2.0.2": - version: 2.0.2 - resolution: "upper-case@npm:2.0.2" - dependencies: - tslib: "npm:^2.0.3" - checksum: 10c0/5ac176c9d3757abb71400df167f9abb46d63152d5797c630d1a9f083fbabd89711fb4b3dc6de06ff0138fe8946fa5b8518b4fcdae9ca8a3e341417075beae069 - languageName: node - linkType: hard - "uqr@npm:0.1.3": version: 0.1.3 resolution: "uqr@npm:0.1.3" @@ -45862,6 +45936,16 @@ __metadata: languageName: node linkType: hard +"wrap-ansi@npm:^10.0.0": + version: 10.0.2 + resolution: "wrap-ansi@npm:10.0.2" + dependencies: + ansi-styles: "npm:^6.2.3" + string-width: "npm:^8.2.0" + checksum: 10c0/b9f7be64b91cf4b4e5bc74df6e280cb4e1fed438ce38ac8cc433705cf3371fe9cdcd2e4bb7f508d73f1f4cf302dbc6c7b5e8bed5ce47cb82d22bef256a79fc0b + languageName: node + linkType: hard + "wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" @@ -46152,7 +46236,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.0.0, yargs@npm:^17.0.1, yargs@npm:^17.7.2": +"yargs@npm:^17.0.1, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: From 381648e610e201a441f7efda4f6d89263ead8cae Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 11:18:51 +0000 Subject: [PATCH 2/4] Generate `__typename` on result types that Apollo Client adds at runtime Apollo Client's `InMemoryCache` adds `__typename` to every selection set except the root operation type, so the frontend and hash-isomorphic-utils operation types set `nonOptionalTypename` and `skipTypeNameForRoot` to match. hash-isomorphic-utils also stops passing `skipTypename` to the `typescript` plugin, so its schema types carry an optional `__typename` like the other workspaces'. `useHashInstance` goes back to destructuring `__typename` away, and the flow run table reads `flowScheduleId` from the query result without casting it to the schema `FlowRun` type. --- apps/hash-frontend/codegen.config.ts | 5 +++++ .../src/components/hooks/use-hash-instance.ts | 4 ++-- .../src/pages/workers.page/flow-run-table.tsx | 3 +-- libs/@local/hash-isomorphic-utils/codegen.config.ts | 8 +++++++- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/apps/hash-frontend/codegen.config.ts b/apps/hash-frontend/codegen.config.ts index 01ffc4f5f0c..9fe5a1f76b6 100644 --- a/apps/hash-frontend/codegen.config.ts +++ b/apps/hash-frontend/codegen.config.ts @@ -26,6 +26,11 @@ const config: CodegenConfig = { config: { ...baseGraphQlCodegenConfig, importSchemaTypesFrom: "./src/graphql/schema-types.gen.ts", + // Apollo Client adds `__typename` to every selection set except the + // root operation type. + // TODO: remove both options if Apollo Client stops adding `__typename`. + nonOptionalTypename: true, + skipTypeNameForRoot: true, }, }, }, diff --git a/apps/hash-frontend/src/components/hooks/use-hash-instance.ts b/apps/hash-frontend/src/components/hooks/use-hash-instance.ts index 684c9c2591d..fb1178d3aec 100644 --- a/apps/hash-frontend/src/components/hooks/use-hash-instance.ts +++ b/apps/hash-frontend/src/components/hooks/use-hash-instance.ts @@ -47,13 +47,13 @@ export const useHashInstance = (): { }, [hashInstanceSettings]); const enabledIntegrations: EnabledIntegrations = useMemo(() => { - const { googleSheets, linear } = + const { __typename, ...rest } = hashInstanceSettings?.enabledIntegrations ?? { googleSheets: false, linear: false, }; - return { googleSheets, linear }; + return rest; }, [hashInstanceSettings?.enabledIntegrations]); return { diff --git a/apps/hash-frontend/src/pages/workers.page/flow-run-table.tsx b/apps/hash-frontend/src/pages/workers.page/flow-run-table.tsx index fa3b7092ee6..e68084ae2a6 100644 --- a/apps/hash-frontend/src/pages/workers.page/flow-run-table.tsx +++ b/apps/hash-frontend/src/pages/workers.page/flow-run-table.tsx @@ -45,7 +45,6 @@ import type { import type { VirtualizedTableSort } from "../shared/virtualized-table/header/sort"; import type { EntityId, EntityUuid } from "@blockprotocol/type-system"; import type { Subtype } from "@local/advanced-types/subtype"; -import type { FlowRun } from "@local/hash-isomorphic-utils/graphql/api-types.gen"; type FieldId = | "web" @@ -360,7 +359,7 @@ export const FlowRunTable = ({ const cost = usageByFlowRun[flowRunEntityId]?.total ?? null; // Extract flowScheduleId if present (for scheduled runs) - const flowScheduleId = (flowRun as FlowRun).flowScheduleId ?? null; + const flowScheduleId = flowRun.flowScheduleId ?? null; return { id: flowRunEntityId, diff --git a/libs/@local/hash-isomorphic-utils/codegen.config.ts b/libs/@local/hash-isomorphic-utils/codegen.config.ts index a6da4acc7a7..bd30d88dde7 100644 --- a/libs/@local/hash-isomorphic-utils/codegen.config.ts +++ b/libs/@local/hash-isomorphic-utils/codegen.config.ts @@ -12,7 +12,8 @@ const config: CodegenConfig = { "./src/graphql/schema-types.gen.ts": { plugins: ["typescript"], config: { - skipTypename: true, + // TODO: set `skipTypename: true` if Apollo Client stops adding + // `__typename` at runtime. // Use shared scalars scalars: _localRelativeScalars, }, @@ -28,6 +29,11 @@ const config: CodegenConfig = { scalars: _localRelativeScalars, importSchemaTypesFrom: "./src/graphql/schema-types.gen.ts", importExtension: ".js", + // Apollo Client adds `__typename` to every selection set except the + // root operation type. + // TODO: remove both options if Apollo Client stops adding `__typename`. + nonOptionalTypename: true, + skipTypeNameForRoot: true, }, }, }, From c9ec24496346e6e7f98eca505ee34caa28de2cfc Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 11:20:48 +0000 Subject: [PATCH 3/4] Set `skipTypename: false` explicitly in hash-isomorphic-utils codegen The schema types plugin now says outright that it generates `__typename`, with a comment on why: Apollo Client adds it to every object in a response except the root operation type. This drops the TODO comments about reverting the `__typename` options, since the runtime behaviour is not expected to change. --- apps/hash-frontend/codegen.config.ts | 1 - libs/@local/hash-isomorphic-utils/codegen.config.ts | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/hash-frontend/codegen.config.ts b/apps/hash-frontend/codegen.config.ts index 9fe5a1f76b6..52ee61437e9 100644 --- a/apps/hash-frontend/codegen.config.ts +++ b/apps/hash-frontend/codegen.config.ts @@ -28,7 +28,6 @@ const config: CodegenConfig = { importSchemaTypesFrom: "./src/graphql/schema-types.gen.ts", // Apollo Client adds `__typename` to every selection set except the // root operation type. - // TODO: remove both options if Apollo Client stops adding `__typename`. nonOptionalTypename: true, skipTypeNameForRoot: true, }, diff --git a/libs/@local/hash-isomorphic-utils/codegen.config.ts b/libs/@local/hash-isomorphic-utils/codegen.config.ts index bd30d88dde7..f8e80e5fec5 100644 --- a/libs/@local/hash-isomorphic-utils/codegen.config.ts +++ b/libs/@local/hash-isomorphic-utils/codegen.config.ts @@ -12,8 +12,9 @@ const config: CodegenConfig = { "./src/graphql/schema-types.gen.ts": { plugins: ["typescript"], config: { - // TODO: set `skipTypename: true` if Apollo Client stops adding - // `__typename` at runtime. + // Apollo Client adds `__typename` to every object in a response except + // the root operation type, so the generated types include it. + skipTypename: false, // Use shared scalars scalars: _localRelativeScalars, }, @@ -29,9 +30,7 @@ const config: CodegenConfig = { scalars: _localRelativeScalars, importSchemaTypesFrom: "./src/graphql/schema-types.gen.ts", importExtension: ".js", - // Apollo Client adds `__typename` to every selection set except the - // root operation type. - // TODO: remove both options if Apollo Client stops adding `__typename`. + // Match the `__typename` Apollo Client adds; see `skipTypename` above. nonOptionalTypename: true, skipTypeNameForRoot: true, }, From ed1088bb1adb48a1c437cf5881525bae4a21e1e0 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 11:43:34 +0000 Subject: [PATCH 4/4] Accept subgraph fragments without `__typename` in `mapGqlSubgraphFieldsFragmentToSubgraph` --- libs/@local/hash-isomorphic-utils/src/graph-queries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/@local/hash-isomorphic-utils/src/graph-queries.ts b/libs/@local/hash-isomorphic-utils/src/graph-queries.ts index f1e8c872103..d9d236312c0 100644 --- a/libs/@local/hash-isomorphic-utils/src/graph-queries.ts +++ b/libs/@local/hash-isomorphic-utils/src/graph-queries.ts @@ -227,7 +227,7 @@ export const mapGqlSubgraphFieldsFragmentToSubgraph = < | Exclude | EntityRootType, >( - subgraph: SubgraphFieldsFragment, + subgraph: Omit, ) => deserializeSubgraph(subgraph); export const notificationTypesToIgnore = [