Kaizen
Browse modulesInsightsinsights/sharedSchemas and constants

Variable: filterOperatorSchema

const filterOperatorSchema: ZodEnum<{
  between: "between";
  contains: "contains";
  eq: "eq";
  gt: "gt";
  gte: "gte";
  in: "in";
  isNotNull: "isNotNull";
  isNull: "isNull";
  lt: "lt";
  lte: "lte";
  neq: "neq";
}>;

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

Filter-leaf operator vocabulary, adapted from the rules engine's FieldComparisonConfig but self-contained (no condition references). Operator/field-type compatibility is validated semantically in validateDefinition — the schema only pins each operator's value shape.