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>
37 lines
No EOL
2.7 KiB
TypeScript
37 lines
No EOL
2.7 KiB
TypeScript
/*! *****************************************************************************
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
***************************************************************************** */
|
|
export declare function __extends(d: Function, b: Function): void;
|
|
export declare function __assign(t: any, ...sources: any[]): any;
|
|
export declare function __rest(t: any, propertyNames: (string | symbol)[]): any;
|
|
export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any;
|
|
export declare function __param(paramIndex: number, decorator: Function): Function;
|
|
export declare function __metadata(metadataKey: any, metadataValue: any): Function;
|
|
export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any;
|
|
export declare function __generator(thisArg: any, body: Function): any;
|
|
export declare function __exportStar(m: any, exports: any): void;
|
|
export declare function __values(o: any): any;
|
|
export declare function __read(o: any, n?: number): any[];
|
|
export declare function __spread(...args: any[][]): any[];
|
|
export declare function __spreadArrays(...args: any[][]): any[];
|
|
export declare function __await(v: any): any;
|
|
export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any;
|
|
export declare function __asyncDelegator(o: any): any;
|
|
export declare function __asyncValues(o: any): any;
|
|
export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray;
|
|
export declare function __importStar<T>(mod: T): T;
|
|
export declare function __importDefault<T>(mod: T): T | { default: T };
|
|
export declare function __classPrivateFieldGet<T extends object, V>(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V;
|
|
export declare function __classPrivateFieldSet<T extends object, V>(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V;
|
|
export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; |