forked from Yara724/api
blame and claim refactored
This commit is contained in:
@@ -101,3 +101,27 @@ export class AllRequestDtoRs {
|
||||
this.data = requests.map((r) => new AllRequestDto(r));
|
||||
}
|
||||
}
|
||||
|
||||
/** V2: list item from blameCases (BlameRequest) for expert panel */
|
||||
export class AllRequestDtoV2 {
|
||||
requestId: string;
|
||||
status: string;
|
||||
userComment: null;
|
||||
requestCode: string;
|
||||
date: string;
|
||||
time: string;
|
||||
updatedAtDate: string;
|
||||
updatedAtTime: string;
|
||||
lockFile: boolean;
|
||||
lockTime: string | null;
|
||||
type: string;
|
||||
blameStatus: string;
|
||||
partiesInitialForms: { firstParty: string; secondParty: string };
|
||||
}
|
||||
|
||||
export class AllRequestDtoRsV2 {
|
||||
data: AllRequestDtoV2[];
|
||||
constructor(items: AllRequestDtoV2[]) {
|
||||
this.data = items;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user