Props for UpdateManagementSection component.

interface UpdateManagementSectionProps {
/** Current update channel (stable or beta). */
updateChannel: "stable" | "beta";
/** Whether update check is in progress. */
isCheckingUpdate: boolean;
/** Latest available update info or null. */
updateInfo: { version: string; url: string; isBeta: boolean } | null;
/** Error message if update check failed. */
updateError: string | null;
/** Whether update is currently downloading. */
isDownloading: boolean;
/** Download progress percentage (0-100). */
downloadProgress: number;
/** Whether update has been downloaded. */
isDownloaded: boolean;
/** Currently highlighted section ID. */
highlightedSectionId: string | null;
/** Callback when update channel changes. */
onUpdateChannelChange: (channel: "stable" | "beta") => void;
/** Callback to check for updates. */
onCheckForUpdates: () => void;
/** Callback to download update. */
onDownloadUpdate: () => void;
/** Callback to install update. */
onInstallUpdate: () => void;
/** Callback to open external URL. */
onOpenExternal: (url: string) => (e: React.SyntheticEvent) => void;
/** Map of section IDs to their collapsed states. */
collapsedSections: Record<string, boolean>;
/** Callback to toggle a section's collapsed state. */
onToggleSection: (sectionId: string) => void;
}
interface UpdateManagementSectionProps {
    updateChannel: "stable" | "beta";
    isCheckingUpdate: boolean;
    updateInfo: null | { version: string; url: string; isBeta: boolean };
    updateError: null | string;
    isDownloading: boolean;
    downloadProgress: number;
    isDownloaded: boolean;
    highlightedSectionId: null | string;
    onUpdateChannelChange: (channel: "stable" | "beta") => void;
    onCheckForUpdates: () => void;
    onDownloadUpdate: () => void;
    onInstallUpdate: () => void;
    onOpenExternal: (url: string) => (e: SyntheticEvent) => void;
    collapsedSections: Record<string, boolean>;
    onToggleSection: (sectionId: string) => void;
}

Properties

updateChannel: "stable" | "beta"

Current update channel (stable or beta).

isCheckingUpdate: boolean

Whether update check is in progress.

updateInfo: null | { version: string; url: string; isBeta: boolean }

Latest available update info or null.

updateError: null | string

Error message if update check failed.

isDownloading: boolean

Whether update is currently downloading.

downloadProgress: number

Download progress percentage (0-100).

isDownloaded: boolean

Whether update has been downloaded.

highlightedSectionId: null | string

Currently highlighted section ID.

onUpdateChannelChange: (channel: "stable" | "beta") => void

Callback when update channel changes.

onCheckForUpdates: () => void

Callback to check for updates.

onDownloadUpdate: () => void

Callback to download update.

onInstallUpdate: () => void

Callback to install update.

onOpenExternal: (url: string) => (e: SyntheticEvent) => void

Callback to open external URL.

collapsedSections: Record<string, boolean>

Map of section IDs to their collapsed states.

onToggleSection: (sectionId: string) => void

Callback to toggle a section's collapsed state.