sse + ocr replanish

This commit is contained in:
m
2026-07-29 18:56:26 +02:00
parent 68a4beef37
commit 397803fb96
14 changed files with 386 additions and 26 deletions
+10
View File
@@ -12,6 +12,16 @@ import (
"github.com/google/uuid"
)
type OcrJob struct {
ID uuid.UUID `json:"id"`
ResourceID uuid.UUID `json:"resource_id"`
FilePath string `json:"file_path"`
Status string `json:"status"`
ErrorMessage string `json:"error_message"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type RebacRelation struct {
ID uuid.UUID `json:"id"`
ResourceID uuid.UUID `json:"resource_id"`