Reference

Configuration

Bindings, variables, secrets, hosts and scripts.

Everything the editor-catalog Worker is bound to, from wrangler.jsonc.

Worker

Setting Value
Name editor-catalog
Entry point custom-worker.ts
Compatibility date 2026-08-24
Compatibility flags global_fetch_strictly_public, nodejs_compat
Observability On

Bindings

Binding Type Resource
DB D1 database editor-catalog-db
DOCS R2 bucket editor-catalog-documents
WORKER_SELF_REFERENCE Service binding editor-catalog
ITEM_CODE_EDITOR Service binding code-editor
ITEM_DOCUMENT_EDITOR Service binding document-editor
ITEM_KANBAN_EDITOR Service binding kanban-editor
ITEM_TEXT_EDITOR Service binding text-editor
ITEM_WEBSITE_EDITOR Service binding website-editor
ITEM_WHITEBOARD_EDITOR Service binding whiteboard-editor
ITEM_WORKFLOW_EDITOR Service binding workflow-editor
IMAGES Images —
ASSETS Static assets .open-next/assets

Secrets

Required: EDIT_PASSCODE. Set each one on the Worker with npx wrangler secret put <NAME>, and in .dev.vars for local runs.

Hosts

Address Kind
editor-registry.appneurox.com Custom domain
*.editors.appneural.com/* Route (zone appneural.com)

npm scripts

Script Runs
dev next dev
build next build
start next start
lint eslint .
typecheck tsc --noEmit
db:migrate:local wrangler d1 migrations apply editor-catalog-db --local
db:migrate:remote wrangler d1 migrations apply editor-catalog-db --remote
build:cloudflare opennextjs-cloudflare build
deploy npm run build:cloudflare && opennextjs-cloudflare deploy
preview npm run build:cloudflare && opennextjs-cloudflare preview
cf-typegen wrangler types --env-interface CloudflareEnv ./cloudflare-env.d.ts
Last updated 2 November 2026