fix(lint): Add ctx shim to routes/apps and routes/arr

- routes/apps/deploy.js: Add ctx shim with APP_TEMPLATES, siteConfig, buildDomain, buildServiceUrl, addServiceToConfig, dns, notification, safeErrorMessage
- routes/apps/index.js: Extract additional ctx properties for sub-routes
- routes/arr/config.js: Add ctx shim with notification, safeErrorMessage + logError import
- routes/arr/index.js: Extract notification, safeErrorMessage for sub-routes

Result: Fixed ~30 no-undef errors (deploy.js 0 errors, arr/config.js 0 errors)
This commit is contained in:
Krystie
2026-03-29 22:35:13 -07:00
parent 3de65dbf81
commit 5baa97bbf9
9 changed files with 119 additions and 6 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "dashcaddy-api",
"version": "1.1.0",
"version": "1.1.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "dashcaddy-api",
"version": "1.1.0",
"version": "1.1.5",
"dependencies": {
"compression": "^1.8.1",
"cors": "^2.8.6",