summaryrefslogtreecommitdiff
path: root/LookupSnapshot.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-24 12:38:38 -0500
committerChristian Cleberg <[email protected]>2026-04-24 12:38:38 -0500
commitd0b3b7a15b59266b4ae4262fdb0364245092c17c (patch)
tree5adb0df9963caf78aa98fa17adfb2c175291ded9 /LookupSnapshot.swift
parentb35f1b432fc24fbab1fa05593c9a0bca7e4d95a6 (diff)
downloaddomain-dig-d0b3b7a15b59266b4ae4262fdb0364245092c17c.tar.gz
domain-dig-d0b3b7a15b59266b4ae4262fdb0364245092c17c.tar.bz2
domain-dig-d0b3b7a15b59266b4ae4262fdb0364245092c17c.zip
feat(v3.7.0): add timeline and advanced diffing system
- introduce TimelineView for historical snapshots - allow comparison between any two snapshots - implement DiffService for structured domain diffs - improve diff visualization with clear change indicators - add navigation across changes - optimize history loading for performance - extend CLI and export to support timeline data
Diffstat (limited to 'LookupSnapshot.swift')
-rw-r--r--LookupSnapshot.swift8
1 files changed, 8 insertions, 0 deletions
diff --git a/LookupSnapshot.swift b/LookupSnapshot.swift
index a817805..752e7f2 100644
--- a/LookupSnapshot.swift
+++ b/LookupSnapshot.swift
@@ -20,6 +20,10 @@ struct LookupSnapshot {
let isPartialSnapshot: Bool
let validationIssues: [String]
let totalLookupDurationMs: Int?
+ let snapshotIndex: Int?
+ let previousSnapshotID: UUID?
+ let changeCount: Int
+ let severitySummary: ChangeSeverity?
let dnsSections: [DNSSection]
let dnsError: String?
let availabilityResult: DomainAvailabilityResult?
@@ -90,6 +94,10 @@ extension HistoryEntry {
isPartialSnapshot: isPartialSnapshot,
validationIssues: validationIssues,
totalLookupDurationMs: totalLookupDurationMs,
+ snapshotIndex: snapshotIndex,
+ previousSnapshotID: previousSnapshotID,
+ changeCount: changeCount,
+ severitySummary: severitySummary,
dnsSections: dnsSections,
dnsError: nil,
availabilityResult: availabilityResult,