API: Add const, func, and struct comments for easier troubleshooting

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-09-30 22:02:43 +02:00
parent bbf6580512
commit 983cbb50ff
6 changed files with 23 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ import (
// Event represents an api event type.
type Event string
// Canonical event payload status strings used by the API layer.
const (
StatusCreated Event = "created"
StatusUpdated Event = "updated"