mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 14:43:06 +08:00
c18c9ae02b
* replace TypeORM with Kysely query builder * refactor migrations * other changes and fixes
27 lines
854 B
TypeScript
27 lines
854 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { AppController } from './app.controller';
|
|
import { AppService } from './app.service';
|
|
import { CoreModule } from './core/core.module';
|
|
import { EnvironmentModule } from './integrations/environment/environment.module';
|
|
import { CollaborationModule } from './collaboration/collaboration.module';
|
|
import { WsModule } from './ws/ws.module';
|
|
import { ServeStaticModule } from '@nestjs/serve-static';
|
|
import { join } from 'path';
|
|
import { KyselyDbModule } from './kysely/kysely-db.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
CoreModule,
|
|
KyselyDbModule,
|
|
EnvironmentModule,
|
|
CollaborationModule,
|
|
WsModule,
|
|
ServeStaticModule.forRoot({
|
|
rootPath: join(__dirname, '..', '..', '..', 'client/dist'),
|
|
}),
|
|
],
|
|
controllers: [AppController],
|
|
providers: [AppService],
|
|
})
|
|
export class AppModule {}
|