Implements the schedule module for COMPASS construction PM: - D1/Drizzle schema: tasks, dependencies, phases tables - frappe-gantt integration for interactive timeline view - Critical path analysis (forward/backward pass, float calc) - Dependency validation with cycle detection - Business day calculations (skip weekends/holidays) - Date propagation engine for cascading schedule changes - Task CRUD with phase assignment and progress tracking - Dependency management (FS/FF/SS/SF with lag support) - Dual view: sortable list view + gantt chart view Also includes full Next.js app scaffold with dashboard, shadcn/ui components, and Cloudflare Workers deployment config.
64 lines
1.9 KiB
JSON
Executable File
64 lines
1.9 KiB
JSON
Executable File
/**
|
|
* For more details on how to configure Wrangler, refer to:
|
|
* https://developers.cloudflare.com/workers/wrangler/configuration/
|
|
*/
|
|
/**
|
|
* For more details on how to configure Wrangler, refer to:
|
|
* https://developers.cloudflare.com/workers/wrangler/configuration/
|
|
*/
|
|
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "dashboard-app-template",
|
|
"main": ".open-next/worker.js",
|
|
"compatibility_date": "2025-12-01",
|
|
"compatibility_flags": [
|
|
"nodejs_compat",
|
|
"global_fetch_strictly_public"
|
|
],
|
|
"assets": {
|
|
"binding": "ASSETS",
|
|
"directory": ".open-next/assets"
|
|
},
|
|
"images": {
|
|
// Enable image optimization
|
|
// see https://opennext.js.org/cloudflare/howtos/image
|
|
"binding": "IMAGES"
|
|
},
|
|
"services": [
|
|
{
|
|
// Self-reference service binding, the service name must match the worker name
|
|
// see https://opennext.js.org/cloudflare/caching
|
|
"binding": "WORKER_SELF_REFERENCE",
|
|
"service": "dashboard-app-template"
|
|
}
|
|
],
|
|
"observability": {
|
|
"enabled": true
|
|
},
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "compass-db",
|
|
"database_id": "placeholder-run-wrangler-d1-create",
|
|
"migrations_dir": "drizzle"
|
|
}
|
|
]
|
|
/**
|
|
* Smart Placement
|
|
* https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
|
|
*/
|
|
// "placement": { "mode": "smart" }
|
|
/**
|
|
* Bindings
|
|
* Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
|
|
* databases, object storage, AI inference, real-time communication and more.
|
|
* https://developers.cloudflare.com/workers/runtime-apis/bindings/
|
|
*/
|
|
/**
|
|
* Environment Variables
|
|
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
|
|
* Note: Use secrets to store sensitive data.
|
|
* https://developers.cloudflare.com/workers/configuration/secrets/
|
|
*/
|
|
// "vars": { "MY_VARIABLE": "production_value" }
|
|
} |