File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,14 +11,15 @@ import {
1111 renderProjectSummaryLine
1212} from "./api-client.js"
1313import { asObject , asString , type JsonValue } from "./api-json.js"
14+ import type { AuthGithubStatusCommand } from "./frontend-lib/core/auth-domain.js"
1415import type { MenuError } from "./menu-errors.js"
1516import type { MenuEnv } from "./menu-types.js"
1617import { type ProjectItem , resolveApiProjectItem } from "./project-item.js"
1718
18- const menuGithubStatusCommand = {
19+ const menuGithubStatusCommand : AuthGithubStatusCommand = {
1920 _tag : "AuthGithubStatus" ,
2021 envGlobalPath : ""
21- } as const
22+ }
2223
2324const compact = < A > ( values : ReadonlyArray < A | null > ) : ReadonlyArray < A > =>
2425 values . filter ( ( value ) : value is A => value !== null )
Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ import { NodeContext } from "@effect/platform-node"
22import { describe , expect , it } from "@effect/vitest"
33import { Effect } from "effect"
44
5+ import type { ApiTerminalSession } from "../../src/docker-git/api-terminal-codec.js"
56import type { HostError } from "../../src/docker-git/host-errors.js"
67import { openResolvedProjectSshEffect } from "../../src/docker-git/open-project.js"
78import { makeProjectItem } from "./fixtures/project-item.js"
89
9- const makeSession = ( ) => ( {
10+ const makeSession = ( ) : ApiTerminalSession => ( {
1011 id : "session-1" ,
1112 projectId : "/controller/org/repo" ,
1213 sshCommand : "ssh -p 22 dev@127.0.0.1" ,
13- status : "ready" as const ,
14+ status : "ready" ,
1415 createdAt : "2026-04-10T00:00:00Z"
1516} )
1617
You can’t perform that action at this time.
0 commit comments