mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 18:25:21 -04:00
refactor: replace TypeORM with knex.js
Co-authored-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
6e151c8a1b
commit
4bd49085c6
241 changed files with 4577 additions and 6636 deletions
|
@ -4,23 +4,17 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { KnexModule } from 'nest-knexjs';
|
||||
|
||||
import { User } from '../database/user.entity';
|
||||
import { LoggerModule } from '../logger/logger.module';
|
||||
import { UsersModule } from '../users/users.module';
|
||||
import { Identity } from './identity.entity';
|
||||
import { IdentityService } from './identity.service';
|
||||
import { LdapService } from './ldap/ldap.service';
|
||||
import { LocalService } from './local/local.service';
|
||||
import { OidcService } from './oidc/oidc.service';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([Identity, User]),
|
||||
UsersModule,
|
||||
LoggerModule,
|
||||
],
|
||||
imports: [UsersModule, LoggerModule, KnexModule],
|
||||
controllers: [],
|
||||
providers: [IdentityService, LdapService, LocalService, OidcService],
|
||||
exports: [IdentityService, LdapService, LocalService, OidcService],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue