get all tenders with documeents scraped API

This commit is contained in:
Mazyar
2026-05-19 19:23:18 +03:30
parent fcf2cae6bc
commit f7763cf997
7 changed files with 306 additions and 2 deletions
+7
View File
@@ -85,6 +85,13 @@ type DocumentSummary struct {
Error string `json:"error"` // empty string when no error
}
// ProcedureDocumentsSummary reports scraped documents stored under one procedure folder in MinIO.
type ProcedureDocumentsSummary struct {
ContractFolderID string `json:"contract_folder_id"`
DocumentCount int `json:"document_count"`
LatestModified int64 `json:"latest_modified"` // Unix seconds
}
// StoredDocument represents a document object stored for a tender in MinIO.
type StoredDocument struct {
ObjectName string `json:"-"`