transceiver-db/package.json
Rene Fichtmueller f162e03978 feat: Flexoptix internal demand intelligence + real forecast calibration
- Migration 099: flexoptix_internal_demand table with RLS + v_demand_by_speed view
- Import script: AES-256-CBC decrypt → parse 8585 SKUs → upsert with velocity class
- 279 SKUs cross-referenced to transceiver catalog; 1288 with real demand data
- New /api/internal/demand/* routes (by-speed, velocity, hype-weights, forecast-input)
  — protected by JWT auth + localhost/LAN IP restriction middleware
- Forecast engine calibrated with real Flexoptix run-rates (demand_calibrated flag)
- Dashboard: real Flexoptix Sales Velocity panel replaces DEMO DATA in Warehouse tab
  with momentum indicators, velocity class breakdown, trend arrows
- Security: data stays on private server; RLS enforces is_internal=TRUE at DB layer
2026-04-25 17:44:20 +02:00

32 lines
1012 B
JSON

{
"name": "transceiver-intelligence-platform",
"version": "0.1.0",
"private": true,
"description": "Transceiver Intelligence Platform — the world's most comprehensive optical transceiver & network switch database",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "npm run build --workspaces",
"build:core": "npm run build -w packages/core",
"build:api": "npm run build -w packages/api",
"dev": "npm run dev -w packages/api",
"learning-pool:build": "tsx scripts/tip-learning-pool-build.ts",
"learning-pool:publish-hf": "python3 scripts/tip-publish-hf-datasets.py",
"migrate": "tsx scripts/migrate.ts",
"seed": "tsx scripts/seed-from-npm.ts",
"db:reset": "npm run migrate && npm run seed"
},
"author": "Rene Fichtmueller",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/renefichtmueller/transceiver-db"
},
"devDependencies": {
"tsx": "^4.19",
"typescript": "^5.9.3",
"xlsx": "^0.18.5"
}
}