@zola_do/seaweed 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,6 +15,18 @@ AWS S3-compatible object storage for NestJS (SeaweedFS, MinIO, or AWS S3).
|
|
|
15
15
|
- **Presigned URLs** — Secure upload/download links
|
|
16
16
|
- **Abstract S3 Class** — Implement custom providers
|
|
17
17
|
- **TypeScript Types** — Full type safety
|
|
18
|
+
- **Storage contract types** — `ZolaObjectStorage` and `ZolaStoredFileRef` (mirrored from `@zola_do/minio`)
|
|
19
|
+
|
|
20
|
+
## Storage contract types
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import {
|
|
24
|
+
ZolaObjectStorage,
|
|
25
|
+
ZolaStoredFileRef,
|
|
26
|
+
} from '@zola_do/seaweed';
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Same normalized types as `@zola_do/minio` — choose one backend package and program against `ZolaObjectStorage` so you can swap MinIO ↔ Seaweed/S3 without domain-layer changes.
|
|
18
30
|
|
|
19
31
|
## Installation
|
|
20
32
|
|