Introduces modules/hospitality with 54 routes, BFF proxy, capability-gated nav, CRUD factory, and architecture validation docs. Co-authored-by: Cursor <cursoragent@cursor.com>
45 lines
1.3 KiB
TypeScript
45 lines
1.3 KiB
TypeScript
/** Hospitality module visual tokens — warm, welcoming F&B palette. */
|
|
export const hospitalityTokens = {
|
|
accent: "var(--hospitality-accent)",
|
|
accentSoft: "var(--hospitality-accent-soft)",
|
|
warm: "var(--hospitality-warm)",
|
|
success: "var(--hospitality-success)",
|
|
warning: "var(--hospitality-warning)",
|
|
danger: "var(--hospitality-danger)",
|
|
} as const;
|
|
|
|
export const venueFormatLabels: Record<string, string> = {
|
|
cafe: "کافه",
|
|
coffee_shop: "کافیشاپ",
|
|
restaurant: "رستوران",
|
|
fast_food: "فستفود",
|
|
bakery: "نانوایی",
|
|
pastry: "شیرینی",
|
|
ice_cream: "بستنی",
|
|
juice_bar: "آبمیوه",
|
|
cloud_kitchen: "آشپزخانه ابری",
|
|
food_court: "فودکورت",
|
|
catering: "کترینگ",
|
|
take_away: "بیرونبر",
|
|
other: "سایر",
|
|
};
|
|
|
|
export const lifecycleStatusLabels: Record<string, string> = {
|
|
draft: "پیشنویس",
|
|
active: "فعال",
|
|
inactive: "غیرفعال",
|
|
suspended: "معلق",
|
|
archived: "آرشیو",
|
|
};
|
|
|
|
export const lifecycleStatusTone: Record<
|
|
string,
|
|
"default" | "primary" | "success" | "warning" | "danger" | "info"
|
|
> = {
|
|
draft: "default",
|
|
active: "success",
|
|
inactive: "default",
|
|
suspended: "warning",
|
|
archived: "danger",
|
|
};
|