70bf21e064
Handle Changesets / Handle Changesets (push) Waiting to run
Semgrep OSS scan / semgrep-oss (push) Waiting to run
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
25 lines
582 B
JSON
25 lines
582 B
JSON
{
|
|
"name": "external-do",
|
|
"main": "src/index.ts",
|
|
// external durable object = binding has script_name. This indicates that
|
|
// the DO is exported in a separate Worker called `do-worker`. For the
|
|
// purposes of testing, we don't need to set that up because
|
|
// getPlatformProxy would not be involved in running that Worker.
|
|
|
|
"durable_objects": {
|
|
"bindings": [
|
|
{
|
|
"class_name": "MyDurableObject",
|
|
"name": "MY_DURABLE_OBJECT",
|
|
"script_name": "do-worker",
|
|
},
|
|
],
|
|
},
|
|
"migrations": [
|
|
{
|
|
"new_sqlite_classes": ["MyDurableObject"],
|
|
"tag": "v1",
|
|
},
|
|
],
|
|
}
|