Move PageFetcherSettings back to page-fetcher-api/Settings/, matching SmtpSettings pattern
Server-side-only settings (internal config not needed by callers) belong in the API project itself, not in the models project. PageFetcherSettings (DefaultWaitFor, TimeoutSeconds, MaxTextChars) mirrors SmtpSettings in email-api/Settings/ — callers never reference these. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@ using System.Reflection;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using PageFetcher.Data;
|
||||
using PageFetcherApi.Services;
|
||||
using PageFetcher.Models.Settings;
|
||||
using PageFetcherApi.Settings;
|
||||
using Serilog;
|
||||
using StartupHelpers;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Microsoft.Playwright;
|
||||
using PageFetcher.Data;
|
||||
using PageFetcher.Data.Entities;
|
||||
using PageFetcher.Models;
|
||||
using PageFetcher.Models.Settings;
|
||||
using PageFetcherApi.Settings;
|
||||
|
||||
namespace PageFetcherApi.Services;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace PageFetcher.Models.Settings;
|
||||
namespace PageFetcherApi.Settings;
|
||||
|
||||
/// <summary>
|
||||
/// Runtime settings for the page-fetcher service.
|
||||
Reference in New Issue
Block a user