mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Add const, func, and struct comments for easier troubleshooting
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user