chore(deps): update graphqlcodegenerator monorepo (major) (#3144)
dancefinder-app / build (push) Successful in 55s
dancefinder-app / deploy-prod-frostmoln (push) Successful in 1m14s

This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli)) | [`7.4.6` → `8.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2fcli/7.4.6/8.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2fcli/8.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2fcli/7.4.6/8.0.0?slim=true) |
| [@graphql-codegen/fragment-matcher](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/other/fragment-matcher)) | [`7.1.1` → `8.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ffragment-matcher/7.1.1/8.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2ffragment-matcher/8.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2ffragment-matcher/7.1.1/8.0.0?slim=true) |
| [@graphql-codegen/typescript](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typescript)) | [`6.1.2` → `7.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftypescript/6.1.2/7.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2ftypescript/7.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2ftypescript/6.1.2/7.0.0?slim=true) |
| [@graphql-codegen/typescript-operations](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/operations)) | [`6.2.0` → `7.0.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftypescript-operations/6.2.0/7.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2ftypescript-operations/7.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2ftypescript-operations/6.2.0/7.0.0?slim=true) |

---

### Release Notes

<details>
<summary>dotansimha/graphql-code-generator (@&#8203;graphql-codegen/cli)</summary>

### [`v8.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/graphql-codegen-cli/CHANGELOG.md#800)

[Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/cli@7.4.6...@graphql-codegen/cli@8.0.0)

##### Major Changes

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no
  longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql`
  to version 16 or 17 before updating to this version.

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below
  22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this
  version.

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - `generate()` now returns
  `Promise<FileOutput[] | void>` instead of `Promise<FileOutput[] | any>`. The result is no longer
  `any`, so consumers using the result as an array must narrow it first.

  Refs [#&#8203;11071](https://github.com/dotansimha/graphql-code-generator/issues/11071)

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Remove the deprecated
  `emitLegacyCommonJSImports` config option and the `--emit-legacy-common-js-imports` CLI flag

  Use `importExtension` (or `--import-extension`) to set the extension appended to relative imports.
  When `importExtension` is not set, no extension is appended.

  `@graphql-codegen/plugin-helpers` no longer exports `normalizeImportExtension`. Use
  `importExtension ?? ''` instead.

  Migration:

  ```diff
   const config: CodegenConfig = {
  -  emitLegacyCommonJSImports: false,
  +  importExtension: '.js',
   };
  ```

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: `@graphql-tools/*`
  dependencies are updated to their latest majors, which require Node.js 22.18.0 or later and
  GraphQL 16 or 17. If you import `@graphql-tools/*` packages in your own code, update them to the
  same majors to avoid duplicate installs. `@graphql-tools/code-file-loader@9` now extracts
  `#graphql`-marked template literals by default, so code files that contain such templates can
  produce newly found documents; check your generated output after upgrading. To keep the previous
  behavior, set `pluckConfig: { gqlHashComment: '' }`.

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE - `config.generates` no
  longer takes `ConfiguredPlugin[]`, takes `ConfiguredOutput[]` instead

  `config.generates`'s previous typing allowed a value to be an array e.g.

  ```
  generates: {
    "src/gql/generated.ts": [{ typescript: {} }]
  }
  ```

  However, this never worked because this config is eventually passed into `normalizeOutputParam`
  which previously had this bug in the implementation:

  ```ts
  export function normalizeOutputParam(config) {
    // 0. When config is an array...
    if (isOutputConfigArray(config)) {
      // 1. `isOutputConfigArray(config)` was `Array.isArray(config)` -> returns true
      return {
        documents: [],
        schema: [],
        plugins: isConfiguredOutput(config) ? config.plugins : config // 2. ‼️ `isConfiguredOutput(config)` was `typeof config === 'object'` -> returns true. This is a bug because we are accessing `plugins` property of an array, which will ALWAYS be `undefined` -> the output is always rejected as "Invalid Codegen Configuration"
      }
    }
    if (isConfiguredOutput(config)) {
      return config
    }
    throw new Error(`Invalid "generates" config!`)
  }
  ```

  Now, an array is still accepted, but as `ConfiguredOutput[]` instead. For this major version
  release, only the first array element is used, and `@graphql-codegen/cli` logs a warning when
  there is more than one element.

  `normalizeOutputParam` now returns `ConfiguredOutput[]` instead of a single `ConfiguredOutput`.

  `@graphql-codegen/cli` also throws its "Invalid Codegen Configuration" error when a `generates`
  array is empty or its first element is not a config object. This error is now a single generic
  message, no longer naming the output file, and it shows a TypeScript `CodegenConfig` example with
  the `ConfiguredOutput` shape instead of the old YAML plugin-list example.

##### Patch Changes

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`@graphql-tools/apollo-engine-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/9.0.2)
    (from `^8.0.38`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/code-file-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/9.0.3)
    (from `^8.1.41`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/git-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/9.0.3)
    (from `^8.0.44`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/github-loader@^10.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/10.0.3)
    (from `^9.1.11`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/graphql-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/9.0.2)
    (from `^8.1.22`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/json-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/9.0.2)
    (from `^8.0.36`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/load@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/9.0.2)
    (from `^8.1.19`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/merge@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/merge/v/10.0.2)
    (from `^9.2.6`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/url-loader@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/10.0.2)
    (from `^9.1.12`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/utils@^13.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/13.0.2)
    (from `^12.0.3`, in `dependencies`)
  - Updated dependency
    [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from
    `^5.1.8`, in `dependencies`)
  - Updated dependency
    [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from
    `^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`,
    in `peerDependencies`)

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`@graphql-tools/apollo-engine-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/9.0.2)
    (from `^8.0.38`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/code-file-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/9.0.3)
    (from `^8.1.41`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/git-loader@^9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/9.0.3)
    (from `^8.0.44`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/github-loader@^10.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/10.0.3)
    (from `^9.1.11`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/graphql-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/9.0.2)
    (from `^8.1.22`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/json-file-loader@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/9.0.2)
    (from `^8.0.36`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/load@^9.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/9.0.2)
    (from `^8.1.19`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/merge@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/merge/v/10.0.2)
    (from `^9.2.6`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/url-loader@^10.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/10.0.2)
    (from `^9.1.12`, in `dependencies`)
  - Updated dependency
    [`@graphql-tools/utils@^13.0.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/13.0.2)
    (from `^12.0.3`, in `dependencies`)
  - Updated dependency
    [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from
    `^5.1.8`, in `dependencies`)
  - Updated dependency
    [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from
    `^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`,
    in `peerDependencies`)

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`graphql-config@^6.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/6.0.0) (from
    `^5.1.8`, in `dependencies`)

- Updated dependencies
  \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`7366c63`](https://github.com/dotansimha/graphql-code-generator/commit/7366c63b4fca59951f15d017bb939c5460ba2451),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]:
  - [@&#8203;graphql-codegen/client-preset](https://github.com/graphql-codegen/client-preset)@7.0.0
  - [@&#8203;graphql-codegen/core](https://github.com/graphql-codegen/core)@7.0.0
  - [@&#8203;graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0

</details>

<details>
<summary>dotansimha/graphql-code-generator (@&#8203;graphql-codegen/fragment-matcher)</summary>

### [`v8.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/other/fragment-matcher/CHANGELOG.md#800)

##### Major Changes

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no
  longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql`
  to version 16 or 17 before updating to this version.

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below
  22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this
  version.

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: A plugin's `validate`
  function now receives an info object as its fourth argument, matching the `plugin` function:
  `validate(schema, documents, config, { outputFile, allPlugins, pluginContext })`. Custom plugins
  that export `validate` and read `outputFile`, `allPlugins` or `pluginContext` as positional
  arguments must destructure them from the fourth argument instead.

  Refs [#&#8203;11071](https://github.com/dotansimha/graphql-code-generator/issues/11071)

##### Patch Changes

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from
    `^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`,
    in `peerDependencies`)

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from
    `^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`,
    in `peerDependencies`)

- Updated dependencies
  \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]:
  - [@&#8203;graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0

</details>

<details>
<summary>dotansimha/graphql-code-generator (@&#8203;graphql-codegen/typescript)</summary>

### [`v7.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/typescript/CHANGELOG.md#700)

[Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typescript@6.1.2...@graphql-codegen/typescript@7.0.0)

##### Major Changes

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no
  longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql`
  to version 16 or 17 before updating to this version.

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below
  22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this
  version.

##### Patch Changes

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from
    `^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`)

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from
    `^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0`, in `peerDependencies`)

- Updated dependencies
  \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]:
  - [@&#8203;graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0
  - [@&#8203;graphql-codegen/schema-ast](https://github.com/graphql-codegen/schema-ast)@7.0.0
  - [@&#8203;graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@8.0.0

</details>

<details>
<summary>dotansimha/graphql-code-generator (@&#8203;graphql-codegen/typescript-operations)</summary>

### [`v7.0.0`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/operations/CHANGELOG.md#700)

[Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typescript-operations@6.2.0...@graphql-codegen/typescript-operations@7.0.0)

##### Major Changes

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: GraphQL 14 and 15 are no
  longer supported. The `graphql` peer dependency is now `^16.0.0 || ^17.0.0`, so upgrade `graphql`
  to version 16 or 17 before updating to this version.

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Node.js versions below
  22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this
  version.

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - BREAKING CHANGE: Remove the deprecated
  `emitLegacyCommonJSImports` config option and the `--emit-legacy-common-js-imports` CLI flag

  Use `importExtension` (or `--import-extension`) to set the extension appended to relative imports.
  When `importExtension` is not set, no extension is appended.

  `@graphql-codegen/plugin-helpers` no longer exports `normalizeImportExtension`. Use
  `importExtension ?? ''` instead.

  Migration:

  ```diff
   const config: CodegenConfig = {
  -  emitLegacyCommonJSImports: false,
  +  importExtension: '.js',
   };
  ```

##### Minor Changes

- [#&#8203;11103](https://github.com/dotansimha/graphql-code-generator/pull/11103)
  [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264)
  Thanks [@&#8203;jerelmiller](https://github.com/jerelmiller)! - Add support for graphql v17 fragment
  arguments (`experimentalFragmentArguments`).

  To use fragment arguments, set the parser option in the root `config`:

  ```ts
  const config: CodegenConfig = {
    config: { experimentalFragmentArguments: true }
    // ...
  }
  ```

##### Patch Changes

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from
    `^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`,
    in `peerDependencies`)

- [#&#8203;11075](https://github.com/dotansimha/graphql-code-generator/pull/11075)
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)
  Thanks [@&#8203;eddeee888](https://github.com/eddeee888)! - dependencies updates:
  - Updated dependency
    [`graphql@^16.0.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.0.0) (from
    `^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`,
    in `peerDependencies`)

- Updated dependencies
  \[[`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`409ffbf`](https://github.com/dotansimha/graphql-code-generator/commit/409ffbfda5c56d6f46f0e0a4045c547714df2264),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d),
  [`fa49a37`](https://github.com/dotansimha/graphql-code-generator/commit/fa49a3725bf269abf07616b5df1336cf86a4838d)]:
  - [@&#8203;graphql-codegen/plugin-helpers](https://github.com/graphql-codegen/plugin-helpers)@8.0.0
  - [@&#8203;graphql-codegen/schema-ast](https://github.com/graphql-codegen/schema-ast)@7.0.0
  - [@&#8203;graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@8.0.0

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjEuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: Joakim Olsson <joakim@unbound.se>
Reviewed-on: https://gitea.unbound.se/dancefinder/dancefinder-app/pulls/3144
Co-authored-by: Renovate Bot <renovate@unbound.se>
This commit was merged in pull request #3144.
This commit is contained in:
renovateandargoyle authored and Joakim Olsson committed 2026-11-12 09:52:30 +00:00
1 parent 6be732ea53
commit 533558a063
9 files changed
+1061 -867

No files matched your search

+29 -189
View File
@@ -1,248 +1,90 @@
/** Internal type. DO NOT USE DIRECTLY. */
import * as VueApolloComposable from '@vue/apollo-composable'
import type * as VueCompositionApi from 'vue'
import { gql } from '@/utils/gql'
export type Maybe<T> = T | null | undefined
export type InputMaybe<T> = T | null | undefined
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never }
import type * as Types from './schema'
type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
/** Internal type. DO NOT USE DIRECTLY. */
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
export type ReactiveFunction<TParam> = () => TParam
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string }
String: { input: string; output: string }
Boolean: { input: boolean; output: boolean }
Int: { input: number; output: number }
Float: { input: number; output: number }
LocalDate: { input: string; output: string }
LocalDateTime: { input: string; output: string }
}
/** Band */
export type Band = {
__typename?: 'Band'
created: Scalars['LocalDateTime']['output']
id: Maybe<Scalars['String']['output']>
name: Scalars['String']['output']
}
/** DanceHall */
export type DanceHall = {
__typename?: 'DanceHall'
city: Maybe<Scalars['String']['output']>
created: Scalars['LocalDateTime']['output']
id: Maybe<Scalars['String']['output']>
latitude: Maybe<Scalars['Float']['output']>
longitude: Maybe<Scalars['Float']['output']>
municipality: Maybe<Scalars['String']['output']>
name: Maybe<Scalars['String']['output']>
state: Maybe<Scalars['String']['output']>
}
/** DanceHallDistance */
export type DanceHallDistance = {
__typename?: 'DanceHallDistance'
distance: Scalars['Int']['output']
duration: Scalars['String']['output']
origin: Scalars['String']['output']
}
/** Event */
export type Event = {
__typename?: 'Event'
/** The band of the event */
band: Maybe<Band>
created: Scalars['LocalDateTime']['output']
/** The place of the event */
danceHall: Maybe<DanceHall>
/** The date of the event */
date: Scalars['LocalDate']['output']
/** The driving distances and driving durations to the event from the provided origins */
distances: Array<DanceHallDistance>
/** Additional information regarding the event */
extraInfo: Maybe<Scalars['String']['output']>
id: Maybe<Scalars['String']['output']>
/** The time of the event */
time: Maybe<Scalars['String']['output']>
}
export type Mutation = {
__typename?: 'Mutation'
/** Remove provided origin from authenticated user */
RemoveOrigin: Scalars['Boolean']['output']
/** Save provided origin for authenticated user */
SaveOrigin: Scalars['Boolean']['output']
/** Toggle band in ignore list */
ToggleIgnoreBand: Scalars['Boolean']['output']
/** Toggle city in ignore list */
ToggleIgnoreCity: Scalars['Boolean']['output']
/** Toggle dance hall in ignore list */
ToggleIgnoreDanceHall: Scalars['Boolean']['output']
/** Toggle municipality in ignore list */
ToggleIgnoreMunicipality: Scalars['Boolean']['output']
/** Toggle state in ignore list */
ToggleIgnoreState: Scalars['Boolean']['output']
}
export type MutationRemoveOriginArgs = {
origin: Scalars['String']['input']
}
export type MutationSaveOriginArgs = {
origin: Scalars['String']['input']
}
export type MutationToggleIgnoreBandArgs = {
name: Scalars['String']['input']
}
export type MutationToggleIgnoreCityArgs = {
name: Scalars['String']['input']
}
export type MutationToggleIgnoreDanceHallArgs = {
name: Scalars['String']['input']
}
export type MutationToggleIgnoreMunicipalityArgs = {
name: Scalars['String']['input']
}
export type MutationToggleIgnoreStateArgs = {
name: Scalars['String']['input']
}
export type Query = {
__typename?: 'Query'
/** Fetch address for provided lat/long */
AddressFromLatLng: Scalars['String']['output']
/** Find bands given provided criteria */
Bands: Array<Band>
/** Find dance halls given provided criteria */
DanceHalls: Array<DanceHall>
/** Find events given provided criteria */
Events: Array<Event>
/** Fetch ignored bands for authenticated user */
IgnoredBands: Array<Scalars['String']['output']>
/** Fetch ignored cities for authenticated user */
IgnoredCities: Array<Scalars['String']['output']>
/** Fetch ignored dance halls for authenticated user */
IgnoredDanceHalls: Array<Scalars['String']['output']>
/** Fetch ignored municipalities for authenticated user */
IgnoredMunicipalities: Array<Scalars['String']['output']>
/** Fetch ignored states for authenticated user */
IgnoredStates: Array<Scalars['String']['output']>
/** Fetch origins for authenticated user */
Origins: Array<Scalars['String']['output']>
}
export type QueryAddressFromLatLngArgs = {
latlng: Scalars['String']['input']
}
export type QueryEventsArgs = {
includeHidden?: InputMaybe<Scalars['Boolean']['input']>
origins?: InputMaybe<Array<Scalars['String']['input']>>
range?: InputMaybe<Range>
search?: InputMaybe<Scalars['String']['input']>
}
export enum Range {
OneMonth = 'ONE_MONTH',
OneQuarter = 'ONE_QUARTER',
OneWeek = 'ONE_WEEK',
OneYear = 'ONE_YEAR',
TwoWeeks = 'TWO_WEEKS'
}
export type RemoveOriginMutationVariables = Exact<{
origin: Scalars['String']['input']
origin: string
}>
export type RemoveOriginMutation = { __typename?: 'Mutation'; removed: boolean }
export type RemoveOriginMutation = { removed: boolean }
export type SaveOriginMutationVariables = Exact<{
origin: Scalars['String']['input']
origin: string
}>
export type SaveOriginMutation = { __typename?: 'Mutation'; saved: boolean }
export type SaveOriginMutation = { saved: boolean }
export type ToggleIgnoreBandMutationVariables = Exact<{
name: Scalars['String']['input']
name: string
}>
export type ToggleIgnoreBandMutation = { __typename?: 'Mutation'; ignore: boolean }
export type ToggleIgnoreBandMutation = { ignore: boolean }
export type ToggleIgnoreCityMutationVariables = Exact<{
name: Scalars['String']['input']
name: string
}>
export type ToggleIgnoreCityMutation = { __typename?: 'Mutation'; ignore: boolean }
export type ToggleIgnoreCityMutation = { ignore: boolean }
export type ToggleIgnoreDanceHallMutationVariables = Exact<{
name: Scalars['String']['input']
name: string
}>
export type ToggleIgnoreDanceHallMutation = { __typename?: 'Mutation'; ignore: boolean }
export type ToggleIgnoreDanceHallMutation = { ignore: boolean }
export type ToggleIgnoreMunicipalityMutationVariables = Exact<{
name: Scalars['String']['input']
name: string
}>
export type ToggleIgnoreMunicipalityMutation = { __typename?: 'Mutation'; ignore: boolean }
export type ToggleIgnoreMunicipalityMutation = { ignore: boolean }
export type ToggleIgnoreStateMutationVariables = Exact<{
name: Scalars['String']['input']
name: string
}>
export type ToggleIgnoreStateMutation = { __typename?: 'Mutation'; ignore: boolean }
export type ToggleIgnoreStateMutation = { ignore: boolean }
export type FetchAddressQueryVariables = Exact<{
latlng: Scalars['String']['input']
latlng: string
}>
export type FetchAddressQuery = { __typename?: 'Query'; address: string }
export type FetchAddressQuery = { address: string }
export type FetchFiltersQueryVariables = Exact<{ [key: string]: never }>
export type FetchFiltersQuery = { __typename?: 'Query'; bands: Array<string>; cities: Array<string>; states: Array<string>; danceHalls: Array<string>; municipalities: Array<string> }
export type FetchFiltersQuery = { bands: Array<string>; cities: Array<string>; states: Array<string>; danceHalls: Array<string>; municipalities: Array<string> }
export type FindEventsQueryVariables = Exact<{
range?: InputMaybe<Range>
origins?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>
includeOrigins: Scalars['Boolean']['input']
search?: InputMaybe<Scalars['String']['input']>
includeHidden?: InputMaybe<Scalars['Boolean']['input']>
range?: Types.Range | null | undefined
origins?: Array<string> | string | null | undefined
includeOrigins: boolean
search?: string | null | undefined
includeHidden?: boolean | null | undefined
}>
export type FindEventsQuery = { __typename?: 'Query'; origins?: Array<string>; events: Array<{ __typename?: 'Event'; date: string; time: string | null | undefined; extraInfo: string | null | undefined; band: { __typename?: 'Band'; name: string } | null | undefined; danceHall: { __typename?: 'DanceHall'; name: string | null | undefined; city: string | null | undefined; municipality: string | null | undefined; state: string | null | undefined } | null | undefined; distances: Array<{ __typename?: 'DanceHallDistance'; origin: string; distance: number; duration: string }> }> }
export type FindEventsQuery = { origins?: Array<string>; events: Array<{ date: string; time: string | null | undefined; extraInfo: string | null | undefined; band: { name: string } | null | undefined; danceHall: { name: string | null | undefined; city: string | null | undefined; municipality: string | null | undefined; state: string | null | undefined } | null | undefined; distances: Array<{ origin: string; distance: number; duration: string }> }> }
export type FindOriginsQueryVariables = Exact<{ [key: string]: never }>
export type FindOriginsQuery = { __typename?: 'Query'; origins: Array<string> }
export type FindOriginsQuery = { origins: Array<string> }
export const RemoveOriginDocument = gql`
@@ -572,7 +414,6 @@ export function useFindOriginsLazyQuery(options: VueApolloComposable.UseQueryOpt
return VueApolloComposable.useLazyQuery<FindOriginsQuery, FindOriginsQueryVariables>(FindOriginsDocument, {}, options)
}
export type FindOriginsQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<FindOriginsQuery, FindOriginsQueryVariables>
export interface PossibleTypesResultData {
possibleTypes: {
[key: string]: string[]
@@ -582,4 +423,3 @@ const result: PossibleTypesResultData = {
'possibleTypes': {},
}
export default result
+158
View File
@@ -0,0 +1,158 @@
export type Maybe<T> = T | null | undefined
export type InputMaybe<T> = T | null | undefined
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string }
String: { input: string; output: string }
Boolean: { input: boolean; output: boolean }
Int: { input: number; output: number }
Float: { input: number; output: number }
LocalDate: { input: string; output: string }
LocalDateTime: { input: string; output: string }
}
/** Band */
export type Band = {
__typename?: 'Band'
created: Scalars['LocalDateTime']['output']
id: Maybe<Scalars['String']['output']>
name: Scalars['String']['output']
}
/** DanceHall */
export type DanceHall = {
__typename?: 'DanceHall'
city: Maybe<Scalars['String']['output']>
created: Scalars['LocalDateTime']['output']
id: Maybe<Scalars['String']['output']>
latitude: Maybe<Scalars['Float']['output']>
longitude: Maybe<Scalars['Float']['output']>
municipality: Maybe<Scalars['String']['output']>
name: Maybe<Scalars['String']['output']>
state: Maybe<Scalars['String']['output']>
}
/** DanceHallDistance */
export type DanceHallDistance = {
__typename?: 'DanceHallDistance'
distance: Scalars['Int']['output']
duration: Scalars['String']['output']
origin: Scalars['String']['output']
}
/** Event */
export type Event = {
__typename?: 'Event'
/** The band of the event */
band: Maybe<Band>
created: Scalars['LocalDateTime']['output']
/** The place of the event */
danceHall: Maybe<DanceHall>
/** The date of the event */
date: Scalars['LocalDate']['output']
/** The driving distances and driving durations to the event from the provided origins */
distances: Array<DanceHallDistance>
/** Additional information regarding the event */
extraInfo: Maybe<Scalars['String']['output']>
id: Maybe<Scalars['String']['output']>
/** The time of the event */
time: Maybe<Scalars['String']['output']>
}
export type Mutation = {
__typename?: 'Mutation'
/** Remove provided origin from authenticated user */
RemoveOrigin: Scalars['Boolean']['output']
/** Save provided origin for authenticated user */
SaveOrigin: Scalars['Boolean']['output']
/** Toggle band in ignore list */
ToggleIgnoreBand: Scalars['Boolean']['output']
/** Toggle city in ignore list */
ToggleIgnoreCity: Scalars['Boolean']['output']
/** Toggle dance hall in ignore list */
ToggleIgnoreDanceHall: Scalars['Boolean']['output']
/** Toggle municipality in ignore list */
ToggleIgnoreMunicipality: Scalars['Boolean']['output']
/** Toggle state in ignore list */
ToggleIgnoreState: Scalars['Boolean']['output']
}
export type MutationRemoveOriginArgs = {
origin: Scalars['String']['input']
}
export type MutationSaveOriginArgs = {
origin: Scalars['String']['input']
}
export type MutationToggleIgnoreBandArgs = {
name: Scalars['String']['input']
}
export type MutationToggleIgnoreCityArgs = {
name: Scalars['String']['input']
}
export type MutationToggleIgnoreDanceHallArgs = {
name: Scalars['String']['input']
}
export type MutationToggleIgnoreMunicipalityArgs = {
name: Scalars['String']['input']
}
export type MutationToggleIgnoreStateArgs = {
name: Scalars['String']['input']
}
export type Query = {
__typename?: 'Query'
/** Fetch address for provided lat/long */
AddressFromLatLng: Scalars['String']['output']
/** Find bands given provided criteria */
Bands: Array<Band>
/** Find dance halls given provided criteria */
DanceHalls: Array<DanceHall>
/** Find events given provided criteria */
Events: Array<Event>
/** Fetch ignored bands for authenticated user */
IgnoredBands: Array<Scalars['String']['output']>
/** Fetch ignored cities for authenticated user */
IgnoredCities: Array<Scalars['String']['output']>
/** Fetch ignored dance halls for authenticated user */
IgnoredDanceHalls: Array<Scalars['String']['output']>
/** Fetch ignored municipalities for authenticated user */
IgnoredMunicipalities: Array<Scalars['String']['output']>
/** Fetch ignored states for authenticated user */
IgnoredStates: Array<Scalars['String']['output']>
/** Fetch origins for authenticated user */
Origins: Array<Scalars['String']['output']>
}
export type QueryAddressFromLatLngArgs = {
latlng: Scalars['String']['input']
}
export type QueryEventsArgs = {
includeHidden?: InputMaybe<Scalars['Boolean']['input']>
origins?: InputMaybe<Array<Scalars['String']['input']>>
range?: InputMaybe<Range>
search?: InputMaybe<Scalars['String']['input']>
}
export enum Range {
OneMonth = 'ONE_MONTH',
OneQuarter = 'ONE_QUARTER',
OneWeek = 'ONE_WEEK',
OneYear = 'ONE_YEAR',
TwoWeeks = 'TWO_WEEKS'
}