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:
Giacomo Pinato
2026-07-30 19:41:49 +00:00
committed by GitHub
co-authored by Giacomo Pinato
parent e7aace436d
commit 6b6058c463
9 changed files with 118 additions and 18 deletions
+2 -2
View File
@@ -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;