fix(deps): update typescript-vue-apollo to v6 for codegen v8
typescript-vue-apollo 5.x fails plugin validation under @graphql-codegen/cli 8
("The path argument must be of type string"). 6.0.0 targets plugin-helpers 8.
typescript-operations v7 emits every schema type used in a document, so
running it in the same output as the typescript plugin produced a duplicate
Range declaration. Split codegen into schema.ts (typescript) and
operations.ts (operations, vue-apollo, fragment-matcher) with
importSchemaTypesFrom, matching the Shiny frontend layout, and import
Event, DanceHallDistance and Range from the schema file.
Lockfile regenerated in cypress/base:26.13.0 to keep Linux optional deps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ECBwyGcBKZhkRgyVyrLXPo
This commit is contained in:
1 parent
1a8661c5c0
commit
ce43a97e03
9 files changed
+215
-318
No files matched your search
@@ -108,7 +108,7 @@ import { computed } from 'vue'
|
|||||||
|
|
||||||
import { useI18n } from '#i18n'
|
import { useI18n } from '#i18n'
|
||||||
import DistanceDisplay from '~/components/pages/events/event-distance.vue'
|
import DistanceDisplay from '~/components/pages/events/event-distance.vue'
|
||||||
import type { Event } from '~~/graphql/generated/operations'
|
import type { Event } from '~~/graphql/generated/schema'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
event: {
|
event: {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
import type { PropType } from 'vue'
|
import type { PropType } from 'vue'
|
||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
|
|
||||||
import type { DanceHallDistance } from '~~/graphql/generated/operations'
|
import type { DanceHallDistance } from '~~/graphql/generated/schema'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
distance: {
|
distance: {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<script setup lang='ts'>
|
<script setup lang='ts'>
|
||||||
import type { PropType } from 'vue'
|
import type { PropType } from 'vue'
|
||||||
|
|
||||||
import type { Event } from '~~/graphql/generated/operations'
|
import type { Event } from '~~/graphql/generated/schema'
|
||||||
|
|
||||||
import EventCard from './event-card.vue'
|
import EventCard from './event-card.vue'
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import { defineStore } from 'pinia'
|
import { defineStore } from 'pinia'
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
|
|
||||||
import { Range } from '~~/graphql/generated/operations'
|
import { Range } from '~~/graphql/generated/schema'
|
||||||
|
|
||||||
export const useState = defineStore(
|
export const useState = defineStore(
|
||||||
'state',
|
'state',
|
||||||
|
|||||||
+15
-5
@@ -1,13 +1,15 @@
|
|||||||
schema: http://localhost:6080/query
|
schema: http://localhost:6080/query
|
||||||
documents: './graphql/**/*.graphql'
|
documents: './graphql/**/*.graphql'
|
||||||
generates:
|
generates:
|
||||||
./graphql/generated/operations.ts:
|
# Schema types (objects, inputs, enums) — the single owner of these
|
||||||
|
# declarations. operations.ts imports them via `importSchemaTypesFrom`
|
||||||
|
# instead of re-declaring them; typescript-operations v7 emits every schema
|
||||||
|
# type used in a document, so keeping both plugins in one output produces
|
||||||
|
# duplicate identifiers.
|
||||||
|
./graphql/generated/schema.ts:
|
||||||
plugins:
|
plugins:
|
||||||
- typescript
|
- typescript
|
||||||
- typescript-operations
|
config: &config
|
||||||
- typescript-vue-apollo
|
|
||||||
- fragment-matcher
|
|
||||||
config:
|
|
||||||
gqlImport: '@/utils/gql#gql'
|
gqlImport: '@/utils/gql#gql'
|
||||||
fetcher: fetch
|
fetcher: fetch
|
||||||
avoidOptionals:
|
avoidOptionals:
|
||||||
@@ -21,3 +23,11 @@ generates:
|
|||||||
LocalDate: string
|
LocalDate: string
|
||||||
LocalDateTime: string
|
LocalDateTime: string
|
||||||
vueCompositionApiImportFrom: vue
|
vueCompositionApiImportFrom: vue
|
||||||
|
./graphql/generated/operations.ts:
|
||||||
|
plugins:
|
||||||
|
- typescript-operations
|
||||||
|
- typescript-vue-apollo
|
||||||
|
- fragment-matcher
|
||||||
|
config:
|
||||||
|
<<: *config
|
||||||
|
importSchemaTypesFrom: './graphql/generated/schema'
|
||||||
+29
-189
@@ -1,248 +1,90 @@
|
|||||||
|
/** Internal type. DO NOT USE DIRECTLY. */
|
||||||
import * as VueApolloComposable from '@vue/apollo-composable'
|
import * as VueApolloComposable from '@vue/apollo-composable'
|
||||||
import type * as VueCompositionApi from 'vue'
|
import type * as VueCompositionApi from 'vue'
|
||||||
|
|
||||||
import { gql } from '@/utils/gql'
|
import { gql } from '@/utils/gql'
|
||||||
export type Maybe<T> = T | null | undefined
|
|
||||||
export type InputMaybe<T> = T | null | undefined
|
import type * as Types from './schema'
|
||||||
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
|
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]> }
|
/** Internal type. DO NOT USE DIRECTLY. */
|
||||||
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 }
|
|
||||||
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
|
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
|
||||||
export type ReactiveFunction<TParam> = () => TParam
|
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<{
|
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<{
|
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<{
|
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<{
|
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<{
|
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<{
|
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<{
|
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<{
|
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 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<{
|
export type FindEventsQueryVariables = Exact<{
|
||||||
range?: InputMaybe<Range>
|
range?: Types.Range | null | undefined
|
||||||
origins?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>
|
origins?: Array<string> | string | null | undefined
|
||||||
includeOrigins: Scalars['Boolean']['input']
|
includeOrigins: boolean
|
||||||
search?: InputMaybe<Scalars['String']['input']>
|
search?: string | null | undefined
|
||||||
includeHidden?: InputMaybe<Scalars['Boolean']['input']>
|
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 FindOriginsQueryVariables = Exact<{ [key: string]: never }>
|
||||||
|
|
||||||
|
|
||||||
export type FindOriginsQuery = { __typename?: 'Query'; origins: Array<string> }
|
export type FindOriginsQuery = { origins: Array<string> }
|
||||||
|
|
||||||
|
|
||||||
export const RemoveOriginDocument = gql`
|
export const RemoveOriginDocument = gql`
|
||||||
@@ -572,7 +414,6 @@ export function useFindOriginsLazyQuery(options: VueApolloComposable.UseQueryOpt
|
|||||||
return VueApolloComposable.useLazyQuery<FindOriginsQuery, FindOriginsQueryVariables>(FindOriginsDocument, {}, options)
|
return VueApolloComposable.useLazyQuery<FindOriginsQuery, FindOriginsQueryVariables>(FindOriginsDocument, {}, options)
|
||||||
}
|
}
|
||||||
export type FindOriginsQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<FindOriginsQuery, FindOriginsQueryVariables>
|
export type FindOriginsQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<FindOriginsQuery, FindOriginsQueryVariables>
|
||||||
|
|
||||||
export interface PossibleTypesResultData {
|
export interface PossibleTypesResultData {
|
||||||
possibleTypes: {
|
possibleTypes: {
|
||||||
[key: string]: string[]
|
[key: string]: string[]
|
||||||
@@ -582,4 +423,3 @@ const result: PossibleTypesResultData = {
|
|||||||
'possibleTypes': {},
|
'possibleTypes': {},
|
||||||
}
|
}
|
||||||
export default result
|
export default result
|
||||||
|
|
||||||
@@ -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'
|
||||||
|
}
|
||||||
Generated
+8
-119
@@ -29,7 +29,7 @@
|
|||||||
"@graphql-codegen/fragment-matcher": "8.0.0",
|
"@graphql-codegen/fragment-matcher": "8.0.0",
|
||||||
"@graphql-codegen/typescript": "7.0.0",
|
"@graphql-codegen/typescript": "7.0.0",
|
||||||
"@graphql-codegen/typescript-operations": "7.0.0",
|
"@graphql-codegen/typescript-operations": "7.0.0",
|
||||||
"@graphql-codegen/typescript-vue-apollo": "5.0.1",
|
"@graphql-codegen/typescript-vue-apollo": "6.0.0",
|
||||||
"@nuxt/devtools": "4.1.0",
|
"@nuxt/devtools": "4.1.0",
|
||||||
"@nuxt/eslint": "1.17.0",
|
"@nuxt/eslint": "1.17.0",
|
||||||
"@nuxtjs/i18n": "10.6.0",
|
"@nuxtjs/i18n": "10.6.0",
|
||||||
@@ -2427,71 +2427,26 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@graphql-codegen/typescript-vue-apollo": {
|
"node_modules/@graphql-codegen/typescript-vue-apollo": {
|
||||||
"version": "5.0.1",
|
"version": "6.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@graphql-codegen/typescript-vue-apollo/-/typescript-vue-apollo-5.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@graphql-codegen/typescript-vue-apollo/-/typescript-vue-apollo-6.0.0.tgz",
|
||||||
"integrity": "sha512-+0NxqP4cD9OXapsb7AxUP7gLz+iaeD0PGx8sHxouXNcgcUba0JaCUu8NFIAe5pArayKsCMYTTe+s7N1e1Gnu7g==",
|
"integrity": "sha512-flHp7nhN0ElLNWpwAmw61puOKBjMLO+0h/hsjc7WF0nZP2F0llhNHxO67O+XfFCkxthtN+peTqIOOSWoNyEjZA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@graphql-codegen/plugin-helpers": "^6.3.0",
|
"@graphql-codegen/plugin-helpers": "^8.0.0",
|
||||||
"@graphql-codegen/visitor-plugin-common": "^6.3.0",
|
"@graphql-codegen/visitor-plugin-common": "^8.0.0",
|
||||||
"auto-bind": "~4.0.0",
|
"auto-bind": "~4.0.0",
|
||||||
"change-case-all": "1.0.15",
|
"change-case-all": "1.0.15",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 16.0.0"
|
"node": ">=22.18.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
|
"graphql": "^16.0.0 || ^17.0.0",
|
||||||
"graphql-tag": "^2.0.0"
|
"graphql-tag": "^2.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@graphql-codegen/typescript-vue-apollo/node_modules/@graphql-codegen/plugin-helpers": {
|
|
||||||
"version": "6.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@graphql-codegen/plugin-helpers/-/plugin-helpers-6.3.0.tgz",
|
|
||||||
"integrity": "sha512-Auc+/B7okDx9+pVgLVliZtZLYh6iltWXlnzzM+bRE+zh1T4r3hKbnr8xAmtT937ArfSgk5GHcQHr8LfPYnrRBg==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@graphql-tools/utils": "^11.0.0",
|
|
||||||
"change-case-all": "1.0.15",
|
|
||||||
"common-tags": "1.8.2",
|
|
||||||
"import-from": "4.0.0",
|
|
||||||
"tslib": "^2.8.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@graphql-codegen/typescript-vue-apollo/node_modules/@graphql-codegen/visitor-plugin-common": {
|
|
||||||
"version": "6.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-6.3.0.tgz",
|
|
||||||
"integrity": "sha512-vGBoE+4huzZyNhyGSAhXAkdROHlwKxxuziZm4XtP1mxe7nuI+VgyOmXebafLijbmuDsptPXQN0C/htL54O8hrg==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@graphql-codegen/plugin-helpers": "^6.3.0",
|
|
||||||
"@graphql-tools/optimize": "^2.0.0",
|
|
||||||
"@graphql-tools/relay-operation-optimizer": "^7.1.1",
|
|
||||||
"@graphql-tools/utils": "^11.0.0",
|
|
||||||
"auto-bind": "~4.0.0",
|
|
||||||
"change-case-all": "1.0.15",
|
|
||||||
"dependency-graph": "^1.0.0",
|
|
||||||
"graphql-tag": "^2.11.0",
|
|
||||||
"parse-filepath": "^1.0.2",
|
|
||||||
"tslib": "^2.8.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@graphql-codegen/typescript-vue-apollo/node_modules/auto-bind": {
|
"node_modules/@graphql-codegen/typescript-vue-apollo/node_modules/auto-bind": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-4.0.0.tgz",
|
||||||
@@ -3873,72 +3828,6 @@
|
|||||||
"node": ">=22.15.0"
|
"node": ">=22.15.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@graphql-tools/optimize": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@graphql-tools/optimize/-/optimize-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"tslib": "^2.4.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@graphql-tools/relay-operation-optimizer": {
|
|
||||||
"version": "7.1.12",
|
|
||||||
"resolved": "https://registry.npmjs.org/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-7.1.12.tgz",
|
|
||||||
"integrity": "sha512-Mhdc6lHutQXP2Wikcrdl5HW83aH/UO8pUqAA0P/bGYrOUT8X7prfJWRRtU+ZiHVskcni7ZZEhDD0sj7vk1UeMQ==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@ardatan/relay-compiler": "^13.0.2",
|
|
||||||
"@graphql-tools/utils": "^12.0.3",
|
|
||||||
"tslib": "^2.4.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@graphql-tools/relay-operation-optimizer/node_modules/@graphql-tools/utils": {
|
|
||||||
"version": "12.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz",
|
|
||||||
"integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@graphql-typed-document-node/core": "^3.1.1",
|
|
||||||
"@whatwg-node/promise-helpers": "^2.0.0",
|
|
||||||
"cross-inspect": "1.0.1",
|
|
||||||
"tslib": "^2.4.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@graphql-tools/relay-operation-optimizer/node_modules/@whatwg-node/promise-helpers": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@whatwg-node/promise-helpers/-/promise-helpers-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-/i9CS0Z96o+cPwaYoAyVxAThDiUX1wV3tDmNWPJbn+vtdR+JftuCDg1NGCXBrzIYVDGkJ8uT6ctwmrBOUzOpKQ==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"tslib": "^2.6.3"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=22.15.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@graphql-tools/schema": {
|
"node_modules/@graphql-tools/schema": {
|
||||||
"version": "10.1.3",
|
"version": "10.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-10.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-10.1.3.tgz",
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@
|
|||||||
"@graphql-codegen/fragment-matcher": "8.0.0",
|
"@graphql-codegen/fragment-matcher": "8.0.0",
|
||||||
"@graphql-codegen/typescript": "7.0.0",
|
"@graphql-codegen/typescript": "7.0.0",
|
||||||
"@graphql-codegen/typescript-operations": "7.0.0",
|
"@graphql-codegen/typescript-operations": "7.0.0",
|
||||||
"@graphql-codegen/typescript-vue-apollo": "5.0.1",
|
"@graphql-codegen/typescript-vue-apollo": "6.0.0",
|
||||||
"@nuxt/devtools": "4.1.0",
|
"@nuxt/devtools": "4.1.0",
|
||||||
"@nuxt/eslint": "1.17.0",
|
"@nuxt/eslint": "1.17.0",
|
||||||
"@nuxtjs/i18n": "10.6.0",
|
"@nuxtjs/i18n": "10.6.0",
|
||||||
|
|||||||
Reference in new issue
Block a user