import { MetaType, GetAllCompareKeys } from '../metaTypeCreator'; import { WhereFilterOp } from '../alias'; import { __name__ } from '../fieldPath'; export type WhereConstraint = { type: 'where'; fieldPath: FieldPath; opStr: OpStr; value: Value; }; export type Where = | __name__, OpStr extends WhereFilterOp, const Value>(fieldPath: FieldPath, opStr: OpStr, value: Value) => WhereConstraint;