composeDesktops.ts 458 B

1234567
  1. import type {LocalVmImageKey} from './localVm.js'
  2. export interface ComposeDesktop {id:string;name:string;socketPath:string;networkSocketPath?:string;imageKey?:LocalVmImageKey}
  3. export interface ComposeDesktopState {id:string;name:string;online:boolean;ready:boolean;imageKey?:LocalVmImageKey}
  4. export interface DesktopRelay {
  5. (id:string,operation:string,body:Record<string,unknown>):Promise<any>
  6. }
  7. export const COMPOSE_DESKTOP_IMAGE='sha256:'+'c'.repeat(64)