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

@ -16602,9 +16602,9 @@
"type": "number"
},
"rating": {
"description": "Rating in range [1-5], or null for unrated",
"description": "Rating in range [1-5] (starred), -1 (rejected), or null (unrated)",
"maximum": 5,
"minimum": 1,
"minimum": -1,
"nullable": true,
"type": "integer",
"x-immich-history": [
@ -16616,15 +16616,10 @@
"version": "v2",
"state": "Stable"
},
{
"version": "v2.6.0",
"state": "Updated",
"description": "Using -1 as a rating is deprecated and will be removed in the next major version."
},
{
"version": "v3",
"state": "Updated",
"description": "Using -1 as a rating is no longer valid."
"description": "Using 0 as a rating is no longer valid."
}
],
"x-immich-state": "Stable"
@ -26430,9 +26425,9 @@
"type": "number"
},
"rating": {
"description": "Rating in range [1-5], or null for unrated",
"description": "Rating in range [1-5] (starred), -1 (rejected), or null (unrated)",
"maximum": 5,
"minimum": 1,
"minimum": -1,
"nullable": true,
"type": "integer",
"x-immich-history": [
@ -26444,15 +26439,10 @@
"version": "v2",
"state": "Stable"
},
{
"version": "v2.6.0",
"state": "Updated",
"description": "Using -1 as a rating is deprecated and will be removed in the next major version."
},
{
"version": "v3",
"state": "Updated",
"description": "Using -1 as a rating is no longer valid."
"description": "Using 0 as a rating is no longer valid."
}
],
"x-immich-state": "Stable"