Skip to content

Variable: MachineServiceProjectRecordSchema

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

One Lakebase-persisted machine-owned service project.

  • 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.
  • createdAt: Time the service project was first persisted.
  • updatedAt: Time the service project definition last changed.