@softistx/s3 0.0.0-stage → 0.13.2
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/LICENSE +21 -0
- package/README.md +609 -2
- package/dist/bucket/bind-bucket.d.ts +42 -0
- package/dist/bucket/bind-bucket.d.ts.map +1 -0
- package/dist/bucket/bound-bucket.d.ts +119 -0
- package/dist/bucket/bound-bucket.d.ts.map +1 -0
- package/dist/bucket/context.d.ts +55 -0
- package/dist/bucket/context.d.ts.map +1 -0
- package/dist/bucket/define-bucket.d.ts +16 -0
- package/dist/bucket/define-bucket.d.ts.map +1 -0
- package/dist/bucket/disposition.d.ts +9 -0
- package/dist/bucket/disposition.d.ts.map +1 -0
- package/dist/bucket/guards.d.ts +38 -0
- package/dist/bucket/guards.d.ts.map +1 -0
- package/dist/bucket/operations/counted-stream.d.ts +26 -0
- package/dist/bucket/operations/counted-stream.d.ts.map +1 -0
- package/dist/bucket/operations/deadline.d.ts +21 -0
- package/dist/bucket/operations/deadline.d.ts.map +1 -0
- package/dist/bucket/operations/fetch-object.d.ts +68 -0
- package/dist/bucket/operations/fetch-object.d.ts.map +1 -0
- package/dist/bucket/operations/list-xml.d.ts +18 -0
- package/dist/bucket/operations/list-xml.d.ts.map +1 -0
- package/dist/bucket/operations/list.d.ts +12 -0
- package/dist/bucket/operations/list.d.ts.map +1 -0
- package/dist/bucket/operations/open-answer.d.ts +5 -0
- package/dist/bucket/operations/open-answer.d.ts.map +1 -0
- package/dist/bucket/operations/open-range.d.ts +10 -0
- package/dist/bucket/operations/open-range.d.ts.map +1 -0
- package/dist/bucket/operations/open-relay.d.ts +8 -0
- package/dist/bucket/operations/open-relay.d.ts.map +1 -0
- package/dist/bucket/operations/open.d.ts +4 -0
- package/dist/bucket/operations/open.d.ts.map +1 -0
- package/dist/bucket/operations/post-policy.d.ts +77 -0
- package/dist/bucket/operations/post-policy.d.ts.map +1 -0
- package/dist/bucket/operations/post-signer.d.ts +21 -0
- package/dist/bucket/operations/post-signer.d.ts.map +1 -0
- package/dist/bucket/operations/presign-post.d.ts +44 -0
- package/dist/bucket/operations/presign-post.d.ts.map +1 -0
- package/dist/bucket/operations/presign.d.ts +34 -0
- package/dist/bucket/operations/presign.d.ts.map +1 -0
- package/dist/bucket/operations/put-body.d.ts +13 -0
- package/dist/bucket/operations/put-body.d.ts.map +1 -0
- package/dist/bucket/operations/query-sign.d.ts +15 -0
- package/dist/bucket/operations/query-sign.d.ts.map +1 -0
- package/dist/bucket/operations/reads.d.ts +8 -0
- package/dist/bucket/operations/reads.d.ts.map +1 -0
- package/dist/bucket/operations/sized-body.d.ts +24 -0
- package/dist/bucket/operations/sized-body.d.ts.map +1 -0
- package/dist/bucket/operations/slice.d.ts +4 -0
- package/dist/bucket/operations/slice.d.ts.map +1 -0
- package/dist/bucket/operations/writes.d.ts +10 -0
- package/dist/bucket/operations/writes.d.ts.map +1 -0
- package/dist/bucket/shape.d.ts +6 -0
- package/dist/bucket/shape.d.ts.map +1 -0
- package/dist/bucket/types.d.ts +164 -0
- package/dist/bucket/types.d.ts.map +1 -0
- package/dist/chunks/index-jgjey570.js +118 -0
- package/dist/chunks/index-jgjey570.js.map +13 -0
- package/dist/errors/is-bucket-unavailable.d.ts +18 -0
- package/dist/errors/is-bucket-unavailable.d.ts.map +1 -0
- package/dist/errors/s3-error.d.ts +80 -0
- package/dist/errors/s3-error.d.ts.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1288 -0
- package/dist/index.js.map +32 -0
- package/dist/testing/fetch-archive.d.ts +8 -0
- package/dist/testing/fetch-archive.d.ts.map +1 -0
- package/dist/testing/index.d.ts +6 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +416 -0
- package/dist/testing/index.js.map +16 -0
- package/dist/testing/ports.d.ts +15 -0
- package/dist/testing/ports.d.ts.map +1 -0
- package/dist/testing/ready.d.ts +49 -0
- package/dist/testing/ready.d.ts.map +1 -0
- package/dist/testing/reaper.d.ts +4 -0
- package/dist/testing/reaper.d.ts.map +1 -0
- package/dist/testing/seaweedfs.d.ts +64 -0
- package/dist/testing/seaweedfs.d.ts.map +1 -0
- package/dist/testing/test-s3.d.ts +35 -0
- package/dist/testing/test-s3.d.ts.map +1 -0
- package/dist/testing/weed.d.ts +17 -0
- package/dist/testing/weed.d.ts.map +1 -0
- package/docs/README.md +17 -0
- package/docs/guide/buckets.md +220 -0
- package/docs/guide/presigned-urls.md +403 -0
- package/docs/guide/reads.md +417 -0
- package/docs/guide/testing.md +151 -0
- package/docs/guide/writes.md +374 -0
- package/docs/roadmap.md +116 -0
- package/docs/troubleshooting.md +982 -0
- package/package.json +61 -5
package/package.json
CHANGED
|
@@ -1,6 +1,62 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@softistx/s3",
|
|
3
|
+
"version": "0.13.2",
|
|
4
|
+
"description": "S3 on Bun's own client: buckets described once, keys built by a typed function, uploads refused before they are sent, and presigned URLs from the same definition",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"docs",
|
|
12
|
+
"README.md",
|
|
13
|
+
"package.json",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./testing": {
|
|
23
|
+
"types": "./dist/testing/index.d.ts",
|
|
24
|
+
"import": "./dist/testing/index.js",
|
|
25
|
+
"default": "./dist/testing/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"s3",
|
|
31
|
+
"bun",
|
|
32
|
+
"typescript",
|
|
33
|
+
"storage",
|
|
34
|
+
"presigned-url"
|
|
35
|
+
],
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/softistx/data.git",
|
|
39
|
+
"directory": "packages/s3"
|
|
40
|
+
},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"registry": "https://registry.npmjs.org",
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "bun run ../../build.ts",
|
|
47
|
+
"test": "bun run ../../scripts/seaweedfs.ts && bun test --timeout 30000 src",
|
|
48
|
+
"typecheck": "tsc --noEmit"
|
|
49
|
+
},
|
|
50
|
+
"nxgt": {
|
|
51
|
+
"entrypoints": [
|
|
52
|
+
"src/index.ts",
|
|
53
|
+
"src/testing/index.ts"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@types/bun": "^1.4.5"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"typescript": "^6.0.3 || ^7.0.0"
|
|
61
|
+
}
|
|
62
|
+
}
|