Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): closing, archiving or deleting a thread releases its devices #25832

Closedjuliusmarmingewants to merge 6 commits intomain fromfix/issue-17470opened View on GitHub

Showing 14 changed files with 4 additions and 4 deletions (loading 13).

x
0 of 14 viewed, 14 left
4 additions and 4 deletionsapps/server/src/device/AgentDeviceTarget.tsModified
View file
@@ -7,11 +7,11 @@
​
import type { AgentDaemonEndpoint } from "./DeviceHost.ts";
​
-const encodeEndpoint = Schema.encodeEffect(
- Schema.fromJsonString(
- Schema.Struct({ daemonBaseUrl: Schema.String, daemonAuthToken: Schema.String }),
- ),
+const AgentDeviceConfigJson = Schema.fromJsonString(
+ Schema.Struct({ daemonBaseUrl: Schema.String, daemonAuthToken: Schema.String }),
);
+const encodeEndpoint = Schema.encodeEffect(AgentDeviceConfigJson);
+export const decodeAgentDeviceConfig = Schema.decodeUnknownEffect(AgentDeviceConfigJson);
​
const key = Effect.fn("AgentDeviceTarget.key")(function* (value: string) {
const crypto = yield* Crypto.Crypto;
apps/server/src/device/DeviceService.test.tsModified
View file
Loading the diff
apps/server/src/device/DeviceService.tsModified
View file
Loading the diff
apps/server/src/device/DeviceToolchain.tsModified
View file
Loading the diff
apps/server/src/guest/GuestShareService.test.tsModified
View file
Loading the diff