Skip to content

Variable: NewMachineServiceProjectRecordSchema

const NewMachineServiceProjectRecordSchema: ZodObject<{ config: ZodRecord<ZodString, ZodJSONSchema>; definitionVersion: ZodNumber; directory: ZodString; machineId: ZodString; openPath: ZodOptional<ZodString>; path: ZodString; port: ZodNumber; serviceKind: ZodEnum<{ desktop: "desktop"; stats: "stats"; terminal: "terminal"; }>; stripPrefix: ZodBoolean; workspaceScope: ZodString; }, $strict>

Machine-owned service project configuration written to Lakebase.

  • workspaceScope: Workspace identity that contains the machine.
  • machineId: Databricks Sandbox that hosts the service.
  • serviceKind: Built-in machine service represented by the project.
  • definitionVersion: Version of the built-in service project definition.
  • directory: Machine-owned service project directory.
  • path: AppKit route path for the service.
  • openPath (optional): Optional service-relative entry URL.
  • port: Sandbox-side loopback port.
  • config: JSON representation of the service project’s mise configuration.
  • stripPrefix: Whether AppKit strips the service route prefix.