namespace Application.Abstractions.YouTube;
///
/// YouTube Data API 연결을 실제로 호출해서 상세 결과를 반환하는 테스터.
/// 기존 는 실패를 null로 퉁쳐서 원인 파악이 어려우므로 별도 추상화.
///
public interface IYouTubeApiConnectionTester
{
Task TestAsync(string testChannelId, CancellationToken ct);
}
public sealed record YouTubeApiTestResult(
bool Ok,
int? HttpStatus,
string? ChannelTitle,
string? ChannelId,
string? ErrorMessage
);