package com.fabledsword.minstrel.models

/** Domain model for one tag-enrichment provider in the admin surface (#1521). */
data class AdminTagSourceRef(
    val id: String,
    val displayName: String,
    val requiresApiKey: Boolean,
    val supports: List<String>,
    val enabled: Boolean,
    val apiKeySet: Boolean,
    val testable: Boolean,
)

/** Result of a provider "test connection" call. */
data class TagSourceTestResult(
    val ok: Boolean,
    val durationMs: Long = 0,
    val error: String = "",
)
