feat(domains): enhance domain management with activation states and sync options
This commit is contained in:
		| @@ -71,6 +71,14 @@ export interface IDomain { | ||||
|      * SSL certificate status | ||||
|      */ | ||||
|     sslStatus?: 'active' | 'pending' | 'expired' | 'none'; | ||||
|  | ||||
|     /** | ||||
|      * Cloudly activation state controls whether we actively manage DNS/certificates | ||||
|      * - available: discovered/imported, not actively managed | ||||
|      * - activated: actively managed (DNS edits allowed, certs considered) | ||||
|      * - ignored: explicitly ignored from management/automation | ||||
|      */ | ||||
|     activationState?: 'available' | 'activated' | 'ignored'; | ||||
|      | ||||
|     /** | ||||
|      * Last verification attempt timestamp | ||||
| @@ -91,6 +99,12 @@ export interface IDomain { | ||||
|      * Cloudflare zone ID if managed by Cloudflare | ||||
|      */ | ||||
|     cloudflareZoneId?: string; | ||||
|  | ||||
|     /** | ||||
|      * Sync metadata | ||||
|      */ | ||||
|     syncSource?: 'cloudflare' | 'manual' | null; | ||||
|     lastSyncAt?: number; | ||||
|      | ||||
|     /** | ||||
|      * Whether domain is managed externally | ||||
| @@ -107,4 +121,4 @@ export interface IDomain { | ||||
|      */ | ||||
|     updatedAt?: number; | ||||
|   }; | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user