refactor(server): imports and repository tokens (#1220)

* refactor: entity imports

* refactor: rename user repository token

* chore: merge imports

* refactor: rename album repository token

* refactor: rename asset repository token

* refactor: rename tag repository token
This commit is contained in:
Jason Rasmussen 2022-12-30 08:22:06 -05:00 committed by GitHub
parent f7d3c4b4ff
commit d9fa6619e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
81 changed files with 130 additions and 151 deletions

View file

@ -1,5 +1,4 @@
import { AssetEntity } from '@app/database/entities/asset.entity';
import { SystemConfigEntity } from '@app/database/entities/system-config.entity';
import { AssetEntity, SystemConfigEntity } from '@app/database';
import { ImmichConfigModule } from '@app/immich-config';
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

View file

@ -1,6 +1,5 @@
import { APP_UPLOAD_LOCATION } from '@app/common';
import { AssetEntity } from '@app/database/entities/asset.entity';
import { SystemConfig } from '@app/database/entities/system-config.entity';
import { AssetEntity, SystemConfig } from '@app/database';
import { ImmichConfigService, INITIAL_SYSTEM_CONFIG } from '@app/immich-config';
import { Inject, Injectable, Logger } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';