apps/nestjs-backend/src/features/dashboard/dashboard.service.ts
File dashboard.service.ts
has 371 lines of code (exceeds 300 allowed). Consider refactoring. Open
Open
/* eslint-disable sonarjs/no-duplicate-string */
import { Injectable, NotFoundException } from '@nestjs/common';
import type { IBaseRole } from '@teable/core';
import { generateDashboardId, generatePluginInstallId, Role } from '@teable/core';
import { PrismaService } from '@teable/db-main-prisma';