Skip to content

MethodResultSchema

const MethodResultSchema: ZodObject<{ detail: ZodDefault<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>; method: ZodString; unit: ZodString; value: ZodNumber; }, "strip", ZodTypeAny, { detail: Record<string, unknown> | null; method: string; unit: string; value: number; }, { detail?: Record<string, unknown> | null; method: string; unit: string; value: number; }>

Defined in: packages/core/src/models.ts:4

One formula’s result: method name, numeric value, unit, and optional detail.