diff --git a/api/schema/objects.go b/api/schema/objects.go index a937556..ddc5e91 100644 --- a/api/schema/objects.go +++ b/api/schema/objects.go @@ -251,6 +251,13 @@ type ObjectSignedURLBody struct { Expiration string `json:"expiration"` // timestamp for when the signed URL will expire } +// Letters type +type Letters struct { + Date string `bson:"date" json:"date"` + Letters string `bson:"letters" json:"letters"` +} + +// Type for all API responses type APIResponse[T any] struct { Status int `json:"status"` Message string `json:"message"`