name = "addon-config-worker"
main = "src/index.ts"
compatibility_date = "2026-05-31"
workers_dev = true

[[durable_objects.bindings]]
name = "ADDON_CONFIG_SESSIONS"
class_name = "ConfigSessionDO"

[[durable_objects.bindings]]
name = "AUTH_SESSIONS"
class_name = "AuthSessionDO"

[[migrations]]
tag = "v1"
new_sqlite_classes = ["ConfigSessionDO"]

[[migrations]]
tag = "v2"
new_sqlite_classes = ["AuthSessionDO"]

[vars]
PUBLIC_HOST = "https://addon-config-worker.tw24fr.workers.dev"
APP_NAME = "Unspooled"
