Bump release version and snapshot startup state
This commit is contained in:
@@ -43,6 +43,15 @@ export interface SavedStateResponse {
|
||||
generatedConfigPath: string;
|
||||
}
|
||||
|
||||
export interface StartupSnapshotResponse {
|
||||
adminStatus: AdminStatusResponse;
|
||||
savedState: SavedStateResponse;
|
||||
components: ComponentStatus[];
|
||||
proxifyreSetupStatus: ProxiFyreSetupStatus;
|
||||
singboxStatus: LocalSingBoxStatusResponse;
|
||||
singboxSetupStatus: SingBoxSetupStatus;
|
||||
}
|
||||
|
||||
export interface ProxiFyreSetupItem {
|
||||
id: string;
|
||||
name: string;
|
||||
@@ -150,6 +159,10 @@ export function restartAsAdmin(): Promise<void> {
|
||||
return invoke<void>('restart_as_admin');
|
||||
}
|
||||
|
||||
export function getStartupSnapshot(): Promise<StartupSnapshotResponse> {
|
||||
return invoke<StartupSnapshotResponse>('get_startup_snapshot');
|
||||
}
|
||||
|
||||
export function getSavedState(): Promise<SavedStateResponse> {
|
||||
return invoke<SavedStateResponse>('get_saved_state');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user