// // Profile.swift // Zyquo Atlas // // Author: Simon-Pierre Boucher // Mail: contact@spboucher.ai // // A browsing profile: an identity with its own website data store (cookies, // cache, local storage). Private profiles use a non-persistent store so no // browsing data touches disk. Phase 4 gives each profile its own theme, // favorites, and tabs; Phase 2 needs the identity + data-store distinction. // import Foundation struct Profile: Identifiable, Hashable { let id: UUID var name: String /// When true, browsing uses a non-persistent data store (incognito). let isPrivate: Bool init(id: UUID = UUID(), name: String, isPrivate: Bool = false) { self.id = id self.name = name self.isPrivate = isPrivate } /// The default persistent profile created on first launch. static let defaultProfile = Profile( id: UUID(uuidString: "00000000-0000-0000-0000-0000000A71A5")!, name: "Personal", isPrivate: false ) /// The shared private profile (non-persistent). static let privateProfile = Profile( id: UUID(uuidString: "00000000-0000-0000-0000-0000000B1A2E")!, name: "Private", isPrivate: true ) }