forked from Yara724/api
fixed many bugs and step issues
This commit is contained in:
19
src/request-management/dto/claim-creation-hint.dto.ts
Normal file
19
src/request-management/dto/claim-creation-hint.dto.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { ApiProperty } from "@nestjs/swagger";
|
||||
|
||||
/**
|
||||
* Computed on GET blame v2 for the current viewer — no DB field on BlameRequest.
|
||||
*/
|
||||
export class ClaimCreationHintDto {
|
||||
@ApiProperty({
|
||||
description:
|
||||
"True if a v2 claim case already exists for this blame (by blameRequestId).",
|
||||
})
|
||||
hasClaim: boolean;
|
||||
|
||||
@ApiProperty({
|
||||
description:
|
||||
"True when this viewer is the damaged party, blame is COMPLETED, no claim exists yet, " +
|
||||
"and for THIRD_PARTY all parties have signed and accepted the expert decision.",
|
||||
})
|
||||
shouldGuideToCreateClaim: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user