2026-11-12 09:52:30 +00:00
/** Internal type. DO NOT USE DIRECTLY. */
2024-02-02 16:38:51 +01:00
import * as VueApolloComposable from '@vue/apollo-composable'
2024-02-05 16:48:02 +01:00
import type * as VueCompositionApi from 'vue'
2025-06-13 15:21:27 +02:00
2024-02-02 16:38:51 +01:00
import { gql } from '@/utils/gql'
2026-11-12 09:52:30 +00:00
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. */
2025-06-13 15:21:27 +02:00
export type Incremental < T > = T | { [ P in keyof T ] ?: P extends ' $fragmentName' | '__typename' ? T [ P ] : never }
export type ReactiveFunction < TParam > = () => TParam
2022-08-03 18:40:05 +02:00
export type RemoveOriginMutationVariables = Exact < {
2026-11-12 09:52:30 +00:00
origin : string
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type RemoveOriginMutation = { removed : boolean }
2022-08-03 18:40:05 +02:00
export type SaveOriginMutationVariables = Exact < {
2026-11-12 09:52:30 +00:00
origin : string
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type SaveOriginMutation = { saved : boolean }
2022-08-03 18:40:05 +02:00
export type ToggleIgnoreBandMutationVariables = Exact < {
2026-11-12 09:52:30 +00:00
name : string
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type ToggleIgnoreBandMutation = { ignore : boolean }
2022-08-03 18:40:05 +02:00
export type ToggleIgnoreCityMutationVariables = Exact < {
2026-11-12 09:52:30 +00:00
name : string
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type ToggleIgnoreCityMutation = { ignore : boolean }
2022-08-03 18:40:05 +02:00
export type ToggleIgnoreDanceHallMutationVariables = Exact < {
2026-11-12 09:52:30 +00:00
name : string
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type ToggleIgnoreDanceHallMutation = { ignore : boolean }
2022-08-03 18:40:05 +02:00
export type ToggleIgnoreMunicipalityMutationVariables = Exact < {
2026-11-12 09:52:30 +00:00
name : string
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type ToggleIgnoreMunicipalityMutation = { ignore : boolean }
2022-08-03 18:40:05 +02:00
export type ToggleIgnoreStateMutationVariables = Exact < {
2026-11-12 09:52:30 +00:00
name : string
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type ToggleIgnoreStateMutation = { ignore : boolean }
2022-08-03 18:40:05 +02:00
export type FetchAddressQueryVariables = Exact < {
2026-11-12 09:52:30 +00:00
latlng : string
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type FetchAddressQuery = { address : string }
2022-08-03 18:40:05 +02:00
2025-06-13 15:21:27 +02:00
export type FetchFiltersQueryVariables = Exact < { [ key : string ] : never } >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type FetchFiltersQuery = { bands : Array < string >; cities : Array < string >; states : Array < string >; danceHalls : Array < string >; municipalities : Array < string > }
2022-08-03 18:40:05 +02:00
export type FindEventsQueryVariables = Exact < {
2026-11-12 09:52:30 +00:00
range? : Types.Range | null | undefined
origins? : Array < string > | string | null | undefined
includeOrigins : boolean
search? : string | null | undefined
includeHidden? : boolean | null | undefined
2025-06-13 15:21:27 +02:00
} >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
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 } > } > }
2022-08-03 18:40:05 +02:00
2025-06-13 15:21:27 +02:00
export type FindOriginsQueryVariables = Exact < { [ key : string ] : never } >
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2026-11-12 09:52:30 +00:00
export type FindOriginsQuery = { origins : Array < string > }
2022-08-03 18:40:05 +02:00
2025-11-04 11:39:59 +01:00
2022-08-03 18:40:05 +02:00
export const RemoveOriginDocument = gql `
mutation RemoveOrigin($origin: String!) {
removed: RemoveOrigin(origin: $origin)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
* },
* });
*/
2024-02-05 16:48:02 +01:00
export function useRemoveOriginMutation ( options : VueApolloComposable.UseMutationOptions < RemoveOriginMutation , RemoveOriginMutationVariables > | ReactiveFunction < VueApolloComposable.UseMutationOptions < RemoveOriginMutation , RemoveOriginMutationVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useMutation < RemoveOriginMutation , RemoveOriginMutationVariables >( RemoveOriginDocument , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type RemoveOriginMutationCompositionFunctionResult = VueApolloComposable . UseMutationReturn < RemoveOriginMutation , RemoveOriginMutationVariables >
2022-08-03 18:40:05 +02:00
export const SaveOriginDocument = gql `
mutation SaveOrigin($origin: String!) {
saved: SaveOrigin(origin: $origin)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
* },
* });
*/
2024-02-05 16:48:02 +01:00
export function useSaveOriginMutation ( options : VueApolloComposable.UseMutationOptions < SaveOriginMutation , SaveOriginMutationVariables > | ReactiveFunction < VueApolloComposable.UseMutationOptions < SaveOriginMutation , SaveOriginMutationVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useMutation < SaveOriginMutation , SaveOriginMutationVariables >( SaveOriginDocument , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type SaveOriginMutationCompositionFunctionResult = VueApolloComposable . UseMutationReturn < SaveOriginMutation , SaveOriginMutationVariables >
2022-08-03 18:40:05 +02:00
export const ToggleIgnoreBandDocument = gql `
mutation ToggleIgnoreBand($name: String!) {
ignore: ToggleIgnoreBand(name: $name)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
* },
* });
*/
2024-02-05 16:48:02 +01:00
export function useToggleIgnoreBandMutation ( options : VueApolloComposable.UseMutationOptions < ToggleIgnoreBandMutation , ToggleIgnoreBandMutationVariables > | ReactiveFunction < VueApolloComposable.UseMutationOptions < ToggleIgnoreBandMutation , ToggleIgnoreBandMutationVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useMutation < ToggleIgnoreBandMutation , ToggleIgnoreBandMutationVariables >( ToggleIgnoreBandDocument , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type ToggleIgnoreBandMutationCompositionFunctionResult = VueApolloComposable . UseMutationReturn < ToggleIgnoreBandMutation , ToggleIgnoreBandMutationVariables >
2022-08-03 18:40:05 +02:00
export const ToggleIgnoreCityDocument = gql `
mutation ToggleIgnoreCity($name: String!) {
ignore: ToggleIgnoreCity(name: $name)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
* },
* });
*/
2024-02-05 16:48:02 +01:00
export function useToggleIgnoreCityMutation ( options : VueApolloComposable.UseMutationOptions < ToggleIgnoreCityMutation , ToggleIgnoreCityMutationVariables > | ReactiveFunction < VueApolloComposable.UseMutationOptions < ToggleIgnoreCityMutation , ToggleIgnoreCityMutationVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useMutation < ToggleIgnoreCityMutation , ToggleIgnoreCityMutationVariables >( ToggleIgnoreCityDocument , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type ToggleIgnoreCityMutationCompositionFunctionResult = VueApolloComposable . UseMutationReturn < ToggleIgnoreCityMutation , ToggleIgnoreCityMutationVariables >
2022-08-03 18:40:05 +02:00
export const ToggleIgnoreDanceHallDocument = gql `
mutation ToggleIgnoreDanceHall($name: String!) {
ignore: ToggleIgnoreDanceHall(name: $name)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
* },
* });
*/
2024-02-05 16:48:02 +01:00
export function useToggleIgnoreDanceHallMutation ( options : VueApolloComposable.UseMutationOptions < ToggleIgnoreDanceHallMutation , ToggleIgnoreDanceHallMutationVariables > | ReactiveFunction < VueApolloComposable.UseMutationOptions < ToggleIgnoreDanceHallMutation , ToggleIgnoreDanceHallMutationVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useMutation < ToggleIgnoreDanceHallMutation , ToggleIgnoreDanceHallMutationVariables >( ToggleIgnoreDanceHallDocument , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type ToggleIgnoreDanceHallMutationCompositionFunctionResult = VueApolloComposable . UseMutationReturn < ToggleIgnoreDanceHallMutation , ToggleIgnoreDanceHallMutationVariables >
2022-08-03 18:40:05 +02:00
export const ToggleIgnoreMunicipalityDocument = gql `
mutation ToggleIgnoreMunicipality($name: String!) {
ignore: ToggleIgnoreMunicipality(name: $name)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
* },
* });
*/
2024-02-05 16:48:02 +01:00
export function useToggleIgnoreMunicipalityMutation ( options : VueApolloComposable.UseMutationOptions < ToggleIgnoreMunicipalityMutation , ToggleIgnoreMunicipalityMutationVariables > | ReactiveFunction < VueApolloComposable.UseMutationOptions < ToggleIgnoreMunicipalityMutation , ToggleIgnoreMunicipalityMutationVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useMutation < ToggleIgnoreMunicipalityMutation , ToggleIgnoreMunicipalityMutationVariables >( ToggleIgnoreMunicipalityDocument , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type ToggleIgnoreMunicipalityMutationCompositionFunctionResult = VueApolloComposable . UseMutationReturn < ToggleIgnoreMunicipalityMutation , ToggleIgnoreMunicipalityMutationVariables >
2022-08-03 18:40:05 +02:00
export const ToggleIgnoreStateDocument = gql `
mutation ToggleIgnoreState($name: String!) {
ignore: ToggleIgnoreState(name: $name)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
* },
* });
*/
2024-02-05 16:48:02 +01:00
export function useToggleIgnoreStateMutation ( options : VueApolloComposable.UseMutationOptions < ToggleIgnoreStateMutation , ToggleIgnoreStateMutationVariables > | ReactiveFunction < VueApolloComposable.UseMutationOptions < ToggleIgnoreStateMutation , ToggleIgnoreStateMutationVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useMutation < ToggleIgnoreStateMutation , ToggleIgnoreStateMutationVariables >( ToggleIgnoreStateDocument , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type ToggleIgnoreStateMutationCompositionFunctionResult = VueApolloComposable . UseMutationReturn < ToggleIgnoreStateMutation , ToggleIgnoreStateMutationVariables >
2022-08-03 18:40:05 +02:00
export const FetchAddressDocument = gql `
query FetchAddress($latlng: String!) {
address: AddressFromLatLng(latlng: $latlng)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
* });
*/
2024-02-05 16:48:02 +01:00
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 >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useQuery < FetchAddressQuery , FetchAddressQueryVariables >( FetchAddressDocument , variables , options )
2022-08-03 18:40:05 +02:00
}
2024-02-05 16:48:02 +01:00
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 >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useLazyQuery < FetchAddressQuery , FetchAddressQueryVariables >( FetchAddressDocument , variables , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type FetchAddressQueryCompositionFunctionResult = VueApolloComposable . UseQueryReturn < FetchAddressQuery , FetchAddressQueryVariables >
2022-08-03 18:40:05 +02:00
export const FetchFiltersDocument = gql `
query FetchFilters {
bands: IgnoredBands
cities: IgnoredCities
states: IgnoredStates
danceHalls: IgnoredDanceHalls
municipalities: IgnoredMunicipalities
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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();
*/
2024-02-05 16:48:02 +01:00
export function useFetchFiltersQuery ( options : VueApolloComposable.UseQueryOptions < FetchFiltersQuery , FetchFiltersQueryVariables > | VueCompositionApi . Ref < VueApolloComposable.UseQueryOptions < FetchFiltersQuery , FetchFiltersQueryVariables >> | ReactiveFunction < VueApolloComposable.UseQueryOptions < FetchFiltersQuery , FetchFiltersQueryVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useQuery < FetchFiltersQuery , FetchFiltersQueryVariables >( FetchFiltersDocument , {}, options )
2022-08-03 18:40:05 +02:00
}
2024-02-05 16:48:02 +01:00
export function useFetchFiltersLazyQuery ( options : VueApolloComposable.UseQueryOptions < FetchFiltersQuery , FetchFiltersQueryVariables > | VueCompositionApi . Ref < VueApolloComposable.UseQueryOptions < FetchFiltersQuery , FetchFiltersQueryVariables >> | ReactiveFunction < VueApolloComposable.UseQueryOptions < FetchFiltersQuery , FetchFiltersQueryVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useLazyQuery < FetchFiltersQuery , FetchFiltersQueryVariables >( FetchFiltersDocument , {}, options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type FetchFiltersQueryCompositionFunctionResult = VueApolloComposable . UseQueryReturn < FetchFiltersQuery , FetchFiltersQueryVariables >
2022-08-03 18:40:05 +02:00
export const FindEventsDocument = gql `
2023-08-01 20:21:31 +02:00
query FindEvents($range: Range, $origins: [String!], $includeOrigins: Boolean!, $search: String, $includeHidden: Boolean) {
events: Events(
range: $range
origins: $origins
search: $search
includeHidden: $includeHidden
) {
2022-08-03 18:40:05 +02:00
date
time
band {
name
}
danceHall {
name
city
municipality
state
}
extraInfo
distances {
origin
distance
duration
}
}
origins: Origins @include(if: $includeOrigins)
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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'
2023-08-01 20:21:31 +02:00
* search: // value for 'search'
* includeHidden: // value for 'includeHidden'
2022-08-03 18:40:05 +02:00
* });
*/
2024-02-05 16:48:02 +01:00
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 >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useQuery < FindEventsQuery , FindEventsQueryVariables >( FindEventsDocument , variables , options )
2022-08-03 18:40:05 +02:00
}
2024-02-05 16:48:02 +01:00
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 >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useLazyQuery < FindEventsQuery , FindEventsQueryVariables >( FindEventsDocument , variables , options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type FindEventsQueryCompositionFunctionResult = VueApolloComposable . UseQueryReturn < FindEventsQuery , FindEventsQueryVariables >
2022-08-03 18:40:05 +02:00
export const FindOriginsDocument = gql `
query FindOrigins {
origins: Origins
}
2024-02-02 16:38:51 +01:00
`
2022-08-03 18:40:05 +02:00
/**
* __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();
*/
2024-02-05 16:48:02 +01:00
export function useFindOriginsQuery ( options : VueApolloComposable.UseQueryOptions < FindOriginsQuery , FindOriginsQueryVariables > | VueCompositionApi . Ref < VueApolloComposable.UseQueryOptions < FindOriginsQuery , FindOriginsQueryVariables >> | ReactiveFunction < VueApolloComposable.UseQueryOptions < FindOriginsQuery , FindOriginsQueryVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useQuery < FindOriginsQuery , FindOriginsQueryVariables >( FindOriginsDocument , {}, options )
2022-08-03 18:40:05 +02:00
}
2024-02-05 16:48:02 +01:00
export function useFindOriginsLazyQuery ( options : VueApolloComposable.UseQueryOptions < FindOriginsQuery , FindOriginsQueryVariables > | VueCompositionApi . Ref < VueApolloComposable.UseQueryOptions < FindOriginsQuery , FindOriginsQueryVariables >> | ReactiveFunction < VueApolloComposable.UseQueryOptions < FindOriginsQuery , FindOriginsQueryVariables >> = {}) {
2024-02-02 16:38:51 +01:00
return VueApolloComposable . useLazyQuery < FindOriginsQuery , FindOriginsQueryVariables >( FindOriginsDocument , {}, options )
2022-08-03 18:40:05 +02:00
}
2025-06-13 15:21:27 +02:00
export type FindOriginsQueryCompositionFunctionResult = VueApolloComposable . UseQueryReturn < FindOriginsQuery , FindOriginsQueryVariables >
2024-02-02 16:38:51 +01:00
export interface PossibleTypesResultData {
2025-06-13 15:21:27 +02:00
possibleTypes : {
[ key : string ] : string []
}
}
2024-02-02 16:38:51 +01:00
const result : PossibleTypesResultData = {
2025-11-04 11:39:59 +01:00
'possibleTypes' : {},
2024-02-02 16:38:51 +01:00
}
export default result