forked from Yara724/api
Fixed claim/blame damagedParts
This commit is contained in:
@@ -72,10 +72,17 @@ export class CarAngleItem {
|
||||
*/
|
||||
export class DamagedPartItem {
|
||||
@ApiProperty({
|
||||
description: 'Part key',
|
||||
example: 'hood',
|
||||
description:
|
||||
'Side-agnostic part name (matches catalog suffix); use with `side` to disambiguate',
|
||||
example: 'backfender',
|
||||
})
|
||||
key: string;
|
||||
name: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description: 'Vehicle side / region (left, right, front, back, top)',
|
||||
example: 'left',
|
||||
})
|
||||
side?: string;
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Display label in Farsi',
|
||||
@@ -83,6 +90,12 @@ export class DamagedPartItem {
|
||||
})
|
||||
label_fa: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description: 'Deprecated: same as `name` (kept for older clients)',
|
||||
example: 'backfender',
|
||||
})
|
||||
key?: string;
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Display label in English',
|
||||
example: 'Hood',
|
||||
|
||||
Reference in New Issue
Block a user