@decky/ui 4.9.2 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/globals/SteamClient.d.ts +1 -304
- package/dist/globals/steam-client/App.d.ts +880 -0
- package/dist/globals/steam-client/App.js +320 -0
- package/dist/globals/steam-client/Auth.d.ts +57 -0
- package/dist/globals/steam-client/Auth.js +19 -0
- package/dist/globals/steam-client/Broadcast.d.ts +22 -0
- package/dist/globals/steam-client/Broadcast.js +1 -0
- package/dist/globals/steam-client/Browser.d.ts +45 -0
- package/dist/globals/steam-client/Browser.js +17 -0
- package/dist/globals/steam-client/ClientNotifications.d.ts +20 -0
- package/dist/globals/steam-client/ClientNotifications.js +6 -0
- package/dist/globals/steam-client/Cloud.d.ts +4 -0
- package/dist/globals/steam-client/Cloud.js +1 -0
- package/dist/globals/steam-client/CommunityItems.d.ts +5 -0
- package/dist/globals/steam-client/CommunityItems.js +1 -0
- package/dist/globals/steam-client/Console.d.ts +11 -0
- package/dist/globals/steam-client/Console.js +1 -0
- package/dist/globals/steam-client/Customization.d.ts +8 -0
- package/dist/globals/steam-client/Customization.js +1 -0
- package/dist/globals/steam-client/Downloads.d.ts +63 -0
- package/dist/globals/steam-client/Downloads.js +1 -0
- package/dist/globals/steam-client/FamilySharing.d.ts +20 -0
- package/dist/globals/steam-client/FamilySharing.js +1 -0
- package/dist/globals/steam-client/FriendSettings.d.ts +49 -0
- package/dist/globals/steam-client/FriendSettings.js +6 -0
- package/dist/globals/steam-client/Friends.d.ts +27 -0
- package/dist/globals/steam-client/Friends.js +1 -0
- package/dist/globals/steam-client/GameNotes.d.ts +41 -0
- package/dist/globals/steam-client/GameNotes.js +1 -0
- package/dist/globals/steam-client/GameRecording.d.ts +20 -0
- package/dist/globals/steam-client/GameRecording.js +1 -0
- package/dist/globals/steam-client/GameSessions.d.ts +26 -0
- package/dist/globals/steam-client/GameSessions.js +1 -0
- package/dist/globals/steam-client/Input.d.ts +421 -0
- package/dist/globals/steam-client/Input.js +170 -0
- package/dist/globals/steam-client/InstallFolder.d.ts +57 -0
- package/dist/globals/steam-client/InstallFolder.js +1 -0
- package/dist/globals/steam-client/Installs.d.ts +60 -0
- package/dist/globals/steam-client/Installs.js +20 -0
- package/dist/globals/steam-client/Messaging.d.ts +5 -0
- package/dist/globals/steam-client/Messaging.js +1 -0
- package/dist/globals/steam-client/Music.d.ts +36 -0
- package/dist/globals/steam-client/Music.js +14 -0
- package/dist/globals/steam-client/Notifications.d.ts +260 -0
- package/dist/globals/steam-client/Notifications.js +73 -0
- package/dist/globals/steam-client/OpenVR.d.ts +85 -0
- package/dist/globals/steam-client/OpenVR.js +16 -0
- package/dist/globals/steam-client/Overlay.d.ts +58 -0
- package/dist/globals/steam-client/Overlay.js +18 -0
- package/dist/globals/steam-client/Parental.d.ts +69 -0
- package/dist/globals/steam-client/Parental.js +19 -0
- package/dist/globals/steam-client/RemotePlay.d.ts +225 -0
- package/dist/globals/steam-client/RemotePlay.js +71 -0
- package/dist/globals/steam-client/Screenshots.d.ts +47 -0
- package/dist/globals/steam-client/Screenshots.js +8 -0
- package/dist/globals/steam-client/ServerBrowser.d.ts +117 -0
- package/dist/globals/steam-client/ServerBrowser.js +26 -0
- package/dist/globals/steam-client/Settings.d.ts +398 -0
- package/dist/globals/steam-client/Settings.js +96 -0
- package/dist/globals/steam-client/SharedConnection.d.ts +22 -0
- package/dist/globals/steam-client/SharedConnection.js +1 -0
- package/dist/globals/steam-client/Stats.d.ts +4 -0
- package/dist/globals/steam-client/Stats.js +1 -0
- package/dist/globals/steam-client/SteamChina.d.ts +3 -0
- package/dist/globals/steam-client/SteamChina.js +1 -0
- package/dist/globals/steam-client/Storage.d.ts +8 -0
- package/dist/globals/steam-client/Storage.js +1 -0
- package/dist/globals/steam-client/Streaming.d.ts +15 -0
- package/dist/globals/steam-client/Streaming.js +1 -0
- package/dist/globals/steam-client/UI.d.ts +44 -0
- package/dist/globals/steam-client/UI.js +12 -0
- package/dist/globals/steam-client/URL.d.ts +16 -0
- package/dist/globals/steam-client/URL.js +1 -0
- package/dist/globals/steam-client/Updates.d.ts +68 -0
- package/dist/globals/steam-client/Updates.js +34 -0
- package/dist/globals/steam-client/User.d.ts +130 -0
- package/dist/globals/steam-client/User.js +33 -0
- package/dist/globals/steam-client/WebChat.d.ts +60 -0
- package/dist/globals/steam-client/WebChat.js +6 -0
- package/dist/globals/steam-client/WebUITransport.d.ts +11 -0
- package/dist/globals/steam-client/WebUITransport.js +1 -0
- package/dist/globals/steam-client/Window.d.ts +66 -0
- package/dist/globals/steam-client/Window.js +6 -0
- package/dist/globals/steam-client/browser-view/BrowserViewPopup.d.ts +124 -0
- package/dist/globals/steam-client/browser-view/BrowserViewPopup.js +35 -0
- package/dist/globals/steam-client/browser-view/index.d.ts +20 -0
- package/dist/globals/steam-client/browser-view/index.js +1 -0
- package/dist/globals/steam-client/index.d.ts +89 -0
- package/dist/globals/steam-client/index.js +1 -0
- package/dist/globals/steam-client/shared.d.ts +166 -0
- package/dist/globals/steam-client/shared.js +146 -0
- package/dist/globals/steam-client/system/Audio.d.ts +42 -0
- package/dist/globals/steam-client/system/Audio.js +1 -0
- package/dist/globals/steam-client/system/AudioDevice.d.ts +92 -0
- package/dist/globals/steam-client/system/AudioDevice.js +33 -0
- package/dist/globals/steam-client/system/Bluetooth.d.ts +47 -0
- package/dist/globals/steam-client/system/Bluetooth.js +15 -0
- package/dist/globals/steam-client/system/Devkit.d.ts +7 -0
- package/dist/globals/steam-client/system/Devkit.js +1 -0
- package/dist/globals/steam-client/system/Display.d.ts +10 -0
- package/dist/globals/steam-client/system/Display.js +1 -0
- package/dist/globals/steam-client/system/DisplayManager.d.ts +9 -0
- package/dist/globals/steam-client/system/DisplayManager.js +1 -0
- package/dist/globals/steam-client/system/Dock.d.ts +19 -0
- package/dist/globals/steam-client/system/Dock.js +1 -0
- package/dist/globals/steam-client/system/Perf.d.ts +159 -0
- package/dist/globals/steam-client/system/Perf.js +53 -0
- package/dist/globals/steam-client/system/Report.d.ts +13 -0
- package/dist/globals/steam-client/system/Report.js +1 -0
- package/dist/globals/steam-client/system/UI.d.ts +28 -0
- package/dist/globals/steam-client/system/UI.js +1 -0
- package/dist/globals/steam-client/system/index.d.ts +243 -0
- package/dist/globals/steam-client/system/index.js +111 -0
- package/dist/globals/steam-client/system/network/Device.d.ts +10 -0
- package/dist/globals/steam-client/system/network/Device.js +1 -0
- package/dist/globals/steam-client/system/network/index.d.ts +312 -0
- package/dist/globals/steam-client/system/network/index.js +55 -0
- package/dist/globals/stores.d.ts +26 -13
- package/dist/modules/Router.d.ts +2 -39
- package/dist/modules/Router.js +0 -39
- package/package.json +1 -1
- package/src/globals/SteamClient.ts +4 -320
- package/src/globals/steam-client/App.ts +1749 -0
- package/src/globals/steam-client/Auth.ts +105 -0
- package/src/globals/steam-client/Broadcast.ts +56 -0
- package/src/globals/steam-client/Browser.ts +91 -0
- package/src/globals/steam-client/ClientNotifications.ts +39 -0
- package/src/globals/steam-client/Cloud.ts +14 -0
- package/src/globals/steam-client/CommunityItems.ts +24 -0
- package/src/globals/steam-client/Console.ts +43 -0
- package/src/globals/steam-client/Customization.ts +12 -0
- package/src/globals/steam-client/Downloads.ts +175 -0
- package/src/globals/steam-client/FamilySharing.ts +30 -0
- package/src/globals/steam-client/FriendSettings.ts +80 -0
- package/src/globals/steam-client/Friends.ts +70 -0
- package/src/globals/steam-client/GameNotes.ts +73 -0
- package/src/globals/steam-client/GameRecording.ts +29 -0
- package/src/globals/steam-client/GameSessions.ts +59 -0
- package/src/globals/steam-client/Input.ts +762 -0
- package/src/globals/steam-client/InstallFolder.ts +167 -0
- package/src/globals/steam-client/Installs.ts +131 -0
- package/src/globals/steam-client/Messaging.ts +20 -0
- package/src/globals/steam-client/Music.ts +99 -0
- package/src/globals/steam-client/Notifications.ts +333 -0
- package/src/globals/steam-client/OpenVR.ts +122 -0
- package/src/globals/steam-client/Overlay.ts +172 -0
- package/src/globals/steam-client/Parental.ts +129 -0
- package/src/globals/steam-client/RemotePlay.ts +342 -0
- package/src/globals/steam-client/Screenshots.ts +149 -0
- package/src/globals/steam-client/ServerBrowser.ts +372 -0
- package/src/globals/steam-client/Settings.ts +663 -0
- package/src/globals/steam-client/SharedConnection.ts +43 -0
- package/src/globals/steam-client/Stats.ts +10 -0
- package/src/globals/steam-client/SteamChina.ts +3 -0
- package/src/globals/steam-client/Storage.ts +24 -0
- package/src/globals/steam-client/Streaming.ts +59 -0
- package/src/globals/steam-client/UI.ts +90 -0
- package/src/globals/steam-client/URL.ts +174 -0
- package/src/globals/steam-client/Updates.ts +101 -0
- package/src/globals/steam-client/User.ts +266 -0
- package/src/globals/steam-client/WebChat.ts +164 -0
- package/src/globals/steam-client/WebUITransport.ts +21 -0
- package/src/globals/steam-client/Window.ts +235 -0
- package/src/globals/steam-client/browser-view/BrowserViewPopup.ts +393 -0
- package/src/globals/steam-client/browser-view/index.ts +54 -0
- package/src/globals/steam-client/index.ts +90 -0
- package/src/globals/steam-client/shared.ts +262 -0
- package/src/globals/steam-client/system/Audio.ts +202 -0
- package/src/globals/steam-client/system/AudioDevice.ts +116 -0
- package/src/globals/steam-client/system/Bluetooth.ts +171 -0
- package/src/globals/steam-client/system/Devkit.ts +11 -0
- package/src/globals/steam-client/system/Display.ts +15 -0
- package/src/globals/steam-client/system/DisplayManager.ts +16 -0
- package/src/globals/steam-client/system/Dock.ts +34 -0
- package/src/globals/steam-client/system/Perf.ts +194 -0
- package/src/globals/steam-client/system/Report.ts +39 -0
- package/src/globals/steam-client/system/UI.ts +38 -0
- package/src/globals/steam-client/system/index.ts +390 -0
- package/src/globals/steam-client/system/network/Device.ts +17 -0
- package/src/globals/steam-client/system/network/index.ts +403 -0
- package/src/globals/stores.ts +30 -13
- package/src/modules/Router.ts +2 -40
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import { JsPbMessage, OperationResponse, Unregisterable } from "../shared";
|
|
2
|
+
import {Audio} from "./Audio";
|
|
3
|
+
import {AudioDevice} from "./AudioDevice";
|
|
4
|
+
import {Bluetooth} from "./Bluetooth";
|
|
5
|
+
import {Devkit} from "./Devkit";
|
|
6
|
+
import {Display} from "./Display";
|
|
7
|
+
import {DisplayManager} from "./DisplayManager";
|
|
8
|
+
import {Dock} from "./Dock";
|
|
9
|
+
import {Network} from "./network";
|
|
10
|
+
import {Perf} from "./Perf";
|
|
11
|
+
import {Report} from "./Report";
|
|
12
|
+
import {UI} from "./UI";
|
|
13
|
+
|
|
14
|
+
export interface System {
|
|
15
|
+
Audio: Audio;
|
|
16
|
+
AudioDevice: AudioDevice;
|
|
17
|
+
Bluetooth: Bluetooth;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @returns a boolean indicating whether the operation succeeded.
|
|
21
|
+
*/
|
|
22
|
+
CopyFile(target: string, destination: string): Promise<boolean>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Copies specified files to clipboard.
|
|
26
|
+
* Does not throw if not found.
|
|
27
|
+
* @param paths File paths to copy.
|
|
28
|
+
*/
|
|
29
|
+
CopyFilesToClipboard(paths: string[]): void;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Creates a temporary folder.
|
|
33
|
+
* @param path The folder to create.
|
|
34
|
+
* @returns the created path.
|
|
35
|
+
* @todo Does this support relative paths ? this has some weird behavior
|
|
36
|
+
*/
|
|
37
|
+
CreateTempPath(path: string): Promise<string>;
|
|
38
|
+
|
|
39
|
+
Devkit: Devkit;
|
|
40
|
+
Display: Display;
|
|
41
|
+
DisplayManager: DisplayManager;
|
|
42
|
+
Dock: Dock;
|
|
43
|
+
|
|
44
|
+
ExitFakeCaptivePortal(): any;
|
|
45
|
+
|
|
46
|
+
FactoryReset(): any;
|
|
47
|
+
|
|
48
|
+
FormatStorage(force: boolean): any;
|
|
49
|
+
|
|
50
|
+
GetOSType(): Promise<EOSType>;
|
|
51
|
+
|
|
52
|
+
GetSystemInfo(): Promise<SystemInfo>;
|
|
53
|
+
|
|
54
|
+
IsDeckFactoryImage(): Promise<boolean>;
|
|
55
|
+
|
|
56
|
+
IsSteamInTournamentMode(): Promise<boolean>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Moves a file.
|
|
60
|
+
* @param target Target file/folder.
|
|
61
|
+
* @param destination Destination path.
|
|
62
|
+
* @remarks Does not throw on error.
|
|
63
|
+
*/
|
|
64
|
+
MoveFile(target: string, destination: string): void;
|
|
65
|
+
|
|
66
|
+
Network: Network;
|
|
67
|
+
|
|
68
|
+
NotifyGameOverlayStateChanged(latestAppOverlayStateActive: boolean, appId: number): any;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Open a dialog for choosing a file.
|
|
72
|
+
* @param prefs Dialog preferences.
|
|
73
|
+
* @returns the selected file name.
|
|
74
|
+
* @throws OperationResponse if no file was selected.
|
|
75
|
+
*/
|
|
76
|
+
OpenFileDialog(prefs: FileDialog): Promise<string | OperationResponse>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Open a URL in the default web browser.
|
|
80
|
+
*/
|
|
81
|
+
OpenInSystemBrowser(url: string): void;
|
|
82
|
+
|
|
83
|
+
OpenLocalDirectoryInSystemExplorer(directory: string): void;
|
|
84
|
+
Perf: Perf;
|
|
85
|
+
|
|
86
|
+
RebootToAlternateSystemPartition(): any;
|
|
87
|
+
|
|
88
|
+
RebootToFactoryTestImage(param0: any): any;
|
|
89
|
+
|
|
90
|
+
RegisterForAirplaneModeChanges(callback: (state: AirplaneModeState) => void): Unregisterable;
|
|
91
|
+
|
|
92
|
+
RegisterForBatteryStateChanges(callback: (state: BatteryState) => void): Unregisterable;
|
|
93
|
+
|
|
94
|
+
RegisterForFormatStorageProgress(callback: (progress: FormatStorageProgress) => void): Unregisterable;
|
|
95
|
+
|
|
96
|
+
RegisterForOnResumeFromSuspend(callback: () => void): Unregisterable;
|
|
97
|
+
|
|
98
|
+
RegisterForOnSuspendRequest(callback: () => void): Unregisterable;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @returns a ProtoBuf message. If deserialized, returns {@link CMsgSystemManagerSettings}.
|
|
102
|
+
*/
|
|
103
|
+
RegisterForSettingsChanges(callback: (data: ArrayBuffer) => void): Unregisterable;
|
|
104
|
+
|
|
105
|
+
Report: Report;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Restarts the system.
|
|
109
|
+
*/
|
|
110
|
+
RestartPC(): any;
|
|
111
|
+
|
|
112
|
+
SetAirplaneMode(value: boolean): void;
|
|
113
|
+
|
|
114
|
+
ShutdownPC(): any;
|
|
115
|
+
|
|
116
|
+
SteamRuntimeSystemInfo(): Promise<string>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Suspends the system.
|
|
120
|
+
*/
|
|
121
|
+
SuspendPC(): any;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Switches to desktop mode.
|
|
125
|
+
*/
|
|
126
|
+
SwitchToDesktop(): any;
|
|
127
|
+
|
|
128
|
+
UI: UI;
|
|
129
|
+
UpdateSettings: any;
|
|
130
|
+
|
|
131
|
+
VideoRecordingDriverCheck(): any;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export interface AirplaneModeState {
|
|
135
|
+
bEnabled: boolean;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export interface BatteryState {
|
|
139
|
+
bHasBattery: boolean;
|
|
140
|
+
eACState: EACState;
|
|
141
|
+
eBatteryState: EBatteryState;
|
|
142
|
+
/**
|
|
143
|
+
* Battery Percentage in floating point 0-1.
|
|
144
|
+
*/
|
|
145
|
+
flLevel: number;
|
|
146
|
+
/**
|
|
147
|
+
* Appears to be charge time remaining or time remaining on battery.
|
|
148
|
+
*/
|
|
149
|
+
nSecondsRemaining: number;
|
|
150
|
+
bShutdownRequested: boolean;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export interface FormatStorageProgress {
|
|
154
|
+
flProgress: number;
|
|
155
|
+
rtEstimatedCompletionTime: number;
|
|
156
|
+
eStage: EStorageFormatStage;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export enum EACState {
|
|
160
|
+
Unknown,
|
|
161
|
+
Disconnected,
|
|
162
|
+
Connected,
|
|
163
|
+
ConnectedSlow,
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export enum EBatteryState {
|
|
167
|
+
Unknown,
|
|
168
|
+
Discharging,
|
|
169
|
+
Charging,
|
|
170
|
+
Full,
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export enum EStorageFormatStage {
|
|
174
|
+
Invalid,
|
|
175
|
+
NotRunning,
|
|
176
|
+
Starting,
|
|
177
|
+
Testing,
|
|
178
|
+
Rescuing,
|
|
179
|
+
Formatting,
|
|
180
|
+
Finalizing,
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface FileDialog {
|
|
184
|
+
/** Whether to choose a directory instead. */
|
|
185
|
+
bChooseDirectory?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Array of file filters.
|
|
188
|
+
* @example
|
|
189
|
+
* Example from the "Add a Non-Steam Game" dialog:
|
|
190
|
+
* ```
|
|
191
|
+
* [
|
|
192
|
+
* {
|
|
193
|
+
* strFileTypeName: LocalizationManager.LocalizeString("#AddNonSteam_Filter_Exe_Linux"),
|
|
194
|
+
* rFilePatterns: [ "*.application", "*.exe", "*.sh", "*.AppImage" ],
|
|
195
|
+
* bUseAsDefault: true,
|
|
196
|
+
* },
|
|
197
|
+
* {
|
|
198
|
+
* strFileTypeName: LocalizationManager.LocalizeString("#AddNonSteam_Filter_All"),
|
|
199
|
+
* rFilePatterns: [ "*" ],
|
|
200
|
+
* }
|
|
201
|
+
* ]
|
|
202
|
+
* ```
|
|
203
|
+
*/
|
|
204
|
+
rgFilters?: FileDialogFilter[];
|
|
205
|
+
/** Initially selected file. */
|
|
206
|
+
strInitialFile?: string;
|
|
207
|
+
/** Window title. */
|
|
208
|
+
strTitle?: string;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export interface FileDialogFilter {
|
|
212
|
+
/** A localization string for the file type. */
|
|
213
|
+
strFileTypeName: string;
|
|
214
|
+
/**
|
|
215
|
+
* File patterns.
|
|
216
|
+
* @example [ "*.application", "*.exe", "*.sh", "*.AppImage" ]
|
|
217
|
+
*/
|
|
218
|
+
rFilePatterns: string[];
|
|
219
|
+
/** Whether to use this filter by default. */
|
|
220
|
+
bUseAsDefault?: boolean;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export enum EOSType {
|
|
224
|
+
Web = -700,
|
|
225
|
+
Ios = -600,
|
|
226
|
+
Android = -500,
|
|
227
|
+
Android6 = -499,
|
|
228
|
+
Android7 = -498,
|
|
229
|
+
Android8 = -497,
|
|
230
|
+
Android9 = -496,
|
|
231
|
+
Ps3os = -300,
|
|
232
|
+
Linux = -203,
|
|
233
|
+
Linux22 = -202,
|
|
234
|
+
Linux24 = -201,
|
|
235
|
+
Linux26 = -200,
|
|
236
|
+
Linux32 = -199,
|
|
237
|
+
Linux35 = -198,
|
|
238
|
+
Linux36 = -197,
|
|
239
|
+
Linux310 = -196,
|
|
240
|
+
Linux316 = -195,
|
|
241
|
+
Linux318 = -194,
|
|
242
|
+
Linux3x = -193,
|
|
243
|
+
Linux4x = -192,
|
|
244
|
+
Linux41 = -191,
|
|
245
|
+
Linux44 = -190,
|
|
246
|
+
Linux49 = -189,
|
|
247
|
+
Linux414 = -188,
|
|
248
|
+
Linux419 = -187,
|
|
249
|
+
Linux5x = -186,
|
|
250
|
+
Linux54 = -185,
|
|
251
|
+
Linux6x = -184,
|
|
252
|
+
Linux7x = -183,
|
|
253
|
+
Linux510 = -182,
|
|
254
|
+
Macos = -102,
|
|
255
|
+
Macos104 = -101,
|
|
256
|
+
Macos105 = -100,
|
|
257
|
+
Macos1058 = -99,
|
|
258
|
+
Macos106_unused1 = -98,
|
|
259
|
+
Macos106_unused2 = -97,
|
|
260
|
+
Macos106_unused3 = -96,
|
|
261
|
+
Macos106 = -95,
|
|
262
|
+
Macos1063 = -94,
|
|
263
|
+
Macos1064_slgu = -93,
|
|
264
|
+
Macos1067 = -92,
|
|
265
|
+
Macos1067_unused = -91,
|
|
266
|
+
Macos107 = -90,
|
|
267
|
+
Macos108 = -89,
|
|
268
|
+
Macos109 = -88,
|
|
269
|
+
Macos1010 = -87,
|
|
270
|
+
Macos1011 = -86,
|
|
271
|
+
Macos1012 = -85,
|
|
272
|
+
Macos1013 = -84,
|
|
273
|
+
Macos1014 = -83,
|
|
274
|
+
Macos1015 = -82,
|
|
275
|
+
Macos1016 = -81,
|
|
276
|
+
Macos11 = -80,
|
|
277
|
+
Macos111 = -79,
|
|
278
|
+
Macos1017 = -78,
|
|
279
|
+
Macos12 = -77,
|
|
280
|
+
Macos1018 = -76,
|
|
281
|
+
Macos13 = -75,
|
|
282
|
+
Macos1019 = -74,
|
|
283
|
+
Macos14 = -73,
|
|
284
|
+
Macos1020 = -72,
|
|
285
|
+
Macos15 = -71,
|
|
286
|
+
Unknown = -1,
|
|
287
|
+
Windows = 0,
|
|
288
|
+
Win311 = 1,
|
|
289
|
+
Win95 = 2,
|
|
290
|
+
Win98 = 3,
|
|
291
|
+
WinME = 4,
|
|
292
|
+
WinNT = 5,
|
|
293
|
+
Win200 = 6,
|
|
294
|
+
WinXP = 7,
|
|
295
|
+
Win2003 = 8,
|
|
296
|
+
WinVista = 9,
|
|
297
|
+
Win7 = 10,
|
|
298
|
+
Win2008 = 11,
|
|
299
|
+
Win2012 = 12,
|
|
300
|
+
Win8 = 13,
|
|
301
|
+
Win81 = 14,
|
|
302
|
+
Win2012R2 = 15,
|
|
303
|
+
Win10 = 16,
|
|
304
|
+
Win2016 = 17,
|
|
305
|
+
Win2019 = 18,
|
|
306
|
+
Win2022 = 19,
|
|
307
|
+
Win11 = 20,
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface SystemInfo {
|
|
311
|
+
sOSName: string;
|
|
312
|
+
sKernelVersion: string;
|
|
313
|
+
sBIOSVersion: string;
|
|
314
|
+
sHostname: string;
|
|
315
|
+
sOSCodename: string;
|
|
316
|
+
sOSVariantId: string;
|
|
317
|
+
sOSVersionId: string;
|
|
318
|
+
sOSBuildId: string;
|
|
319
|
+
nSteamVersion: number;
|
|
320
|
+
sSteamBuildDate: string;
|
|
321
|
+
sSteamAPI: string;
|
|
322
|
+
sCPUVendor: string;
|
|
323
|
+
sCPUName: string;
|
|
324
|
+
nCPUHz: number;
|
|
325
|
+
nCPUPhysicalCores: number;
|
|
326
|
+
nCPULogicalCores: number;
|
|
327
|
+
nSystemRAMSizeMB: number;
|
|
328
|
+
sVideoCardName: string;
|
|
329
|
+
sVideoDriverVersion: string;
|
|
330
|
+
nVideoRAMSizeMB: number;
|
|
331
|
+
bIsUnsupportedPrototypeHardware: boolean;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export interface CMsgSystemManagerSettings extends JsPbMessage {
|
|
335
|
+
display_adaptive_brightness_enabled(): boolean;
|
|
336
|
+
|
|
337
|
+
display_colorgamut(): number;
|
|
338
|
+
|
|
339
|
+
display_colorgamut_labelset(): number;
|
|
340
|
+
|
|
341
|
+
display_colortemp(): number;
|
|
342
|
+
|
|
343
|
+
display_colortemp_default(): number;
|
|
344
|
+
|
|
345
|
+
display_colortemp_enabled(): boolean;
|
|
346
|
+
|
|
347
|
+
display_diagnostics_enabled(): boolean;
|
|
348
|
+
|
|
349
|
+
display_nightmode_blend(): number;
|
|
350
|
+
|
|
351
|
+
display_nightmode_enabled(): boolean;
|
|
352
|
+
|
|
353
|
+
display_nightmode_maxhue(): number;
|
|
354
|
+
|
|
355
|
+
display_nightmode_maxsat(): number;
|
|
356
|
+
|
|
357
|
+
display_nightmode_schedule_enabled(): boolean;
|
|
358
|
+
|
|
359
|
+
display_nightmode_schedule_endtime(): number;
|
|
360
|
+
|
|
361
|
+
display_nightmode_schedule_starttime(): number;
|
|
362
|
+
|
|
363
|
+
display_nightmode_tintstrength(): number;
|
|
364
|
+
|
|
365
|
+
display_nightmode_uiexp(): number;
|
|
366
|
+
|
|
367
|
+
fan_control_mode(): number;
|
|
368
|
+
|
|
369
|
+
idle_backlight_dim_ac_seconds(): number;
|
|
370
|
+
|
|
371
|
+
idle_backlight_dim_battery_seconds(): number;
|
|
372
|
+
|
|
373
|
+
idle_suspend_ac_seconds(): number;
|
|
374
|
+
|
|
375
|
+
idle_suspend_battery_seconds(): number;
|
|
376
|
+
|
|
377
|
+
idle_suspend_supressed(): boolean;
|
|
378
|
+
|
|
379
|
+
is_adaptive_brightness_available(): boolean;
|
|
380
|
+
|
|
381
|
+
is_display_brightness_available(): boolean;
|
|
382
|
+
|
|
383
|
+
is_display_colormanagement_available(): boolean;
|
|
384
|
+
|
|
385
|
+
is_display_colortemp_available(): boolean;
|
|
386
|
+
|
|
387
|
+
is_fan_control_available(): boolean;
|
|
388
|
+
|
|
389
|
+
is_wifi_powersave_enabled(): boolean;
|
|
390
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OperationResponse } from "../../shared";
|
|
2
|
+
|
|
3
|
+
export interface Device {
|
|
4
|
+
/**
|
|
5
|
+
* @param base64 Serialized base64 message from `CMsgNetworkDeviceConnect`.
|
|
6
|
+
*/
|
|
7
|
+
Connect(base64: string): Promise<OperationResponse>;
|
|
8
|
+
Disconnect(deviceId: number): Promise<OperationResponse>;
|
|
9
|
+
|
|
10
|
+
WirelessNetwork: WirelessNetwork;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface WirelessNetwork {
|
|
14
|
+
Forget(deviceId: any, deviceWapId: any): any;
|
|
15
|
+
|
|
16
|
+
SetAutoconnect(deviceId: any, deviceWapId: any, autoConnect: boolean): any;
|
|
17
|
+
}
|