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:
jtricerolph 2026-07-12 12:15:39 +00:00
commit 8d688b459d
10003 changed files with 1928395 additions and 0 deletions

BIN
frontend/node_modules/pdfjs-dist/cmaps/78-EUC-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/78-EUC-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/78-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/78-RKSJ-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/78-RKSJ-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/78-V.bcmap generated vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Add-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Add-RKSJ-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Add-RKSJ-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Add-V.bcmap generated vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/B5-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/B5-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/B5pc-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/B5pc-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/CNS-EUC-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/CNS-EUC-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/CNS1-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/CNS1-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/CNS2-H.bcmap generated vendored Normal file

Binary file not shown.

3
frontend/node_modules/pdfjs-dist/cmaps/CNS2-V.bcmap generated vendored Normal file
View file

@ -0,0 +1,3 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSEáCNS2-H

BIN
frontend/node_modules/pdfjs-dist/cmaps/ETHK-B5-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/ETHK-B5-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/ETen-B5-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/ETen-B5-V.bcmap generated vendored Normal file

Binary file not shown.

View file

@ -0,0 +1,3 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSEá ETen-B5-H` ^

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/EUC-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/EUC-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Ext-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Ext-RKSJ-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Ext-RKSJ-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Ext-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GB-EUC-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GB-EUC-V.bcmap generated vendored Normal file

Binary file not shown.

4
frontend/node_modules/pdfjs-dist/cmaps/GB-H.bcmap generated vendored Normal file
View file

@ -0,0 +1,4 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSE!!<21>º]aX!!]`<60>21<32>> <09>p <0B>z<EFBFBD>$]<06>"Rd<E2809A>-Uƒ7<C692>*4„%<25>+ „Z „{<7B>/%…<<3C>9K…b<E280A6>1]†.<2E>" ‰`]‡,<2C>"]ˆ
<EFBFBD>"]ˆh<CB86>"]‰F<E280B0>"]Š$<24>"]<02>"]`<60>"]Œ><3E>"]<5D><1C>"]<5D>z<EFBFBD>"]ŽX<C5BD>"]<5D>6<EFBFBD>"]<5D><14>"]<5D>r<EFBFBD>"]P<E28098>"].<2E>"]“ <0C>"]“j<E2809C>"]”H<E2809D>"]•&<26>"]<04>"]b<E28093>"]—@<40>"]˜<1E>"]˜|<7C>"]™Z<E284A2>"]š8<C5A1>"]<16>"]t<E280BA>"]œR<C593>"]<5D>0<EFBFBD>"]ž<0E>"]žl<C5BE>"]ŸJ<C5B8>"] (<28>"]¡<06>"]¡d<C2A1>"]¢B<C2A2>"]£ <20>"X£~<7E>']¤W<C2A4>"]¥5<C2A5>"]¦<13>"]¦q<C2A6>"]§O<C2A7>"]¨-<2D>"]© <0B>"]©i<C2A9>"]ªG<C2AA>"]«%<25>"]¬<03>"]¬a<C2AC>"]­?<3F>"]®<1D>"]®{<7B>"]¯Y<C2AF>"]°7<C2B0>"]±<15>"]±s<C2B1>"]²Q<C2B2>"]³/<2F>"]´ <0A>"]´k<C2B4>"]µI<C2B5>"]¶'<27>"]·<05>"]·c<C2B7>"]¸A<C2B8>"]¹<1F>"]¹}<7D>"]º[<5B>"]»9

BIN
frontend/node_modules/pdfjs-dist/cmaps/GB-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBK-EUC-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBK-EUC-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBK2K-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBK2K-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBKp-EUC-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBKp-EUC-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBT-EUC-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBT-EUC-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBT-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBT-V.bcmap generated vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBpc-EUC-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/GBpc-EUC-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/HKdla-B5-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/HKdla-B5-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/HKdlb-B5-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/HKdlb-B5-V.bcmap generated vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/HKscs-B5-H.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/HKscs-B5-V.bcmap generated vendored Normal file

Binary file not shown.

BIN
frontend/node_modules/pdfjs-dist/cmaps/Hankaku.bcmap generated vendored Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more