refactor: remove unused onboardingCompleted field from Settings

This commit is contained in:
weishu
2025-12-31 17:24:13 +08:00
parent 4efc263d9b
commit a0b1bb1524
2 changed files with 1 additions and 5 deletions
+1 -4
View File
@@ -13,7 +13,6 @@ import { encodeBase64 } from '@/api/encryption';
import { isProcessAlive } from '@/utils/process'; import { isProcessAlive } from '@/utils/process';
interface Settings { interface Settings {
onboardingCompleted: boolean
// This ID is used as the actual database ID on the server // This ID is used as the actual database ID on the server
// All machine operations use this ID // All machine operations use this ID
machineId?: string machineId?: string
@@ -22,9 +21,7 @@ interface Settings {
cliApiToken?: string cliApiToken?: string
} }
const defaultSettings: Settings = { const defaultSettings: Settings = {}
onboardingCompleted: false
}
/** /**
* Daemon state persisted locally (different from API DaemonState) * Daemon state persisted locally (different from API DaemonState)
-1
View File
@@ -11,7 +11,6 @@ import { randomBytes } from 'node:crypto'
import { dirname, join } from 'node:path' import { dirname, join } from 'node:path'
export interface Settings { export interface Settings {
onboardingCompleted?: boolean
machineId?: string machineId?: string
machineIdConfirmedByServer?: boolean machineIdConfirmedByServer?: boolean
daemonAutoStartWhenRunningHappy?: boolean daemonAutoStartWhenRunningHappy?: boolean