first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:52:23 +03:00
commit 880f412e2c
2662 changed files with 866266 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
/**
* Test data factories for MCP logs tests
*/
/**
* Sample MCP log entry data for testing
*/
export interface SampleMCPLogData {
mcpClient: string
tool: string
status: 'success' | 'error' | 'pending'
content?: string
}
/**
* Create sample MCP log search query
*/
export function createMCPLogSearchQuery(overrides: Partial<{ query: string }> = {}): string {
return overrides.query || `mcp-test-query-${Date.now()}`
}
/**
* Sample MCP clients for filtering
*/
export const SAMPLE_MCP_CLIENTS = ['test-client-1', 'test-client-2'] as const
/**
* Sample MCP tools for filtering
*/
export const SAMPLE_MCP_TOOLS = ['tool-1', 'tool-2', 'tool-3'] as const
/**
* Sample statuses for filtering
*/
export const SAMPLE_STATUSES = ['success', 'error', 'pending'] as const