Files
dancefinder-app/graphql/generated/operations.ts
T
renovateandargoyle 533558a063
dancefinder-app / build (push) Successful in 55s
dancefinder-app / deploy-prod-frostmoln (push) Successful in 1m14s
chore(deps): update graphqlcodegenerator monorepo (major) (#3144)
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>
2026-11-12 09:52:30 +00:00

426 lines
21 KiB
TypeScript

/** Internal type. DO NOT USE DIRECTLY. */
import * as VueApolloComposable from '@vue/apollo-composable'
import type * as VueCompositionApi from 'vue'
import { gql } from '@/utils/gql'
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
export type RemoveOriginMutationVariables = Exact<{
origin: string
}>
export type RemoveOriginMutation = { removed: boolean }
export type SaveOriginMutationVariables = Exact<{
origin: string
}>
export type SaveOriginMutation = { saved: boolean }
export type ToggleIgnoreBandMutationVariables = Exact<{
name: string
}>
export type ToggleIgnoreBandMutation = { ignore: boolean }
export type ToggleIgnoreCityMutationVariables = Exact<{
name: string
}>
export type ToggleIgnoreCityMutation = { ignore: boolean }
export type ToggleIgnoreDanceHallMutationVariables = Exact<{
name: string
}>
export type ToggleIgnoreDanceHallMutation = { ignore: boolean }
export type ToggleIgnoreMunicipalityMutationVariables = Exact<{
name: string
}>
export type ToggleIgnoreMunicipalityMutation = { ignore: boolean }
export type ToggleIgnoreStateMutationVariables = Exact<{
name: string
}>
export type ToggleIgnoreStateMutation = { ignore: boolean }
export type FetchAddressQueryVariables = Exact<{
latlng: string
}>
export type FetchAddressQuery = { address: string }
export type FetchFiltersQueryVariables = Exact<{ [key: string]: never }>
export type FetchFiltersQuery = { bands: Array<string>; cities: Array<string>; states: Array<string>; danceHalls: Array<string>; municipalities: Array<string> }
export type FindEventsQueryVariables = Exact<{
range?: Types.Range | null | undefined
origins?: Array<string> | string | null | undefined
includeOrigins: boolean
search?: string | null | undefined
includeHidden?: boolean | null | undefined
}>
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 = { origins: Array<string> }
export const RemoveOriginDocument = gql`
mutation RemoveOrigin($origin: String!) {
removed: RemoveOrigin(origin: $origin)
}
`
/**
* __useRemoveOriginMutation__
*
* To run a mutation, you first call `useRemoveOriginMutation` within a Vue component and pass it any options that fit your needs.
* When your component renders, `useRemoveOriginMutation` returns an object that includes:
* - A mutate function that you can call at any time to execute the mutation
* - Several other properties: https://v4.apollo.vuejs.org/api/use-mutation.html#return
*
* @param options that will be passed into the mutation, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/mutation.html#options;
*
* @example
* const { mutate, loading, error, onDone } = useRemoveOriginMutation({
* variables: {
* origin: // value for 'origin'
* },
* });
*/
export function useRemoveOriginMutation(options: VueApolloComposable.UseMutationOptions<RemoveOriginMutation, RemoveOriginMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<RemoveOriginMutation, RemoveOriginMutationVariables>> = {}) {
return VueApolloComposable.useMutation<RemoveOriginMutation, RemoveOriginMutationVariables>(RemoveOriginDocument, options)
}
export type RemoveOriginMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<RemoveOriginMutation, RemoveOriginMutationVariables>
export const SaveOriginDocument = gql`
mutation SaveOrigin($origin: String!) {
saved: SaveOrigin(origin: $origin)
}
`
/**
* __useSaveOriginMutation__
*
* To run a mutation, you first call `useSaveOriginMutation` within a Vue component and pass it any options that fit your needs.
* When your component renders, `useSaveOriginMutation` returns an object that includes:
* - A mutate function that you can call at any time to execute the mutation
* - Several other properties: https://v4.apollo.vuejs.org/api/use-mutation.html#return
*
* @param options that will be passed into the mutation, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/mutation.html#options;
*
* @example
* const { mutate, loading, error, onDone } = useSaveOriginMutation({
* variables: {
* origin: // value for 'origin'
* },
* });
*/
export function useSaveOriginMutation(options: VueApolloComposable.UseMutationOptions<SaveOriginMutation, SaveOriginMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<SaveOriginMutation, SaveOriginMutationVariables>> = {}) {
return VueApolloComposable.useMutation<SaveOriginMutation, SaveOriginMutationVariables>(SaveOriginDocument, options)
}
export type SaveOriginMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<SaveOriginMutation, SaveOriginMutationVariables>
export const ToggleIgnoreBandDocument = gql`
mutation ToggleIgnoreBand($name: String!) {
ignore: ToggleIgnoreBand(name: $name)
}
`
/**
* __useToggleIgnoreBandMutation__
*
* To run a mutation, you first call `useToggleIgnoreBandMutation` within a Vue component and pass it any options that fit your needs.
* When your component renders, `useToggleIgnoreBandMutation` returns an object that includes:
* - A mutate function that you can call at any time to execute the mutation
* - Several other properties: https://v4.apollo.vuejs.org/api/use-mutation.html#return
*
* @param options that will be passed into the mutation, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/mutation.html#options;
*
* @example
* const { mutate, loading, error, onDone } = useToggleIgnoreBandMutation({
* variables: {
* name: // value for 'name'
* },
* });
*/
export function useToggleIgnoreBandMutation(options: VueApolloComposable.UseMutationOptions<ToggleIgnoreBandMutation, ToggleIgnoreBandMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<ToggleIgnoreBandMutation, ToggleIgnoreBandMutationVariables>> = {}) {
return VueApolloComposable.useMutation<ToggleIgnoreBandMutation, ToggleIgnoreBandMutationVariables>(ToggleIgnoreBandDocument, options)
}
export type ToggleIgnoreBandMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<ToggleIgnoreBandMutation, ToggleIgnoreBandMutationVariables>
export const ToggleIgnoreCityDocument = gql`
mutation ToggleIgnoreCity($name: String!) {
ignore: ToggleIgnoreCity(name: $name)
}
`
/**
* __useToggleIgnoreCityMutation__
*
* To run a mutation, you first call `useToggleIgnoreCityMutation` within a Vue component and pass it any options that fit your needs.
* When your component renders, `useToggleIgnoreCityMutation` returns an object that includes:
* - A mutate function that you can call at any time to execute the mutation
* - Several other properties: https://v4.apollo.vuejs.org/api/use-mutation.html#return
*
* @param options that will be passed into the mutation, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/mutation.html#options;
*
* @example
* const { mutate, loading, error, onDone } = useToggleIgnoreCityMutation({
* variables: {
* name: // value for 'name'
* },
* });
*/
export function useToggleIgnoreCityMutation(options: VueApolloComposable.UseMutationOptions<ToggleIgnoreCityMutation, ToggleIgnoreCityMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<ToggleIgnoreCityMutation, ToggleIgnoreCityMutationVariables>> = {}) {
return VueApolloComposable.useMutation<ToggleIgnoreCityMutation, ToggleIgnoreCityMutationVariables>(ToggleIgnoreCityDocument, options)
}
export type ToggleIgnoreCityMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<ToggleIgnoreCityMutation, ToggleIgnoreCityMutationVariables>
export const ToggleIgnoreDanceHallDocument = gql`
mutation ToggleIgnoreDanceHall($name: String!) {
ignore: ToggleIgnoreDanceHall(name: $name)
}
`
/**
* __useToggleIgnoreDanceHallMutation__
*
* To run a mutation, you first call `useToggleIgnoreDanceHallMutation` within a Vue component and pass it any options that fit your needs.
* When your component renders, `useToggleIgnoreDanceHallMutation` returns an object that includes:
* - A mutate function that you can call at any time to execute the mutation
* - Several other properties: https://v4.apollo.vuejs.org/api/use-mutation.html#return
*
* @param options that will be passed into the mutation, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/mutation.html#options;
*
* @example
* const { mutate, loading, error, onDone } = useToggleIgnoreDanceHallMutation({
* variables: {
* name: // value for 'name'
* },
* });
*/
export function useToggleIgnoreDanceHallMutation(options: VueApolloComposable.UseMutationOptions<ToggleIgnoreDanceHallMutation, ToggleIgnoreDanceHallMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<ToggleIgnoreDanceHallMutation, ToggleIgnoreDanceHallMutationVariables>> = {}) {
return VueApolloComposable.useMutation<ToggleIgnoreDanceHallMutation, ToggleIgnoreDanceHallMutationVariables>(ToggleIgnoreDanceHallDocument, options)
}
export type ToggleIgnoreDanceHallMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<ToggleIgnoreDanceHallMutation, ToggleIgnoreDanceHallMutationVariables>
export const ToggleIgnoreMunicipalityDocument = gql`
mutation ToggleIgnoreMunicipality($name: String!) {
ignore: ToggleIgnoreMunicipality(name: $name)
}
`
/**
* __useToggleIgnoreMunicipalityMutation__
*
* To run a mutation, you first call `useToggleIgnoreMunicipalityMutation` within a Vue component and pass it any options that fit your needs.
* When your component renders, `useToggleIgnoreMunicipalityMutation` returns an object that includes:
* - A mutate function that you can call at any time to execute the mutation
* - Several other properties: https://v4.apollo.vuejs.org/api/use-mutation.html#return
*
* @param options that will be passed into the mutation, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/mutation.html#options;
*
* @example
* const { mutate, loading, error, onDone } = useToggleIgnoreMunicipalityMutation({
* variables: {
* name: // value for 'name'
* },
* });
*/
export function useToggleIgnoreMunicipalityMutation(options: VueApolloComposable.UseMutationOptions<ToggleIgnoreMunicipalityMutation, ToggleIgnoreMunicipalityMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<ToggleIgnoreMunicipalityMutation, ToggleIgnoreMunicipalityMutationVariables>> = {}) {
return VueApolloComposable.useMutation<ToggleIgnoreMunicipalityMutation, ToggleIgnoreMunicipalityMutationVariables>(ToggleIgnoreMunicipalityDocument, options)
}
export type ToggleIgnoreMunicipalityMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<ToggleIgnoreMunicipalityMutation, ToggleIgnoreMunicipalityMutationVariables>
export const ToggleIgnoreStateDocument = gql`
mutation ToggleIgnoreState($name: String!) {
ignore: ToggleIgnoreState(name: $name)
}
`
/**
* __useToggleIgnoreStateMutation__
*
* To run a mutation, you first call `useToggleIgnoreStateMutation` within a Vue component and pass it any options that fit your needs.
* When your component renders, `useToggleIgnoreStateMutation` returns an object that includes:
* - A mutate function that you can call at any time to execute the mutation
* - Several other properties: https://v4.apollo.vuejs.org/api/use-mutation.html#return
*
* @param options that will be passed into the mutation, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/mutation.html#options;
*
* @example
* const { mutate, loading, error, onDone } = useToggleIgnoreStateMutation({
* variables: {
* name: // value for 'name'
* },
* });
*/
export function useToggleIgnoreStateMutation(options: VueApolloComposable.UseMutationOptions<ToggleIgnoreStateMutation, ToggleIgnoreStateMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<ToggleIgnoreStateMutation, ToggleIgnoreStateMutationVariables>> = {}) {
return VueApolloComposable.useMutation<ToggleIgnoreStateMutation, ToggleIgnoreStateMutationVariables>(ToggleIgnoreStateDocument, options)
}
export type ToggleIgnoreStateMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<ToggleIgnoreStateMutation, ToggleIgnoreStateMutationVariables>
export const FetchAddressDocument = gql`
query FetchAddress($latlng: String!) {
address: AddressFromLatLng(latlng: $latlng)
}
`
/**
* __useFetchAddressQuery__
*
* To run a query within a Vue component, call `useFetchAddressQuery` and pass it any options that fit your needs.
* When your component renders, `useFetchAddressQuery` returns an object from Apollo Client that contains result, loading and error properties
* you can use to render your UI.
*
* @param variables that will be passed into the query
* @param options that will be passed into the query, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/query.html#options;
*
* @example
* const { result, loading, error } = useFetchAddressQuery({
* latlng: // value for 'latlng'
* });
*/
export function useFetchAddressQuery(variables: FetchAddressQueryVariables | VueCompositionApi.Ref<FetchAddressQueryVariables> | ReactiveFunction<FetchAddressQueryVariables>, options: VueApolloComposable.UseQueryOptions<FetchAddressQuery, FetchAddressQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<FetchAddressQuery, FetchAddressQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<FetchAddressQuery, FetchAddressQueryVariables>> = {}) {
return VueApolloComposable.useQuery<FetchAddressQuery, FetchAddressQueryVariables>(FetchAddressDocument, variables, options)
}
export function useFetchAddressLazyQuery(variables?: FetchAddressQueryVariables | VueCompositionApi.Ref<FetchAddressQueryVariables> | ReactiveFunction<FetchAddressQueryVariables>, options: VueApolloComposable.UseQueryOptions<FetchAddressQuery, FetchAddressQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<FetchAddressQuery, FetchAddressQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<FetchAddressQuery, FetchAddressQueryVariables>> = {}) {
return VueApolloComposable.useLazyQuery<FetchAddressQuery, FetchAddressQueryVariables>(FetchAddressDocument, variables, options)
}
export type FetchAddressQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<FetchAddressQuery, FetchAddressQueryVariables>
export const FetchFiltersDocument = gql`
query FetchFilters {
bands: IgnoredBands
cities: IgnoredCities
states: IgnoredStates
danceHalls: IgnoredDanceHalls
municipalities: IgnoredMunicipalities
}
`
/**
* __useFetchFiltersQuery__
*
* To run a query within a Vue component, call `useFetchFiltersQuery` and pass it any options that fit your needs.
* When your component renders, `useFetchFiltersQuery` returns an object from Apollo Client that contains result, loading and error properties
* you can use to render your UI.
*
* @param options that will be passed into the query, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/query.html#options;
*
* @example
* const { result, loading, error } = useFetchFiltersQuery();
*/
export function useFetchFiltersQuery(options: VueApolloComposable.UseQueryOptions<FetchFiltersQuery, FetchFiltersQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<FetchFiltersQuery, FetchFiltersQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<FetchFiltersQuery, FetchFiltersQueryVariables>> = {}) {
return VueApolloComposable.useQuery<FetchFiltersQuery, FetchFiltersQueryVariables>(FetchFiltersDocument, {}, options)
}
export function useFetchFiltersLazyQuery(options: VueApolloComposable.UseQueryOptions<FetchFiltersQuery, FetchFiltersQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<FetchFiltersQuery, FetchFiltersQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<FetchFiltersQuery, FetchFiltersQueryVariables>> = {}) {
return VueApolloComposable.useLazyQuery<FetchFiltersQuery, FetchFiltersQueryVariables>(FetchFiltersDocument, {}, options)
}
export type FetchFiltersQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<FetchFiltersQuery, FetchFiltersQueryVariables>
export const FindEventsDocument = gql`
query FindEvents($range: Range, $origins: [String!], $includeOrigins: Boolean!, $search: String, $includeHidden: Boolean) {
events: Events(
range: $range
origins: $origins
search: $search
includeHidden: $includeHidden
) {
date
time
band {
name
}
danceHall {
name
city
municipality
state
}
extraInfo
distances {
origin
distance
duration
}
}
origins: Origins @include(if: $includeOrigins)
}
`
/**
* __useFindEventsQuery__
*
* To run a query within a Vue component, call `useFindEventsQuery` and pass it any options that fit your needs.
* When your component renders, `useFindEventsQuery` returns an object from Apollo Client that contains result, loading and error properties
* you can use to render your UI.
*
* @param variables that will be passed into the query
* @param options that will be passed into the query, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/query.html#options;
*
* @example
* const { result, loading, error } = useFindEventsQuery({
* range: // value for 'range'
* origins: // value for 'origins'
* includeOrigins: // value for 'includeOrigins'
* search: // value for 'search'
* includeHidden: // value for 'includeHidden'
* });
*/
export function useFindEventsQuery(variables: FindEventsQueryVariables | VueCompositionApi.Ref<FindEventsQueryVariables> | ReactiveFunction<FindEventsQueryVariables>, options: VueApolloComposable.UseQueryOptions<FindEventsQuery, FindEventsQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<FindEventsQuery, FindEventsQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<FindEventsQuery, FindEventsQueryVariables>> = {}) {
return VueApolloComposable.useQuery<FindEventsQuery, FindEventsQueryVariables>(FindEventsDocument, variables, options)
}
export function useFindEventsLazyQuery(variables?: FindEventsQueryVariables | VueCompositionApi.Ref<FindEventsQueryVariables> | ReactiveFunction<FindEventsQueryVariables>, options: VueApolloComposable.UseQueryOptions<FindEventsQuery, FindEventsQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<FindEventsQuery, FindEventsQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<FindEventsQuery, FindEventsQueryVariables>> = {}) {
return VueApolloComposable.useLazyQuery<FindEventsQuery, FindEventsQueryVariables>(FindEventsDocument, variables, options)
}
export type FindEventsQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<FindEventsQuery, FindEventsQueryVariables>
export const FindOriginsDocument = gql`
query FindOrigins {
origins: Origins
}
`
/**
* __useFindOriginsQuery__
*
* To run a query within a Vue component, call `useFindOriginsQuery` and pass it any options that fit your needs.
* When your component renders, `useFindOriginsQuery` returns an object from Apollo Client that contains result, loading and error properties
* you can use to render your UI.
*
* @param options that will be passed into the query, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/query.html#options;
*
* @example
* const { result, loading, error } = useFindOriginsQuery();
*/
export function useFindOriginsQuery(options: VueApolloComposable.UseQueryOptions<FindOriginsQuery, FindOriginsQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<FindOriginsQuery, FindOriginsQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<FindOriginsQuery, FindOriginsQueryVariables>> = {}) {
return VueApolloComposable.useQuery<FindOriginsQuery, FindOriginsQueryVariables>(FindOriginsDocument, {}, options)
}
export function useFindOriginsLazyQuery(options: VueApolloComposable.UseQueryOptions<FindOriginsQuery, FindOriginsQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<FindOriginsQuery, FindOriginsQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<FindOriginsQuery, FindOriginsQueryVariables>> = {}) {
return VueApolloComposable.useLazyQuery<FindOriginsQuery, FindOriginsQueryVariables>(FindOriginsDocument, {}, options)
}
export type FindOriginsQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<FindOriginsQuery, FindOriginsQueryVariables>
export interface PossibleTypesResultData {
possibleTypes: {
[key: string]: string[]
}
}
const result: PossibleTypesResultData = {
'possibleTypes': {},
}
export default result