mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
refactor: remove unused onboardingCompleted field from Settings
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user