packages/lib/src/mongoSchema/young.ts
File young.ts
has 1952 lines of code (exceeds 700 allowed). Consider refactoring. Open
Open
import mongoose, { Schema, InferSchemaType } from "mongoose";
import { YOUNG_SOURCE_LIST, YOUNG_SOURCE } from "../constants/constants";
import { PHONE_ZONES_NAMES_ARR } from "../phone-number";
import { ROLES_LIST } from "../roles";