Add transcript status "reviewed"

Close #40
This commit is contained in:
2025-08-19 11:55:44 +02:00
parent e2192e5828
commit 2e6e7e2c53

View File

@@ -16,6 +16,7 @@ enum MDTranscriptionStatus implements MDValueEnumInterface, JsonSerializable {
case rough_draft; case rough_draft;
case quality_control_failed; case quality_control_failed;
case quality_control_passed; case quality_control_passed;
case reviewed;
/** /**
* Returns a value of this type based on a string. * Returns a value of this type based on a string.
@@ -32,6 +33,7 @@ enum MDTranscriptionStatus implements MDValueEnumInterface, JsonSerializable {
'rough_draft' => self::rough_draft, 'rough_draft' => self::rough_draft,
'quality_control_failed' => self::quality_control_failed, 'quality_control_failed' => self::quality_control_failed,
'quality_control_passed' => self::quality_control_passed, 'quality_control_passed' => self::quality_control_passed,
'reviewed' => self::reviewed,
default => throw new MDpageParameterNotFromListException("Unknown transcript status"), default => throw new MDpageParameterNotFromListException("Unknown transcript status"),
}; };
@@ -52,6 +54,7 @@ enum MDTranscriptionStatus implements MDValueEnumInterface, JsonSerializable {
3 => self::rough_draft, 3 => self::rough_draft,
4 => self::quality_control_failed, 4 => self::quality_control_failed,
5 => self::quality_control_passed, 5 => self::quality_control_passed,
6 => self::reviewed,
default => throw new MDpageParameterNotFromListException("Unknown transcript status"), default => throw new MDpageParameterNotFromListException("Unknown transcript status"),
}; };
@@ -88,6 +91,7 @@ enum MDTranscriptionStatus implements MDValueEnumInterface, JsonSerializable {
self::rough_draft => 3, self::rough_draft => 3,
self::quality_control_failed => 4, self::quality_control_failed => 4,
self::quality_control_passed => 5, self::quality_control_passed => 5,
self::reviewed => 6,
# default => throw new MDpageParameterNotFromListException("Unknown transcription type"), # default => throw new MDpageParameterNotFromListException("Unknown transcription type"),
}; };