21 lines · 773 B · TypeScript
RawDownload
import * as Schema from "effect/Schema"; import { PortSchema } from "./baseSchemas.ts"; export const DesktopBackendBootstrap = Schema.Struct({  mode: Schema.Literal("desktop"),  noBrowser: Schema.Boolean,  port: PortSchema,  // Omitted when the desktop launches the backend inside WSL, since the  // Windows-side baseDir maps to /mnt/c/... and the Linux side should use its  // own home directory instead.  t3Home: Schema.optional(Schema.String),  host: Schema.String,  desktopBootstrapToken: Schema.String,  tailscaleServeEnabled: Schema.Boolean,  tailscaleServePort: PortSchema,  otlpTracesUrl: Schema.optional(Schema.String),  otlpMetricsUrl: Schema.optional(Schema.String),}); export type DesktopBackendBootstrap = typeof DesktopBackendBootstrap.Type;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t