Skip to content
Source
Sign inSign up
pingdotgg/t3code

[codex] align server auth Effect services #3180

Mergedjuliusmarmingemerged 6 commits intomain fromrefs/pull/3180/headmerged by juliusmarminge View on GitHub

Showing 22 changed files with 18 additions and 25 deletions (loading 19).

x
0 of 22 viewed, 22 left
2 additions and 2 deletionsapps/desktop/src/main.tsModified
View file
@@ -1,7 +1,7 @@
import * as NodeHttpClient from "@effect/platform-node/NodeHttpClient";
import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
import * as NodeServices from "@effect/platform-node/NodeServices";
-import { homedir } from "node:os";
+import * as NodeOS from "node:os";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import * as Option from "effect/Option";
@@ -60,7 +60,7 @@
const processArch = yield* HostProcessArchitecture;
return DesktopEnvironment.layer({
dirname: __dirname,
- homeDirectory: homedir(),
+ homeDirectory: NodeOS.homedir(),
platform,
processArch,
...metadata,
6 additions and 6 deletionsapps/server/src/assets/AssetAccess.tsModified
View file
@@ -19,9 +19,9 @@
signPayload,
timingSafeEqualBase64Url,
} from "../auth/utils.ts";
-import { ServerSecretStore } from "../auth/ServerSecretStore.ts";
+import * as ServerSecretStore from "../auth/ServerSecretStore.ts";
import { resolveAttachmentPathById } from "../attachmentStore.ts";
-import { ServerConfig } from "../config.ts";