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
1
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.drawing.d.ts
generated
vendored
Normal file
1
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.drawing.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export function _drawfill(ctx: any, source: any, area: any): void;
|
||||
14
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.helper.d.ts
generated
vendored
Normal file
14
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.helper.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* @param {PointElement[] | { x: number; y: number; }} boundary
|
||||
* @param {LineElement} line
|
||||
* @return {LineElement?}
|
||||
*/
|
||||
export function _createBoundaryLine(boundary: PointElement[] | {
|
||||
x: number;
|
||||
y: number;
|
||||
}, line: LineElement): LineElement | null;
|
||||
export function _shouldApplyFill(source: any): boolean;
|
||||
export type Chart = import('../../core/core.controller.js').default;
|
||||
export type Scale = import('../../core/core.scale.js').default;
|
||||
export type PointElement = import('../../elements/element.point.js').default;
|
||||
import { LineElement } from "../../elements/index.js";
|
||||
30
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.options.d.ts
generated
vendored
Normal file
30
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.options.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/**
|
||||
* @typedef { import('../../core/core.scale.js').default } Scale
|
||||
* @typedef { import('../../elements/element.line.js').default } LineElement
|
||||
* @typedef { import('../../types/index.js').FillTarget } FillTarget
|
||||
* @typedef { import('../../types/index.js').ComplexFillTarget } ComplexFillTarget
|
||||
*/
|
||||
export function _resolveTarget(sources: any, index: any, propagate: any): any;
|
||||
/**
|
||||
* @param {LineElement} line
|
||||
* @param {number} index
|
||||
* @param {number} count
|
||||
*/
|
||||
export function _decodeFill(line: LineElement, index: number, count: number): any;
|
||||
/**
|
||||
* @param {FillTarget | ComplexFillTarget} fill
|
||||
* @param {Scale} scale
|
||||
* @returns {number | null}
|
||||
*/
|
||||
export function _getTargetPixel(fill: FillTarget | ComplexFillTarget, scale: Scale): number | null;
|
||||
/**
|
||||
* @param {FillTarget | ComplexFillTarget} fill
|
||||
* @param {Scale} scale
|
||||
* @param {number} startValue
|
||||
* @returns {number | undefined}
|
||||
*/
|
||||
export function _getTargetValue(fill: FillTarget | ComplexFillTarget, scale: Scale, startValue: number): number | undefined;
|
||||
export type Scale = import('../../core/core.scale.js').default;
|
||||
export type LineElement = import('../../elements/element.line.js').default;
|
||||
export type FillTarget = import('../../types/index.js').FillTarget;
|
||||
export type ComplexFillTarget = import('../../types/index.js').ComplexFillTarget;
|
||||
36
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.segment.d.ts
generated
vendored
Normal file
36
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.segment.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
export function _segments(line: any, target: any, property: any): ({
|
||||
source: any;
|
||||
target: {
|
||||
property: any;
|
||||
start: any;
|
||||
end: any;
|
||||
};
|
||||
start: any;
|
||||
end: any;
|
||||
} | {
|
||||
source: {
|
||||
start: number;
|
||||
end: number;
|
||||
loop: boolean;
|
||||
style?: any;
|
||||
};
|
||||
target: {
|
||||
start: number;
|
||||
end: number;
|
||||
loop: boolean;
|
||||
style?: any;
|
||||
};
|
||||
start: {
|
||||
[x: number]: any;
|
||||
};
|
||||
end: {
|
||||
[x: number]: any;
|
||||
};
|
||||
})[];
|
||||
export function _getBounds(property: any, first: any, last: any, loop: any): {
|
||||
property: any;
|
||||
start: any;
|
||||
end: any;
|
||||
};
|
||||
export function _pointsFromSegments(boundary: any, line: any): any[];
|
||||
export function _findSegmentEnd(start: any, end: any, points: any): any;
|
||||
9
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.target.d.ts
generated
vendored
Normal file
9
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.target.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* @typedef { import('../../core/core.controller.js').default } Chart
|
||||
* @typedef { import('../../core/core.scale.js').default } Scale
|
||||
* @typedef { import('../../elements/element.point.js').default } PointElement
|
||||
*/
|
||||
export function _getTarget(source: any): any;
|
||||
export type Chart = import('../../core/core.controller.js').default;
|
||||
export type Scale = import('../../core/core.scale.js').default;
|
||||
export type PointElement = import('../../elements/element.point.js').default;
|
||||
14
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.target.stack.d.ts
generated
vendored
Normal file
14
frontend/node_modules/chart.js/dist/plugins/plugin.filler/filler.target.stack.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* @param {{ chart: Chart; scale: Scale; index: number; line: LineElement; }} source
|
||||
* @return {LineElement}
|
||||
*/
|
||||
export function _buildStackLine(source: {
|
||||
chart: Chart;
|
||||
scale: Scale;
|
||||
index: number;
|
||||
line: LineElement;
|
||||
}): LineElement;
|
||||
export type Chart = import('../../core/core.controller.js').default;
|
||||
export type Scale = import('../../core/core.scale.js').default;
|
||||
export type PointElement = import('../../elements/element.point.js').default;
|
||||
import { LineElement } from "../../elements/index.js";
|
||||
12
frontend/node_modules/chart.js/dist/plugins/plugin.filler/index.d.ts
generated
vendored
Normal file
12
frontend/node_modules/chart.js/dist/plugins/plugin.filler/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
declare namespace _default {
|
||||
const id: string;
|
||||
function afterDatasetsUpdate(chart: any, _args: any, options: any): void;
|
||||
function beforeDraw(chart: any, _args: any, options: any): void;
|
||||
function beforeDatasetsDraw(chart: any, _args: any, options: any): void;
|
||||
function beforeDatasetDraw(chart: any, args: any, options: any): void;
|
||||
namespace defaults {
|
||||
const propagate: boolean;
|
||||
const drawTime: string;
|
||||
}
|
||||
}
|
||||
export default _default;
|
||||
12
frontend/node_modules/chart.js/dist/plugins/plugin.filler/simpleArc.d.ts
generated
vendored
Normal file
12
frontend/node_modules/chart.js/dist/plugins/plugin.filler/simpleArc.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
export class simpleArc {
|
||||
constructor(opts: any);
|
||||
x: any;
|
||||
y: any;
|
||||
radius: any;
|
||||
pathSegment(ctx: any, bounds: any, opts: any): boolean;
|
||||
interpolate(point: any): {
|
||||
x: any;
|
||||
y: any;
|
||||
angle: any;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue