feat(knex): create database interfaces and knexjs nest integration

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:
Erik Michelson 2025-03-06 12:59:59 +01:00
parent 902abf72e6
commit a9183e82bf
No known key found for this signature in database
GPG key ID: DB99ADDDC5C0AF82
93 changed files with 760 additions and 2927 deletions

View file

@ -6,11 +6,11 @@
import { NoteMetadataDto } from '@hedgedoc/commons';
import { promises as fs } from 'fs';
import { join } from 'path';
import { HistoryEntryDto } from 'src/history/history-entry.dto';
import request from 'supertest';
import { User } from '../../src/database/user.entity';
import { HistoryEntryUpdateDto } from '../../src/history/history-entry-update.dto';
import { User } from '../../src/users/user.entity';
import { HistoryEntryDto } from '../../src/history/history-entry.dto';
import { TestSetup, TestSetupBuilder } from '../test-setup';
describe('Me', () => {