70bf21e064
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
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
24 lines
603 B
JSON
24 lines
603 B
JSON
{
|
|
"name": "internal-do",
|
|
"main": "src/index.ts",
|
|
// Internal durable object = the binding does not specify a script name.
|
|
// This implies the DO is exported alongside this worker in `index.ts`,
|
|
// which it isn't actually. However we don't care about this here because
|
|
// getPlatformProxy will discard all user code anyway. We are simply making
|
|
// sure the warning shows up.
|
|
"durable_objects": {
|
|
"bindings": [
|
|
{
|
|
"class_name": "MyDurableObject",
|
|
"name": "MY_DURABLE_OBJECT",
|
|
},
|
|
],
|
|
},
|
|
"migrations": [
|
|
{
|
|
"new_sqlite_classes": ["MyDurableObject"],
|
|
"tag": "v1",
|
|
},
|
|
],
|
|
}
|