mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 14:43:06 +08:00
7ada3cb1f9
* fix import * - fix notion importer - support notion page icon import - fix horizontal rule css - rename service file * sync * 3 mins delay
23 lines
870 B
TypeScript
23 lines
870 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { ImportService } from './services/import.service';
|
|
import { ImportController } from './import.controller';
|
|
import { StorageModule } from '../storage/storage.module';
|
|
import { FileImportTaskService } from './services/file-import-task.service';
|
|
import { FileTaskProcessor } from './processors/file-task.processor';
|
|
import { ImportAttachmentService } from './services/import-attachment.service';
|
|
import { FileTaskController } from './file-task.controller';
|
|
import { PageModule } from '../../core/page/page.module';
|
|
|
|
@Module({
|
|
providers: [
|
|
ImportService,
|
|
FileImportTaskService,
|
|
FileTaskProcessor,
|
|
ImportAttachmentService,
|
|
],
|
|
exports: [ImportService, ImportAttachmentService],
|
|
controllers: [ImportController, FileTaskController],
|
|
imports: [StorageModule, PageModule],
|
|
})
|
|
export class ImportModule {}
|