Kaizen
Browse modulesInsightsinsights/sharedSchemas and constants

Variable: filterNodeSchema

const filterNodeSchema: ZodType<FilterNode, unknown, $ZodTypeInternals<FilterNode, unknown>>;

Defined in: shared/insights/types/definition.ts:193

Filter tree with structural caps enforced: nesting depth ≤ 5 and ≤ 30 condition leaves total. Keeps a hostile or runaway builder/LLM payload from compiling into pathological SQL.