refactor(server): flatten infra folders (#2120)

* refactor: flatten infra folders

* fix: database migrations

* fix: test related import

* fix: github actions workflow

* chore: rename schemas to typesense-schemas
This commit is contained in:
Jason Rasmussen
2023-03-30 15:38:55 -04:00
committed by GitHub
parent 468e620372
commit 34d300d1da
176 changed files with 185 additions and 176 deletions

View File

@@ -1,4 +1,4 @@
import { AlbumEntity, AssetEntity, SharedLinkType } from '@app/infra/db/entities';
import { AlbumEntity, AssetEntity, SharedLinkType } from '@app/infra/entities';
export class CreateSharedLinkDto {
description?: string;

View File

@@ -1,4 +1,4 @@
import { SharedLinkEntity, SharedLinkType } from '@app/infra/db/entities';
import { SharedLinkEntity, SharedLinkType } from '@app/infra/entities';
import { ApiProperty } from '@nestjs/swagger';
import _ from 'lodash';
import { AlbumResponseDto, mapAlbumExcludeAssetInfo } from '../../album';

View File

@@ -1,4 +1,4 @@
import { AssetEntity, SharedLinkEntity } from '@app/infra/db/entities';
import { AssetEntity, SharedLinkEntity } from '@app/infra/entities';
import {
BadRequestException,
ForbiddenException,

View File

@@ -1,4 +1,4 @@
import { SharedLinkEntity } from '@app/infra/db/entities';
import { SharedLinkEntity } from '@app/infra/entities';
export const ISharedLinkRepository = 'ISharedLinkRepository';