feat(web): timeline bucket for albums (4) (#3604)

* feat: server changes for album timeline

* feat(web): album timeline view

* chore: open api

* chore: remove archive action

* fix: favorite for non-owners
This commit is contained in:
Jason Rasmussen
2023-08-11 12:00:51 -04:00
committed by GitHub
parent 36dc7bd924
commit 5cd13227ad
47 changed files with 1014 additions and 757 deletions

View File

@@ -197,6 +197,7 @@ describe(`${AlbumController.name} (e2e)`, () => {
albumThumbnailAssetId: null,
shared: false,
sharedUsers: [],
hasSharedLink: false,
assets: [],
assetCount: 0,
owner: expect.objectContaining({ email: user1.userEmail }),

View File

@@ -77,6 +77,7 @@ const albumResponse: AlbumResponseDto = {
owner: mapUser(userStub.admin),
sharedUsers: [],
shared: false,
hasSharedLink: false,
assets: [],
assetCount: 1,
};
@@ -278,7 +279,7 @@ export const sharedLinkResponseStub = {
allowUpload: false,
allowDownload: false,
showExif: false,
album: albumResponse,
album: { ...albumResponse, startDate: assetResponse.fileCreatedAt, endDate: assetResponse.fileCreatedAt },
assets: [{ ...assetResponse, exifInfo: undefined }],
}),
};