chore: update configuration and improve schema imports

- Updated biome.json to include "graphql.d.ts" in the ignored files list.
- Updated subproject commit reference in epess-database to the latest version.
- Removed unused script from package.json and streamlined module file extensions in tsconfig.json.
- Consolidated exclude patterns in tsconfig.build.json for clarity.
- Refactored imports across multiple schema files for consistency and improved readability.
- Enhanced various schema files by ensuring proper import order and removing redundant code.
- Improved error handling and data integrity checks in several service and schema files.
This commit is contained in:
2024-12-08 20:49:52 +07:00
parent 9e6d62e4be
commit 10e20092ab
82 changed files with 1697 additions and 2259 deletions

View File

@@ -1,10 +1,10 @@
import { forwardRef, Inject, Injectable } from '@nestjs/common'
import { Inject, Injectable, forwardRef } from '@nestjs/common'
import { Logger } from '@nestjs/common'
import Delta, { Op } from 'quill-delta'
import { PrismaService } from 'src/Prisma/prisma.service'
import { MinioService } from '../Minio/minio.service'
import { DocumentDelta } from './document.type'
import { Logger } from '@nestjs/common'
import { PrismaService } from 'src/Prisma/prisma.service'
@Injectable()
export class DocumentService {
constructor(