Type Alias: FieldComparisonConfig
type FieldComparisonConfig = ZodDiscriminatedUnion<[ZodObject<{
condition_type: ZodLiteral<"FIELD_COMPARISON">;
field: ZodString;
operator: ZodLiteral<"eq">;
value: ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean]>;
}, $strip>, ZodObject<{
condition_type: ZodLiteral<"FIELD_COMPARISON">;
field: ZodString;
operator: ZodLiteral<"neq">;
value: ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean]>;
}, $strip>, ZodObject<{
condition_type: ZodLiteral<"FIELD_COMPARISON">;
field: ZodString;
operator: ZodLiteral<"gt">;
value: ZodNumber;
}, $strip>], "operator">;Defined in: shared/rules/types/conditions.ts:81
Compare the context value at field against value using operator.
Supports equality (eq/neq), numeric comparison (gt/lt/gte/lte),
substring match (contains), and set membership (in).