refactor(server): allow -1 rating again (#28886)

This commit is contained in:
Timon 2026-06-10 10:55:51 +02:00 committed by GitHub
parent 1ce961fbb3
commit 5c38373808
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 52 additions and 45 deletions

View file

@ -672,7 +672,7 @@ export type AssetBulkUpdateDto = {
latitude?: number;
/** Longitude coordinate */
longitude?: number;
/** Rating in range [1-5], or null for unrated */
/** Rating in range [1-5] (starred), -1 (rejected), or null (unrated) */
rating?: number | null;
/** Time zone (IANA timezone) */
timeZone?: string;
@ -919,7 +919,7 @@ export type UpdateAssetDto = {
livePhotoVideoId?: string | null;
/** Longitude coordinate */
longitude?: number;
/** Rating in range [1-5], or null for unrated */
/** Rating in range [1-5] (starred), -1 (rejected), or null (unrated) */
rating?: number | null;
visibility?: AssetVisibility;
};