Skip to content

Commit

Permalink
Update ui
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiltsov-max committed Jun 8, 2023
1 parent 3b1a60d commit e548da0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions cvat-core/src/quality-conflict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface RawAnnotationConflictData {
obj_id?: number;
client_id?: number;
type?: string;
shape_type?: string | null;
conflict_type?: string;
severity?: string;
}
Expand All @@ -37,6 +38,7 @@ export class AnnotationConflict {
public readonly serverID: number;
public clientID: number;
public readonly type: string;
public readonly shapeType: string | null;
public readonly conflictType: QualityConflictType;
public readonly severity: ConflictSeverity;
public readonly description: string;
Expand All @@ -47,6 +49,7 @@ export class AnnotationConflict {
obj_id: undefined,
client_id: undefined,
type: undefined,
shape_type: undefined,
conflict_type: undefined,
severity: undefined,
};
Expand Down Expand Up @@ -75,6 +78,9 @@ export class AnnotationConflict {
type: {
get: () => data.type,
},
shapeType: {
get: () => data.shape_type,
},
conflictType: {
get: () => data.conflict_type,
},
Expand Down
6 changes: 0 additions & 6 deletions cvat-core/src/quality-report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export interface RawQualityReportData {
covered_annotation: number,
}
};
parameters?: object;
}

export interface QualitySummary {
Expand Down Expand Up @@ -66,7 +65,6 @@ export default class QualityReport {
public readonly createdDate: string;
public readonly gtLastUpdated: string;
public readonly summary: QualitySummary;
public readonly parameters: object;

constructor(initialData: RawQualityReportData) {
const data: RawQualityReportData = {
Expand All @@ -77,7 +75,6 @@ export default class QualityReport {
target: '',
gt_last_updated: undefined,
summary: undefined,
parameters: {},
created_date: undefined,
};

Expand Down Expand Up @@ -134,9 +131,6 @@ export default class QualityReport {
warningCount: data.summary.warning_count,
}),
},
parameters: {
get: () => data.parameters,
},
createdDate: {
get: () => data.created_date,
},
Expand Down

0 comments on commit e548da0

Please sign in to comment.