add a refresh action
This commit is contained in:
@@ -66,6 +66,19 @@ struct TrainingVideoSummary: Identifiable, Decodable {
|
||||
}
|
||||
return URL(string: absolute)
|
||||
}
|
||||
|
||||
func copy(durationMs: Int64? = self.durationMs, sentenceCount: Int = self.sentenceCount) -> Self {
|
||||
TrainingVideoSummary(
|
||||
videoHash: videoHash,
|
||||
title: title,
|
||||
streamUrl: streamUrl,
|
||||
durationMs: durationMs,
|
||||
sizeBytes: sizeBytes,
|
||||
language: language,
|
||||
sentenceCount: sentenceCount,
|
||||
status: status
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
struct TrainingMediaItem: Identifiable, Equatable {
|
||||
|
||||
Reference in New Issue
Block a user