betagouv/service-national-universel

View on GitHub
packages/lib/src/mongoSchema/young.ts

Summary

Maintainability
F
4 days
Test Coverage

File young.ts has 1952 lines of code (exceeds 700 allowed). Consider refactoring.
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";
Severity: Major
Found in packages/lib/src/mongoSchema/young.ts - About 4 days to fix

    There are no issues that match your filters.

    Category
    Status