diff --git a/src/lib/api/evaluation.ts b/src/lib/api/evaluation.ts index c56a2cd..72cac01 100644 --- a/src/lib/api/evaluation.ts +++ b/src/lib/api/evaluation.ts @@ -14,6 +14,7 @@ export type ComplianceStatus = | 'EVALUATION_STATUS_NOT_COMPLIANT' | 'EVALUATION_STATUS_COMPLIANT' | 'EVALUATION_STATUS_COMPLIANT_MANUALLY' + | 'EVALUATION_STATUS_NOT_COMPLIANT_MANUALLY' | 'EVALUATION_STATUS_PENDING' | 'EVALUATION_STATUS_DELEGATED' ; @@ -28,7 +29,8 @@ export interface EvaluationResult { parentControlId?: string timestamp: string, failingAssessmentResultIds: string[] - comment?: string + comment?: string, + validUntil?: string } export async function startEvaluation(toe: TargetOfEvaluation): Promise { diff --git a/src/lib/components/AddEvaluationResultDialog.svelte b/src/lib/components/AddEvaluationResultDialog.svelte index d40cbf3..7d394af 100644 --- a/src/lib/components/AddEvaluationResultDialog.svelte +++ b/src/lib/components/AddEvaluationResultDialog.svelte @@ -1,4 +1,14 @@ + + @@ -52,21 +73,19 @@

Using this form, you can provide a manual evaluation result that will be - considered as compliant. + considered as

- -
+
- +
@@ -74,9 +93,9 @@
- +