Skip to content

Variable: ClientInstallCompletedSchema

Makaio Framework


Makaio Framework / contracts/client / ClientInstallCompletedSchema

const ClientInstallCompletedSchema: ZodObject<{ activeVersion: ZodNullable<ZodString>; clientId: ZodString; error: ZodOptional<ZodObject<{ code: ZodOptional<ZodString>; message: ZodString; }, $strip>>; installPath: ZodOptional<ZodString>; jobId: ZodString; metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; status: ZodEnum<{ error: "error"; success: "success"; }>; strategy: ZodEnum<{ github-release: "github-release"; manifest-bucket: "manifest-bucket"; npm: "npm"; }>; version: ZodOptional<ZodString>; }, $strip>

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

Event payload for client.installJob.completed.

Emitted once by the install job runner when the pipeline finishes, regardless of outcome. Listeners should check status before acting.