Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: codex <[email protected]>
19 lines
571 B
TypeScript
19 lines
571 B
TypeScript
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,
|
|
t3Home: 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;
|