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
@@ -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'
|
||||
}
|
||||
Reference in new issue
Block a user