Skip to content

Variable: ClientSetActiveSchema

Makaio Framework


Makaio Framework / contracts/client / ClientSetActiveSchema

const ClientSetActiveSchema: object

Defined in: ../../../packages/contracts/src/client/binary-management.ts:193

Request and response schemas for client.setActive.

Switches the active binary pointer to an already-installed version. The requested version must be present on disk; the handler will reject requests for versions that have not been installed.

request: ZodObject<{ clientId: ZodString; version: ZodString; }, $strip>

response: ZodObject<{ activeVersion: ZodString; clientId: ZodString; }, $strip>