Skip to content

Commit

Permalink
✅ add vehiclePart type
Browse files Browse the repository at this point in the history
  • Loading branch information
arunachalam-monk committed Sep 10, 2024
1 parent 2a8b6f7 commit e43a6f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('PhotoCaptureHUDElementsAddPartSelectShot component', () => {

it('should emit the selected parts to onAddDamageParts', () => {
const onAddDamageParts = jest.fn();
const { getByText } = render(
render(
<PhotoCaptureHUDElementsAddPartSelectShot
onCancel={() => {}}
onAddDamageParts={onAddDamageParts}
Expand Down
4 changes: 2 additions & 2 deletions packages/network/src/api/models/image.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TranslationObject } from '@monkvision/types';
import { TranslationObject, VehiclePart } from '@monkvision/types';
import type { ApiAdditionalData, ApiCenterOnElement, ApiLabelPrediction } from './common';
import type { ApiRenderedOutputs } from './renderedOutput';
import type { ApiImageComplianceResults } from './compliance';
Expand All @@ -19,7 +19,7 @@ export interface ApiRelatedImage {
export type ApiRelatedImages = ApiRelatedImage[];

export interface ApiViewpointComponent {
centers_on: ApiCenterOnElement[];
centers_on: Array<ApiCenterOnElement | VehiclePart>;
distance?: string;
is_exterior?: boolean;
}
Expand Down

0 comments on commit e43a6f3

Please sign in to comment.