feat: potential albums feature
Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
1 parent
6c8c1cc3fb
commit
21b053aac6
23 files changed
+974
-27
No files matched your search
Vendored
+28
@@ -0,0 +1,28 @@
|
||||
export interface IAlbum {
|
||||
albumName: string;
|
||||
description: string;
|
||||
albumThumbnailAssetId: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
id: string;
|
||||
ownerId: string;
|
||||
owner: IAlbumOwner;
|
||||
albumUsers: any[];
|
||||
shared: boolean;
|
||||
hasSharedLink: boolean;
|
||||
startDate: Date;
|
||||
endDate: Date;
|
||||
assets: any[];
|
||||
assetCount: number;
|
||||
isActivityEnabled: boolean;
|
||||
order: string;
|
||||
lastModifiedAssetTimestamp: Date;
|
||||
}
|
||||
|
||||
export interface IAlbumOwner {
|
||||
id: string;
|
||||
email: string;
|
||||
name: string;
|
||||
profileImagePath: string;
|
||||
avatarColor: string;
|
||||
}
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
export interface IAsset {
|
||||
id: string;
|
||||
ownerId: string;
|
||||
deviceId: string;
|
||||
type: string;
|
||||
originalPath: string;
|
||||
previewPath: string;
|
||||
isFavorite: boolean;
|
||||
duration: null;
|
||||
thumbnailPath: string;
|
||||
encodedVideoPath: string;
|
||||
originalFileName: string;
|
||||
sidecarPath: null;
|
||||
thumbhash: IAssetThumbhash;
|
||||
deletedAt: null;
|
||||
localDateTime: string;
|
||||
exifImageWidth: number;
|
||||
exifImageHeight: number;
|
||||
url: string;
|
||||
previewUrl: string;
|
||||
}
|
||||
|
||||
export interface IAssetThumbhash {
|
||||
type: string;
|
||||
data: number[];
|
||||
}
|
||||
Reference in new issue
Block a user