import { Types } from 'mongoose'; import { Auth } from '..'; export const readOneByRecord = async (record: Types.ObjectId) => Auth.findOne({ record });