详细说明: - 基于文旅订单班框架复制创建food-order-demo项目 - 修改端口配置为4174避免冲突 - 更新LandingPage为青莳轻食主题(绿色健康风格) - 重新定义7个食品行业专业Agent: * 市场研究专家:轻食市场分析、客群画像 * 营养配方师:营养成分配比、低卡高蛋白设计 * 供应链管理专家:有机食材供应、溯源体系 * 品牌策划师:品牌定位、店铺空间布局 * 财务分析师:投资预算、ROI分析 * 运营管理专家:运营流程、品控标准 * 食品创业导师:中央协调、方案整合 - 创建专用启动脚本start.sh - 验证系统可正常运行在端口4174 - 实现代码复用率90%,符合预期目标 影响文件: web_frontend/food-order-demo/ 技术栈: React 18 + TypeScript + Tailwind CSS + Zustand
47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
declare type Event = "created" | "cloned" | "modified" | "deleted" | "moved" | "root-changed" | "unknown";
|
|
declare type Type = "file" | "directory" | "symlink";
|
|
declare type FileChanges = {
|
|
inode: boolean;
|
|
finder: boolean;
|
|
access: boolean;
|
|
xattrs: boolean;
|
|
};
|
|
declare type Info = {
|
|
event: Event;
|
|
path: string;
|
|
type: Type;
|
|
changes: FileChanges;
|
|
flags: number;
|
|
};
|
|
declare type WatchHandler = (path: string, flags: number, id: string) => void;
|
|
export declare function watch(path: string, handler: WatchHandler): () => Promise<void>;
|
|
export declare function watch(path: string, since: number, handler: WatchHandler): () => Promise<void>;
|
|
export declare function getInfo(path: string, flags: number): Info;
|
|
export declare const constants: {
|
|
None: 0x00000000;
|
|
MustScanSubDirs: 0x00000001;
|
|
UserDropped: 0x00000002;
|
|
KernelDropped: 0x00000004;
|
|
EventIdsWrapped: 0x00000008;
|
|
HistoryDone: 0x00000010;
|
|
RootChanged: 0x00000020;
|
|
Mount: 0x00000040;
|
|
Unmount: 0x00000080;
|
|
ItemCreated: 0x00000100;
|
|
ItemRemoved: 0x00000200;
|
|
ItemInodeMetaMod: 0x00000400;
|
|
ItemRenamed: 0x00000800;
|
|
ItemModified: 0x00001000;
|
|
ItemFinderInfoMod: 0x00002000;
|
|
ItemChangeOwner: 0x00004000;
|
|
ItemXattrMod: 0x00008000;
|
|
ItemIsFile: 0x00010000;
|
|
ItemIsDir: 0x00020000;
|
|
ItemIsSymlink: 0x00040000;
|
|
ItemIsHardlink: 0x00100000;
|
|
ItemIsLastHardlink: 0x00200000;
|
|
OwnEvent: 0x00080000;
|
|
ItemCloned: 0x00400000;
|
|
};
|
|
export {};
|