namespace AIStudio.Tools.Imports;
/// Capabilities of an import owner kind.
public static class ImportOwnerKindExtensions
{
/// The owner kind to look up.
extension(ImportOwnerKind kind)
{
///
/// Gets whether the owner stores its own source list and transcripts.
///
///
/// Owners that persist their own sources take the attached media over immediately and keep it
/// next to the stored document, see . The
/// attachment control must therefore neither wait for the transcription to finish before showing
/// the file, nor deliver the completed transcripts back into its own list afterwards, because
/// the owner already holds them. All other owners rely on that delivery instead.
///
/// true when the owner persists its own sources.
public bool PersistsOwnSources => kind is ImportOwnerKind.VISUAL_BRIEFING;
}
}