feat: added options to sort albums

Signed-off-by: Varun Raj <varun@skcript.com>
This commit is contained in:
Varun Raj committed 2024-11-30 12:10:44 +05:30
1 parent 1290831ee3
commit 020ef8af38
7 files changed
+121 -28

No files matched your search

+8 -7
View File
@@ -6,13 +6,13 @@ export interface IAlbum {
updatedAt: Date;
id: string;
ownerId: string;
owner: IAlbumOwner;
albumUsers: any[];
shared: boolean;
hasSharedLink: boolean;
startDate: Date;
endDate: Date;
assets: any[];
owner?: IAlbumOwner;
albumUsers?: any[];
shared?: boolean;
hasSharedLink?: boolean;
startDate?: Date;
endDate?: Date;
assets?: any[];
assetCount: number;
isActivityEnabled: boolean;
order: string;
@@ -20,6 +20,7 @@ export interface IAlbum {
firstPhotoDate: Date;
lastPhotoDate: Date;
faceCount: number;
size: string;
}
export interface IAlbumOwner {