Skip to content

GridResponseWithoutReplySchema

const GridResponseWithoutReplySchema: ZodObject<{ executionPlan: ZodArray<ZodObject<{ action: ZodPipe<ZodString, ZodTransform<ActionName, string>>; instanceId: ZodPipe<ZodString, ZodTransform<InstanceId, string>>; paramsJson: ZodOptional<ZodString>; }, $strip>>; layout: ZodObject<{ positions: ZodArray<ZodObject<{ instanceId: ZodPipe<ZodString, ZodTransform<InstanceId, string>>; position: ZodObject<{ column: ZodNumber; row: ZodNumber; }, $strip>; size: ZodObject<{ height: ZodNumber; width: ZodNumber; }, $strip>; }, $strip>>; }, $strip>; rationale: ZodString; type: ZodLiteral<"plan">; userMessage: ZodOptional<ZodString>; }, $strip>

Defined in: packages/protocol/src/lib/request.ts:285

GridResponseSchema with an optional userMessage, for a request that set ChartRequest.skipReply. Every other field, type included, keeps the strict schema’s rules.