import { OrderByDirection } from '../alias'; import { MetaType, GetAllCompareKeys } from '../metaTypeCreator'; import { __name__ } from '../fieldPath'; export type OrderByConstraint = { type: 'orderBy'; fieldPath: FieldPath; directionStr: OrderByDirection; }; export type OrderBy = | __name__>(fieldPath: FieldPath, directionStr?: OrderByDirection) => OrderByConstraint;