feat: process attachments through durable versioned jobs

This commit is contained in:
Vladislav Agapov
2026-10-29 16:56:06 +03:00
parent 276dbdad8a
commit e35c8f0b75
235 changed files with 17028 additions and 44 deletions
+13
View File
@@ -0,0 +1,13 @@
package dto
import "time"
// SessionDTO is an issued session, exposing the raw token only at creation.
type SessionDTO struct {
// Token contains 256 random bits encoded for a Bearer header.
Token string
// ExpiresAt is an absolute UTC deadline which is not extended by reads.
ExpiresAt time.Time
// User is the authenticated account without credentials.
User UserDTO
}