Skip to main content
Glama

Chicken Business Management MCP Server

by PSYGER02
types.ts1.78 kB
export interface Sale { id: string; date: string; // ISO string items: { productId: string; name: string; quantity: number; price: number }[]; total: number; payment: number; change: number; workerId: string; workerName: string; } export interface Product { id: string; name: string; price: number; stock: number; category: string; imageUrl?: string; } export interface Worker { id:string; name: string; } export interface Expense { id: string; date: string; description: string; amount: number; workerId: string; workerName: string; } export interface Theme { name: string; id: string; category: string; } export interface ForecastDataPoint { day: string; predictedSales: number; } export interface AIInsights { insights: string[]; risks: string[]; opportunities: string[]; } export interface Note { id: string; date: string; // ISO string category: 'Delivery Note' | 'Reminder' | 'Supply Cost' | 'Internal Expense' | 'Other'; title: string; description: string; amount?: number; } export interface ParsedSaleItem { product: Product; quantity: number; } export interface ParsedSale { items: ParsedSaleItem[]; payment: number; total: number; } export interface ParsedSaleFromAI { items: { productName: string; quantity: number; }[]; payment: number; } export interface MockLLMResponse { text: string; model: 'gemini' | 'gpt-4' | 'claude-3'; error?: boolean; tokens: number; } // Static analysis example: // const mockGemini = { text: '', model: 'gemini', error: true, tokens: 0 }; // if (mockGemini.error) { // const claude = { text: 'Parsed JSON', model: 'claude-3', tokens: 150 }; // // Assert fallback success // }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PSYGER02/mcpserver'

If you have feedback or need assistance with the MCP directory API, please join our Discord server