mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
feat: store null instead of empty string for album.description (#30123)
Addresses the first column of issue #28832: album.description now stores and returns null instead of an empty string. Co-authored-by: Giacomo Pinato <giacomo.pinato@gmail.com>
This commit is contained in:
co-authored by
Giacomo Pinato
parent
e7aace436d
commit
6b6058c463
@@ -540,7 +540,7 @@ export type CreateAlbumDto = {
|
||||
/** Initial asset IDs */
|
||||
assetIds?: string[];
|
||||
/** Album description */
|
||||
description?: string;
|
||||
description?: string | null;
|
||||
};
|
||||
export type AlbumsAddAssetsDto = {
|
||||
/** Album IDs */
|
||||
@@ -567,7 +567,7 @@ export type UpdateAlbumDto = {
|
||||
/** Album thumbnail asset ID */
|
||||
albumThumbnailAssetId?: string;
|
||||
/** Album description */
|
||||
description?: string;
|
||||
description?: string | null;
|
||||
/** Enable activity feed */
|
||||
isActivityEnabled?: boolean;
|
||||
order?: AssetOrder;
|
||||
|
||||
Reference in New Issue
Block a user