409d0b6b06
- Removed the QuickImport module and service to streamline the codebase. - Introduced DocumentImport module, service, and controller for handling PDF uploads and conversions to Markdown. - Added PdfParser for parsing PDF files and extracting text. - Implemented DocumentParser as an abstract class for future document parsers. - Created a new GenericRecipeParser and IcaRecipeParser for handling recipe data from various sources. - Developed QuickImportService to manage recipe scraping from URLs. - Enhanced error handling and validation for file uploads and input processing. - Updated project documentation with a structured plan for future development and improvements.
9 lines
342 B
TypeScript
9 lines
342 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { DocumentImportController } from './controllers/document-import.controller';
|
|
import { DocumentImportService } from './services/document-import.service';
|
|
|
|
@Module({
|
|
controllers: [DocumentImportController],
|
|
providers: [DocumentImportService],
|
|
})
|
|
export class DocumentServiceModule {} |