mirror of
https://github.com/get-drexa/drive.git
synced 2026-02-03 10:31:17 +00:00
feat: impl files endpoints
This commit is contained in:
13
apps/backend/internal/catalog/file.go
Normal file
13
apps/backend/internal/catalog/file.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package catalog
|
||||
|
||||
import "time"
|
||||
|
||||
type FileInfo struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Size int64 `json:"size"`
|
||||
MimeType string `json:"mimeType"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
DeletedAt *time.Time `json:"deletedAt,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user