cook-mcp-windy
Version:
HowToCook MCP Server - Intelligent Chinese recipe management and meal planning for AI assistants
438 lines • 16.5 kB
TypeScript
import { z } from 'zod';
export declare const RecipeCategory: z.ZodEnum<["水产", "早餐", "调味料", "甜品", "饮品", "荤菜", "半成品", "汤羹", "主食", "素菜"]>;
export type RecipeCategory = z.infer<typeof RecipeCategory>;
export declare const DifficultyLevel: z.ZodEnum<["简单", "中等", "困难"]>;
export type DifficultyLevel = z.infer<typeof DifficultyLevel>;
export declare const CookingMethod: z.ZodEnum<["炒", "煮", "蒸", "烤", "炸", "焖", "炖", "煎", "拌", "腌", "烧", "卤"]>;
export type CookingMethod = z.infer<typeof CookingMethod>;
export declare const Ingredient: z.ZodObject<{
name: z.ZodString;
amount: z.ZodString;
notes: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
amount: string;
notes?: string | undefined;
}, {
name: string;
amount: string;
notes?: string | undefined;
}>;
export type Ingredient = z.infer<typeof Ingredient>;
export declare const CookingStep: z.ZodObject<{
stepNumber: z.ZodNumber;
instruction: z.ZodString;
duration: z.ZodOptional<z.ZodString>;
temperature: z.ZodOptional<z.ZodString>;
tips: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}, {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}>;
export type CookingStep = z.infer<typeof CookingStep>;
export declare const NutritionalInfo: z.ZodObject<{
calories: z.ZodOptional<z.ZodNumber>;
protein: z.ZodOptional<z.ZodString>;
carbs: z.ZodOptional<z.ZodString>;
fat: z.ZodOptional<z.ZodString>;
fiber: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
}, {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
}>;
export type NutritionalInfo = z.infer<typeof NutritionalInfo>;
export declare const Recipe: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
category: z.ZodEnum<["水产", "早餐", "调味料", "甜品", "饮品", "荤菜", "半成品", "汤羹", "主食", "素菜"]>;
difficulty: z.ZodEnum<["简单", "中等", "困难"]>;
servings: z.ZodNumber;
prepTime: z.ZodString;
cookTime: z.ZodString;
totalTime: z.ZodString;
ingredients: z.ZodArray<z.ZodObject<{
name: z.ZodString;
amount: z.ZodString;
notes: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
amount: string;
notes?: string | undefined;
}, {
name: string;
amount: string;
notes?: string | undefined;
}>, "many">;
steps: z.ZodArray<z.ZodObject<{
stepNumber: z.ZodNumber;
instruction: z.ZodString;
duration: z.ZodOptional<z.ZodString>;
temperature: z.ZodOptional<z.ZodString>;
tips: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}, {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}>, "many">;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
cookingMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<["炒", "煮", "蒸", "烤", "炸", "焖", "炖", "煎", "拌", "腌", "烧", "卤"]>, "many">>;
nutritionalInfo: z.ZodOptional<z.ZodObject<{
calories: z.ZodOptional<z.ZodNumber>;
protein: z.ZodOptional<z.ZodString>;
carbs: z.ZodOptional<z.ZodString>;
fat: z.ZodOptional<z.ZodString>;
fiber: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
}, {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
}>>;
tips: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
variations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
imageUrl: z.ZodOptional<z.ZodString>;
source: z.ZodOptional<z.ZodString>;
dateAdded: z.ZodString;
lastModified: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
category: "水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜";
difficulty: "简单" | "中等" | "困难";
servings: number;
prepTime: string;
cookTime: string;
totalTime: string;
ingredients: {
name: string;
amount: string;
notes?: string | undefined;
}[];
steps: {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}[];
dateAdded: string;
lastModified: string;
tips?: string[] | undefined;
description?: string | undefined;
tags?: string[] | undefined;
cookingMethods?: ("炒" | "煮" | "蒸" | "烤" | "炸" | "焖" | "炖" | "煎" | "拌" | "腌" | "烧" | "卤")[] | undefined;
nutritionalInfo?: {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
} | undefined;
variations?: string[] | undefined;
imageUrl?: string | undefined;
source?: string | undefined;
}, {
name: string;
id: string;
category: "水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜";
difficulty: "简单" | "中等" | "困难";
servings: number;
prepTime: string;
cookTime: string;
totalTime: string;
ingredients: {
name: string;
amount: string;
notes?: string | undefined;
}[];
steps: {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}[];
dateAdded: string;
lastModified: string;
tips?: string[] | undefined;
description?: string | undefined;
tags?: string[] | undefined;
cookingMethods?: ("炒" | "煮" | "蒸" | "烤" | "炸" | "焖" | "炖" | "煎" | "拌" | "腌" | "烧" | "卤")[] | undefined;
nutritionalInfo?: {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
} | undefined;
variations?: string[] | undefined;
imageUrl?: string | undefined;
source?: string | undefined;
}>;
export type Recipe = z.infer<typeof Recipe>;
export declare const RecipeCollection: z.ZodObject<{
recipes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
category: z.ZodEnum<["水产", "早餐", "调味料", "甜品", "饮品", "荤菜", "半成品", "汤羹", "主食", "素菜"]>;
difficulty: z.ZodEnum<["简单", "中等", "困难"]>;
servings: z.ZodNumber;
prepTime: z.ZodString;
cookTime: z.ZodString;
totalTime: z.ZodString;
ingredients: z.ZodArray<z.ZodObject<{
name: z.ZodString;
amount: z.ZodString;
notes: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
amount: string;
notes?: string | undefined;
}, {
name: string;
amount: string;
notes?: string | undefined;
}>, "many">;
steps: z.ZodArray<z.ZodObject<{
stepNumber: z.ZodNumber;
instruction: z.ZodString;
duration: z.ZodOptional<z.ZodString>;
temperature: z.ZodOptional<z.ZodString>;
tips: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}, {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}>, "many">;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
cookingMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<["炒", "煮", "蒸", "烤", "炸", "焖", "炖", "煎", "拌", "腌", "烧", "卤"]>, "many">>;
nutritionalInfo: z.ZodOptional<z.ZodObject<{
calories: z.ZodOptional<z.ZodNumber>;
protein: z.ZodOptional<z.ZodString>;
carbs: z.ZodOptional<z.ZodString>;
fat: z.ZodOptional<z.ZodString>;
fiber: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
}, {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
}>>;
tips: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
variations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
imageUrl: z.ZodOptional<z.ZodString>;
source: z.ZodOptional<z.ZodString>;
dateAdded: z.ZodString;
lastModified: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
category: "水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜";
difficulty: "简单" | "中等" | "困难";
servings: number;
prepTime: string;
cookTime: string;
totalTime: string;
ingredients: {
name: string;
amount: string;
notes?: string | undefined;
}[];
steps: {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}[];
dateAdded: string;
lastModified: string;
tips?: string[] | undefined;
description?: string | undefined;
tags?: string[] | undefined;
cookingMethods?: ("炒" | "煮" | "蒸" | "烤" | "炸" | "焖" | "炖" | "煎" | "拌" | "腌" | "烧" | "卤")[] | undefined;
nutritionalInfo?: {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
} | undefined;
variations?: string[] | undefined;
imageUrl?: string | undefined;
source?: string | undefined;
}, {
name: string;
id: string;
category: "水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜";
difficulty: "简单" | "中等" | "困难";
servings: number;
prepTime: string;
cookTime: string;
totalTime: string;
ingredients: {
name: string;
amount: string;
notes?: string | undefined;
}[];
steps: {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}[];
dateAdded: string;
lastModified: string;
tips?: string[] | undefined;
description?: string | undefined;
tags?: string[] | undefined;
cookingMethods?: ("炒" | "煮" | "蒸" | "烤" | "炸" | "焖" | "炖" | "煎" | "拌" | "腌" | "烧" | "卤")[] | undefined;
nutritionalInfo?: {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
} | undefined;
variations?: string[] | undefined;
imageUrl?: string | undefined;
source?: string | undefined;
}>, "many">;
totalCount: z.ZodNumber;
categories: z.ZodArray<z.ZodEnum<["水产", "早餐", "调味料", "甜品", "饮品", "荤菜", "半成品", "汤羹", "主食", "素菜"]>, "many">;
}, "strip", z.ZodTypeAny, {
recipes: {
name: string;
id: string;
category: "水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜";
difficulty: "简单" | "中等" | "困难";
servings: number;
prepTime: string;
cookTime: string;
totalTime: string;
ingredients: {
name: string;
amount: string;
notes?: string | undefined;
}[];
steps: {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}[];
dateAdded: string;
lastModified: string;
tips?: string[] | undefined;
description?: string | undefined;
tags?: string[] | undefined;
cookingMethods?: ("炒" | "煮" | "蒸" | "烤" | "炸" | "焖" | "炖" | "煎" | "拌" | "腌" | "烧" | "卤")[] | undefined;
nutritionalInfo?: {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
} | undefined;
variations?: string[] | undefined;
imageUrl?: string | undefined;
source?: string | undefined;
}[];
totalCount: number;
categories: ("水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜")[];
}, {
recipes: {
name: string;
id: string;
category: "水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜";
difficulty: "简单" | "中等" | "困难";
servings: number;
prepTime: string;
cookTime: string;
totalTime: string;
ingredients: {
name: string;
amount: string;
notes?: string | undefined;
}[];
steps: {
stepNumber: number;
instruction: string;
duration?: string | undefined;
temperature?: string | undefined;
tips?: string | undefined;
}[];
dateAdded: string;
lastModified: string;
tips?: string[] | undefined;
description?: string | undefined;
tags?: string[] | undefined;
cookingMethods?: ("炒" | "煮" | "蒸" | "烤" | "炸" | "焖" | "炖" | "煎" | "拌" | "腌" | "烧" | "卤")[] | undefined;
nutritionalInfo?: {
calories?: number | undefined;
protein?: string | undefined;
carbs?: string | undefined;
fat?: string | undefined;
fiber?: string | undefined;
} | undefined;
variations?: string[] | undefined;
imageUrl?: string | undefined;
source?: string | undefined;
}[];
totalCount: number;
categories: ("水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜")[];
}>;
export type RecipeCollection = z.infer<typeof RecipeCollection>;
//# sourceMappingURL=recipe.d.ts.map