Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): set up EAS Simulator hosts in Settings #21846

Mergedjuliusmarmingemerged 14 commits intodevice/eas-host fromrefs/pull/21846/headmerged by juliusmarminge View on GitHub

Showing 13 changed files with 48 additions and 0 deletions (loading 10).

x
0 of 13 viewed, 13 left
1 addition and 0 deletionsapps/server/src/auth/RpcAuthorization.tsModified
View file
@@ -194,6 +194,7 @@
[WS_METHODS.subscribeDiscoveredLocalServers]: AuthOrchestrationReadScope,
[WS_METHODS.deviceConfigure]: AuthSettingsWriteScope,
[WS_METHODS.deviceTestHost]: AuthSettingsWriteScope,
+ [WS_METHODS.deviceEasAccount]: AuthSettingsWriteScope,
[WS_METHODS.deviceList]: AuthOrchestrationReadScope,
[WS_METHODS.deviceOpen]: AuthOrchestrationOperateScope,
[WS_METHODS.deviceClose]: AuthOrchestrationOperateScope,
46 additions and 0 deletionsapps/server/src/device/DeviceService.tsModified
View file
@@ -17,6 +17,9 @@
type DeviceSession,
type DeviceShutdownInput,
type DeviceSummary,
+ type DeviceEasAccount,
+ DeviceEasAccountError,
+ type DeviceEasAccountInput,
type DeviceHostConfig,
type EasDeviceHostConfig,
type SshDeviceHostConfig,
@@ -46,6 +49,7 @@
import * as Semaphore from "effect/Semaphore";
import * as Stream from "effect/Stream";
import * as SynchronizedRef from "effect/SynchronizedRef";
+import * as HttpClient from "effect/http/HttpClient";
​
import * as ServerSettings from "../serverSettings.ts";