feat(import): enhance import feedback with warning messages for file server directives and no sites found

This commit is contained in:
GitHub Actions
2026-01-31 22:38:12 +00:00
parent 5d8da28c23
commit 2253bf36b4
4 changed files with 73 additions and 8 deletions

View File

@@ -17,6 +17,8 @@ export interface ImportPreview {
conflicts: string[];
errors: string[];
};
/** Optional top-level warning message returned by the backend (file_server, no-sites, etc.) */
warning?: string;
caddyfile_content?: string;
conflict_details?: Record<string, {
existing: {