| 1 | import { app } from "../lib/bridge"; |
| 2 | import type { SessionSelector } from "../generated/desktopContract.generated"; |
| 3 | |
| 4 | export const desktopProjectAdapter = { |
| 5 | renameLocal: (selector: SessionSelector, title: string) => app.RenameSessionTarget(selector, title), |
| 6 | listRemote: (host: string, workspace: string) => app.RemoteProjectSessions(host, workspace), |
| 7 | renameRemote: (host: string, workspace: string, name: string, title: string) => app.RenameRemoteProjectSession(host, workspace, name, title), |
| 8 | }; |
| 9 |