apps/nestjs-backend/src/features/base/base.service.ts
File base.service.ts
has 355 lines of code (exceeds 300 allowed). Consider refactoring. Open
Open
import { ForbiddenException, Injectable, Logger, NotFoundException } from '@nestjs/common';
import type { IRole } from '@teable/core';
import { ActionPrefix, actionPrefixMap, generateBaseId, isUnrestrictedRole } from '@teable/core';
import { PrismaService } from '@teable/db-main-prisma';
import { CollaboratorType, ResourceType } from '@teable/openapi';