mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-22 08:47:10 +08:00
25 lines
602 B
TypeScript
25 lines
602 B
TypeScript
import { Module } from '@nestjs/common';
|
|
|
|
import { ElectronIpcModule } from '../../ipc';
|
|
import { DialogModule } from './dialog';
|
|
import { HelperBootstrapService } from './helper-bootstrap.service';
|
|
import { LoggerModule } from './logger';
|
|
import { MainRpcModule } from './main-rpc';
|
|
import { NBStoreModule } from './nbstore';
|
|
|
|
/**
|
|
* Main module for the helper process
|
|
*/
|
|
@Module({
|
|
imports: [
|
|
LoggerModule,
|
|
ElectronIpcModule.forHelper(),
|
|
MainRpcModule,
|
|
// Feature modules
|
|
DialogModule,
|
|
NBStoreModule,
|
|
],
|
|
providers: [HelperBootstrapService],
|
|
})
|
|
export class AppModule {}
|