Skip to content

Commit 119b8b7

Browse files
committed
fixups
1 parent ff46407 commit 119b8b7

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.changeset/eleven-wolves-cry.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
"miniflare": minor
44
---
55

6-
explorer: fix handling on resources shared between multiple workers
6+
local explorer: fix handling on resources that are bound to multiple workers
7+
8+
Note the local explorer is a experimental feature still.

fixtures/worker-with-resources/worker-configuration.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// Generated by Wrangler by running `wrangler types --no-include-runtime` (hash: 3080c55aa34f3cfa38c5e93fb9275475)
2+
// Generated by Wrangler by running `wrangler types --no-include-runtime` (hash: 5770eff0c6b7e72c420371c2704d44b3)
33
declare namespace Cloudflare {
44
interface GlobalProps {
55
mainModule: typeof import("./src/index");
@@ -8,10 +8,14 @@ declare namespace Cloudflare {
88
interface Env {
99
KV: KVNamespace;
1010
KV_WITH_ID: KVNamespace;
11+
KV_B: KVNamespace;
1112
BUCKET: R2Bucket;
13+
BUCKET_B: R2Bucket;
1214
DB: D1Database;
1315
BACKUP_DB: D1Database;
16+
DB_B: D1Database;
1417
DO: DurableObjectNamespace<import("./src/index").MyDurableObject>;
18+
DO_B: DurableObjectNamespace /* WorkerBDurableObject from worker-b */;
1519
MY_WORKFLOW: Workflow<
1620
Parameters<import("./src/index").MyWorkflow["run"]>[0]["payload"]
1721
>;

fixtures/worker-with-resources/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
{
5353
"name": "DO_B",
5454
"class_name": "WorkerBDurableObject",
55-
"script_name": "worker-c",
55+
"script_name": "worker-b",
5656
},
5757
],
5858
},

0 commit comments

Comments
 (0)