Skip to content

Variable: ServiceInfoSchema

Makaio Framework


Makaio Framework / kernel / ServiceInfoSchema

const ServiceInfoSchema: ZodObject<{ critical: ZodBoolean; displayName: ZodString; error: ZodOptional<ZodString>; name: ZodString; state: ZodEnum<{ active: "active"; discovered: "discovered"; failed: "failed"; initializing: "initializing"; skipped: "skipped"; stopped: "stopped"; }>; }, $strip>

Defined in: ../../../packages/kernel/src/observability/shared-schemas.ts:65

Info shape for a managed service.

Extends ComponentInfoSchema with a critical flag that signals whether a service failure should abort the boot sequence.