Исправление GraphQL ошибок: удаление несуществующих полей из запросов Laximo
- Удалены несуществующие поля doors, frame, frames, framefrom, frameto, engine1, engine2, attributes - Обновлены GraphQL запросы для соответствия схеме - Обновлены TypeScript типы LaximoVehicleSearchResult - Сохранены улучшения UI из удаленного репозитория - Исправлены ApolloError при поиске автомобилей
This commit is contained in:
@ -540,7 +540,9 @@ export const FIND_LAXIMO_VEHICLE_BY_WIZARD = gql`
|
||||
query FindLaximoVehicleByWizard($catalogCode: String!, $ssd: String!) {
|
||||
laximoFindVehicleByWizard(catalogCode: $catalogCode, ssd: $ssd) {
|
||||
vehicleid
|
||||
name
|
||||
brand
|
||||
catalog
|
||||
model
|
||||
modification
|
||||
year
|
||||
@ -548,12 +550,29 @@ export const FIND_LAXIMO_VEHICLE_BY_WIZARD = gql`
|
||||
engine
|
||||
notes
|
||||
ssd
|
||||
transmission
|
||||
date
|
||||
manufactured
|
||||
framecolor
|
||||
trimcolor
|
||||
engine_info
|
||||
engineno
|
||||
market
|
||||
prodRange
|
||||
prodPeriod
|
||||
destinationregion
|
||||
creationregion
|
||||
datefrom
|
||||
dateto
|
||||
modelyearfrom
|
||||
modelyearto
|
||||
options
|
||||
description
|
||||
grade
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
|
||||
export const FIND_LAXIMO_VEHICLE_BY_PLATE = gql`
|
||||
query FindLaximoVehicleByPlate($catalogCode: String!, $plateNumber: String!) {
|
||||
laximoFindVehicleByPlate(catalogCode: $catalogCode, plateNumber: $plateNumber) {
|
||||
@ -628,8 +647,6 @@ export const FIND_LAXIMO_VEHICLE_BY_PLATE_GLOBAL = gql`
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
|
||||
export const FIND_LAXIMO_PART_REFERENCES = gql`
|
||||
query FindLaximoPartReferences($partNumber: String!) {
|
||||
laximoFindPartReferences(partNumber: $partNumber)
|
||||
@ -695,6 +712,25 @@ export const FIND_LAXIMO_VEHICLES_BY_PART_NUMBER = gql`
|
||||
engine
|
||||
notes
|
||||
ssd
|
||||
transmission
|
||||
date
|
||||
manufactured
|
||||
framecolor
|
||||
trimcolor
|
||||
engine_info
|
||||
engineno
|
||||
market
|
||||
prodRange
|
||||
prodPeriod
|
||||
destinationregion
|
||||
creationregion
|
||||
datefrom
|
||||
dateto
|
||||
modelyearfrom
|
||||
modelyearto
|
||||
options
|
||||
description
|
||||
grade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user