Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11)
FastAPI backend (Python 3.11, MSSQL ODBC for SambaPOS, Azure DI OCR),
kitchen_db on central PG. React/TS/Vite frontend with navy sidebar layout.
Backend: auth.py (APP_SLUG=kitchen, SimpleNamespace — archive routes use
.kitchen_id/.is_admin without modification), main.py (51 migrations, scheduler,
internal router for KDS bookings feed), api/internal.py, full archive API
(31 routers: invoices, recipes, menus, sambapos, resos, newbook, disputes,
purchase_orders, etc.), models, migrations, OCR pipeline.
kitchen_id pinned to 1 (B1 — single hotel).
Frontend: AuthGate (app=kitchen, token shim for archive compat — B5b pending),
Layout (navy sidebar, 6 sections, Lucide icons, teal --app-primary),
App.tsx (Outlet pattern, UploadApp outside Layout), index.css (full :root block).
strict: false — archive components have type issues; build clean.
Note: 45 archive components call fetch('/api/...') without /kitchen/ prefix
(B5b). Runtime 404s; deferred until after initial testing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
8d688b459d
10003 changed files with 1928395 additions and 0 deletions
55
frontend/node_modules/text-segmentation/package.json
generated
vendored
Normal file
55
frontend/node_modules/text-segmentation/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
"name": "text-segmentation",
|
||||
"version": "1.0.3",
|
||||
"description": "",
|
||||
"main": "dist/text-segmentation.umd.js",
|
||||
"module": "dist/text-segmentation.es5.js",
|
||||
"typings": "dist/types/index.d.ts",
|
||||
"scripts": {
|
||||
"prebuild": "rimraf dist/",
|
||||
"build": "tsc --module commonjs && rollup -c rollup.config.ts",
|
||||
"format": "prettier --write \"{src,scripts}/**/*.ts\"",
|
||||
"generate-trie": "ts-node scripts/generate_grapheme_break_trie.ts",
|
||||
"generate-tests": "ts-node scripts/generate_grapheme_break_tests.ts",
|
||||
"lint": "tslint -c tslint.json --project tsconfig.json -t codeFrame src/**/*.ts tests/**/*.ts scripts/**/*.ts",
|
||||
"mocha": "mocha --require ts-node/register tests/*.ts",
|
||||
"test": "npm run lint && npm run mocha",
|
||||
"release": "standard-version"
|
||||
},
|
||||
"dependencies": {
|
||||
"utrie": "^1.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^19.0.0",
|
||||
"@rollup/plugin-node-resolve": "^13.0.0",
|
||||
"@rollup/plugin-typescript": "^8.2.1",
|
||||
"@types/mocha": "^8.2.2",
|
||||
"@types/node": "^16.0.0",
|
||||
"mocha": "9.0.2",
|
||||
"prettier": "^2.3.2",
|
||||
"rimraf": "3.0.2",
|
||||
"rollup": "^2.52.7",
|
||||
"rollup-plugin-json": "^4.0.0",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"standard-version": "^9.3.0",
|
||||
"ts-node": "^10.0.0",
|
||||
"tslib": "^2.3.0",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-prettier": "^1.18.0",
|
||||
"typescript": "^4.3.5"
|
||||
},
|
||||
"author": {
|
||||
"name": "Niklas von Hertzen",
|
||||
"email": "niklasvh@gmail.com",
|
||||
"url": "https://hertzen.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/niklasvh/text-segmentation.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/niklasvh/text-segmentation/issues"
|
||||
},
|
||||
"homepage": "https://github.com/niklasvh/text-segmentation"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue