@constructive-io/bucket-provisioner 0.27.0 → 0.28.0
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 +1 -1
- package/esm/types.d.ts +2 -2
- package/package.json +4 -4
- package/types.d.ts +2 -2
package/README.md
CHANGED
|
@@ -146,7 +146,7 @@ The main class that orchestrates bucket creation and configuration.
|
|
|
146
146
|
|
|
147
147
|
| Option | Type | Description |
|
|
148
148
|
|--------|------|-------------|
|
|
149
|
-
| `connection.provider` | `'s3' \| 'minio' \| 'r2' \| 'gcs' \| 'spaces'` | Storage provider type |
|
|
149
|
+
| `connection.provider` | `'s3' \| 'minio' \| 'rustfs' \| 'r2' \| 'gcs' \| 'spaces'` | Storage provider type |
|
|
150
150
|
| `connection.region` | `string` | S3 region (e.g., `'us-east-1'`) |
|
|
151
151
|
| `connection.endpoint` | `string?` | S3-compatible endpoint URL. Required for non-AWS providers. |
|
|
152
152
|
| `connection.accessKeyId` | `string` | AWS access key ID |
|
package/esm/types.d.ts
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* Used to select provider-specific behavior (e.g., path-style URLs for MinIO,
|
|
11
11
|
* jurisdiction headers for R2).
|
|
12
12
|
*/
|
|
13
|
-
export type StorageProvider = 's3' | 'minio' | 'r2' | 'gcs' | 'spaces';
|
|
13
|
+
export type StorageProvider = 's3' | 'minio' | 'rustfs' | 'r2' | 'gcs' | 'spaces';
|
|
14
14
|
/**
|
|
15
15
|
* Connection configuration for an S3-compatible storage backend.
|
|
16
16
|
*
|
|
17
17
|
* This is the input you provide to connect to your storage provider.
|
|
18
18
|
* For AWS S3, only `region` and credentials are needed.
|
|
19
|
-
* For MinIO/R2/etc., also provide `endpoint`.
|
|
19
|
+
* For MinIO/RustFS/R2/etc., also provide `endpoint`.
|
|
20
20
|
*/
|
|
21
21
|
export interface StorageConnectionConfig {
|
|
22
22
|
/** Storage provider type */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/bucket-provisioner",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "S3-compatible bucket provisioning library — create buckets, configure privacy policies, CORS, and access controls",
|
|
6
6
|
"main": "index.js",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@aws-sdk/client-s3": "^3.1052.0",
|
|
33
|
-
"@constructive-io/s3-utils": "^2.
|
|
33
|
+
"@constructive-io/s3-utils": "^2.33.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"makage": "^0.
|
|
36
|
+
"makage": "^0.8.0"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"s3",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"storage",
|
|
45
45
|
"constructive"
|
|
46
46
|
],
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "5e0bfead2856d1a062b495d343a43e543343f9b8"
|
|
48
48
|
}
|
package/types.d.ts
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* Used to select provider-specific behavior (e.g., path-style URLs for MinIO,
|
|
11
11
|
* jurisdiction headers for R2).
|
|
12
12
|
*/
|
|
13
|
-
export type StorageProvider = 's3' | 'minio' | 'r2' | 'gcs' | 'spaces';
|
|
13
|
+
export type StorageProvider = 's3' | 'minio' | 'rustfs' | 'r2' | 'gcs' | 'spaces';
|
|
14
14
|
/**
|
|
15
15
|
* Connection configuration for an S3-compatible storage backend.
|
|
16
16
|
*
|
|
17
17
|
* This is the input you provide to connect to your storage provider.
|
|
18
18
|
* For AWS S3, only `region` and credentials are needed.
|
|
19
|
-
* For MinIO/R2/etc., also provide `endpoint`.
|
|
19
|
+
* For MinIO/RustFS/R2/etc., also provide `endpoint`.
|
|
20
20
|
*/
|
|
21
21
|
export interface StorageConnectionConfig {
|
|
22
22
|
/** Storage provider type */
|