Skip to content

Variable: ExtensionWarningSchema

Makaio Framework


Makaio Framework / contracts / ExtensionWarningSchema

const ExtensionWarningSchema: ZodObject<{ action: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{ bundle: ZodString; clientId: ZodString; kind: ZodLiteral<"configure-integration">; }, $strip>, ZodObject<{ extensionName: ZodString; kind: ZodLiteral<"install-extension">; }, $strip>, ZodObject<{ kind: ZodLiteral<"open-url">; url: ZodString; }, $strip>, ZodObject<{ command: ZodString; kind: ZodLiteral<"run-command">; }, $strip>], "kind">>; message: ZodString; severity: ZodEnum<{ degraded: "degraded"; info: "info"; recommended: "recommended"; }>; title: ZodString; }, $strip>

Defined in: ../../../packages/contracts/src/extension/extension-warning.ts:65

A single health warning emitted by a package’s checkHealth hook.

The host collects these after startup and may display them in the UI as notification toasts or persistent status indicators.