refactor: album user entity (#17524)

This commit is contained in:
Jason Rasmussen 2025-04-10 11:53:21 -04:00 committed by GitHub
parent 94dba29298
commit 8aea07b750
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 15 additions and 34 deletions

View file

@ -1,4 +1,4 @@
import { AssetStatus, AssetType, MemoryType, Permission, UserStatus } from 'src/enum';
import { AlbumUserRole, AssetStatus, AssetType, MemoryType, Permission, UserStatus } from 'src/enum';
import { OnThisDayData, UserMetadataItem } from 'src/types';
export type AuthUser = {
@ -10,6 +10,11 @@ export type AuthUser = {
quotaSizeInBytes: number | null;
};
export type AlbumUser = {
user: User;
role: AlbumUserRole;
};
export type Library = {
id: string;
ownerId: string;