Add asset metadata, sharing, and MinIO-backed signed links.
CI / test (pull_request) Successful in 4s
CI / test (pull_request) Successful in 4s
This introduces deduplicated per-user image/3D asset records linked into feature properties, adds visibility-controlled download routing, and wires local S3-compatible storage with automatic bucket bootstrap in Docker Compose. Made-with: Cursor
This commit is contained in:
@@ -21,5 +21,12 @@ type Store interface {
|
||||
ListFeaturesByCollection(collectionID string) []Feature
|
||||
GetFeature(featureID string) (Feature, error)
|
||||
DeleteFeature(featureID string) error
|
||||
SaveAsset(a Asset)
|
||||
GetAsset(assetID string) (Asset, error)
|
||||
GetAssetByOwnerChecksumExt(ownerKey, checksum, ext string) (Asset, error)
|
||||
SetAssetPublic(assetID string, isPublic bool) error
|
||||
LinkAssetToFeature(featureID, assetID, name, description string) error
|
||||
UnlinkAssetFromFeature(featureID, assetID string) error
|
||||
ListAssetsByFeature(featureID string) []FeatureAsset
|
||||
PruneExpired(now time.Time)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user