Skip to main content

Function: buildDiagnosticsPayload()

buildDiagnosticsPayload(args: { canReset: boolean; encryptionLocked: boolean; encryptionMode: "passphrase" | "none"; generatedAtEpochMs: number; lastResult: CloudSyncResetResult | null; preview: CloudSyncResetPreview | null; status: CloudStatusSummary | null; statusText: string; summary: string | null; syncEnabled: boolean; }): DiagnosticsPayload

Defined in: src/components/Settings/cloud/SyncMaintenancePanel.utils.ts:186

Builds the structured diagnostics payload.

Parametersโ€‹

argsโ€‹

canResetโ€‹

boolean

encryptionLockedโ€‹

boolean

encryptionModeโ€‹

"passphrase" | "none"

generatedAtEpochMsโ€‹

number

lastResultโ€‹

CloudSyncResetResult | null

previewโ€‹

CloudSyncResetPreview | null

statusโ€‹

CloudStatusSummary | null

statusTextโ€‹

string

summaryโ€‹

string | null

syncEnabledโ€‹

boolean

Returnsโ€‹

DiagnosticsPayload