refactor: remove user entity (#17498)

This commit is contained in:
Zack Pollard
2025-04-10 15:53:21 +01:00
committed by GitHub
parent 9e49783e49
commit 94dba29298
22 changed files with 145 additions and 157 deletions

View File

@@ -1,6 +1,5 @@
import { AlbumEntity } from 'src/entities/album.entity';
import { AssetEntity } from 'src/entities/asset.entity';
import { UserEntity } from 'src/entities/user.entity';
import { SharedLinkType } from 'src/enum';
export class SharedLinkEntity {
@@ -8,7 +7,6 @@ export class SharedLinkEntity {
description!: string | null;
password!: string | null;
userId!: string;
user!: UserEntity;
key!: Buffer; // use to access the inidividual asset
type!: SharedLinkType;
createdAt!: Date;