mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
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:
parent
f7d3c4b4ff
commit
d9fa6619e7
81 changed files with 130 additions and 151 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { AssetEntity } from '@app/database/entities/asset.entity';
|
||||
import { AssetEntity } from '@app/database';
|
||||
import { AssetResponseDto } from 'apps/immich/src/api-v1/asset/response-dto/asset-response.dto';
|
||||
import fs from 'fs';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// create unit test for user utils
|
||||
|
||||
import { UserEntity } from '@app/database/entities/user.entity';
|
||||
import { UserEntity } from '@app/database';
|
||||
import { userUtils } from './user-utils';
|
||||
|
||||
describe('User Utilities', () => {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { UserEntity } from '@app/database/entities/user.entity';
|
||||
import { UserEntity } from '@app/database';
|
||||
|
||||
function createUserUtils() {
|
||||
const isReadyForDeletion = (user: UserEntity): boolean => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue