Created
December 10, 2025 16:17
-
-
Save broguinn/2a04aa5189703c5e769a9187fbc4d315 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/apps/parking-web/src/components/VehicleDetectionGrid.tsx b/apps/parking-web/src/components/VehicleDetectionGrid.tsx | |
| index 20475791..b6d27328 100644 | |
| --- a/apps/parking-web/src/components/VehicleDetectionGrid.tsx | |
| +++ b/apps/parking-web/src/components/VehicleDetectionGrid.tsx | |
| @@ -2,28 +2,16 @@ | |
| import React from 'react'; | |
| import { VehicleDetectionGrid as SharedVehicleDetectionGrid } from 'shared'; | |
| +import { YardVehicleRecognitionFiltersFragmentDoc } from '@shared/generated/graphql'; | |
| -import { gql, FragmentType } from '../generated'; | |
| - | |
| -const yardVehicleRecognitionFiltersFragment = gql(` | |
| - fragment yardVehicleRecognitionFilters on Yard { | |
| - id | |
| - shouldAIAnalize | |
| - fullName | |
| - lanes { | |
| - id | |
| - type | |
| - userFacingName | |
| - } | |
| - } | |
| -`); | |
| +import { FragmentType } from '../generated'; | |
| interface ParkingVehicleDetectionGridProps { | |
| hideFilters?: boolean; | |
| defaultYardId?: string; | |
| defaultLaneType?: string; | |
| defaultStartDate?: Date; | |
| - yards: Array<FragmentType<typeof yardVehicleRecognitionFiltersFragment>>; | |
| + yards: Array<FragmentType<typeof YardVehicleRecognitionFiltersFragmentDoc>>; | |
| } | |
| export const VehicleDetectionGrid: React.FC<ParkingVehicleDetectionGridProps> = (props) => ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment