{ "$schema": "node_modules/wrangler/config-schema.json", "name": "diigo-cache", "main": "src/index.ts", "compatibility_date": "2026-09-29", "observability": { "enabled": true }, // capnweb's browser build, served as text at /_capnweb.js (the worker // itself imports capnweb's workerd build as code) "rules": [{ "type": "Text", "globs": ["**/capnweb/dist/index.js"], "fallthrough": true }], "services": [ { "binding": "WEBAPP", "service": "webapp", "entrypoint": "WebAppFactory" } ], "durable_objects": { "bindings": [ { "name": "CACHE_DO", "class_name": "DiigoCache" }, { "name": "PUBLIC_DO", "class_name": "PublicCache" } ] }, "exports": { "DiigoCache": { "type": "durable-object", "storage": "sqlite" }, "PublicCache": { "type": "durable-object", "storage": "sqlite" } } }