Skip to content

Variable: ExtensionWarningEntrySchema

Makaio Framework


Makaio Framework / contracts / ExtensionWarningEntrySchema

const ExtensionWarningEntrySchema: ZodObject<{ extensionName: ZodString; warnings: ZodArray<ZodObject<{ action: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{ bundle: ZodString; clientId: ZodString; kind: ZodLiteral<…>; }, $strip>, ZodObject<{ extensionName: ZodString; kind: ZodLiteral<…>; }, $strip>, ZodObject<{ kind: ZodLiteral<…>; url: ZodString; }, $strip>, ZodObject<{ command: ZodString; kind: ZodLiteral<…>; }, $strip>], "kind">>; message: ZodString; severity: ZodEnum<{ degraded: "degraded"; info: "info"; recommended: "recommended"; }>; title: ZodString; }, $strip>>; }, $strip>

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

Aggregated warning entry grouping all health warnings for a single extension.

Used as the payload shape for extension.warnings.list responses and extension.warnings.changed events so consumers receive extension identity alongside the full warning array in one atomic value.