import { FindOneOptions } from "../FindOneOptions" import { ObjectLiteral } from "../../common/ObjectLiteral" /** * Defines a special criteria to find specific entity. */ export type MongoFindOneOptions = Omit< FindOneOptions, "where" > & { /** * Simple condition that should be applied to match entities. */ where?: FindOneOptions["where"] | ObjectLiteral }