@quickback-dev/cli 0.64.2 → 0.65.1
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/dist/index.js +1 -1
- package/dist/lib/action-harvest.d.ts.map +1 -1
- package/dist/lib/action-harvest.js +6 -1
- package/dist/lib/action-harvest.js.map +1 -1
- package/dist/lib/action-harvest.test.js +19 -0
- package/dist/lib/action-harvest.test.js.map +1 -1
- package/dist/lib/compiler-stubs.d.ts +10 -0
- package/dist/lib/compiler-stubs.d.ts.map +1 -1
- package/dist/lib/compiler-stubs.js +16 -0
- package/dist/lib/compiler-stubs.js.map +1 -1
- package/dist/lib/file-writer.js +23 -0
- package/dist/lib/file-writer.js.map +1 -1
- package/dist/lib/file-writer.test.js +25 -0
- package/dist/lib/file-writer.test.js.map +1 -1
- package/dist/skill/docs/api/actions.md +6 -20
- package/dist/skill/docs/changelog/index.md +53 -2
- package/dist/skill/docs/configure/bindings.md +1 -1
- package/dist/skill/docs/configure/domains.md +15 -2
- package/dist/skill/docs/configure/variables.md +2 -2
- package/dist/skill/docs/define/actions/defining.md +12 -0
- package/dist/skill/docs/define/sealed-protocol.md +1 -1
- package/dist/skill/docs/platform/auth/plugins/aws-ses.md +6 -18
- package/dist/skill/docs/platform/auth/plugins/aws-sns.md +4 -4
- package/dist/skill/docs/platform/auth/plugins/index.md +10 -3
- package/dist/skill/docs/platform/realtime/index.md +2 -1
- package/dist/skill/docs/platform/realtime/using-realtime.md +7 -5
- package/dist/skill/docs/platform/storage/r2.md +12 -0
- package/dist/skill/docs/start/template-cloudflare.md +1 -1
- package/package.json +1 -1
- package/src/skill/docs/api/actions.md +6 -20
- package/src/skill/docs/changelog/index.md +53 -2
- package/src/skill/docs/configure/bindings.md +1 -1
- package/src/skill/docs/configure/domains.md +15 -2
- package/src/skill/docs/configure/variables.md +2 -2
- package/src/skill/docs/define/actions/defining.md +12 -0
- package/src/skill/docs/define/sealed-protocol.md +1 -1
- package/src/skill/docs/platform/auth/plugins/aws-ses.md +6 -18
- package/src/skill/docs/platform/auth/plugins/aws-sns.md +4 -4
- package/src/skill/docs/platform/auth/plugins/index.md +10 -3
- package/src/skill/docs/platform/realtime/index.md +2 -1
- package/src/skill/docs/platform/realtime/using-realtime.md +7 -5
- package/src/skill/docs/platform/storage/r2.md +12 -0
- package/src/skill/docs/start/template-cloudflare.md +1 -1
|
@@ -76,6 +76,7 @@ export default {
|
|
|
76
76
|
fileStorage: {
|
|
77
77
|
name: 'cloudflare-r2',
|
|
78
78
|
config: {
|
|
79
|
+
managed: true,
|
|
79
80
|
binding: 'R2_BUCKET',
|
|
80
81
|
bucketName: 'my-app-files',
|
|
81
82
|
filesBinding: 'FILES_DB',
|
|
@@ -87,6 +88,17 @@ export default {
|
|
|
87
88
|
};
|
|
88
89
|
```
|
|
89
90
|
|
|
91
|
+
> `managed: true` is what turns on everything on this page — the `/storage/v1/*`
|
|
92
|
+
> routes, the files worker, and the `FILES_DB` metadata database. Without it R2
|
|
93
|
+
> file storage is **presign-only**: the compiler signs requests against the
|
|
94
|
+
> bucket by name and emits **no** bucket binding into `wrangler.toml`, so
|
|
95
|
+
> `binding` and `filesBinding` are ignored and `env.R2_BUCKET` is `undefined`
|
|
96
|
+
> at runtime (the compile warns when you set them anyway).
|
|
97
|
+
>
|
|
98
|
+
> To read the bucket directly from your own code in presign-only mode, declare
|
|
99
|
+
> it yourself under [`bindings.r2Buckets`](/configure/bindings).
|
|
100
|
+
|
|
101
|
+
|
|
90
102
|
## API Endpoints
|
|
91
103
|
|
|
92
104
|
### Storage API (api.yourdomain.com/storage/v1)
|
|
@@ -204,7 +204,7 @@ Depending on your configuration, the compiler may also generate bindings for:
|
|
|
204
204
|
|
|
205
205
|
| Binding | Type | When Generated |
|
|
206
206
|
|---------|------|----------------|
|
|
207
|
-
| `R2_BUCKET` | R2 Bucket | `fileStorage`
|
|
207
|
+
| `R2_BUCKET` | R2 Bucket | **managed** `fileStorage` — `{ managed: true }` (presign-only emits no binding) |
|
|
208
208
|
| `AI` | Workers AI | `embeddings` configured on any feature |
|
|
209
209
|
| `VECTORIZE` | Vectorize Index | `embeddings` configured |
|
|
210
210
|
| `EMBEDDINGS_QUEUE` | Queue | `embeddings` configured |
|