sfcc-dev-mcp
Version:
MCP server for Salesforce B2C Commerce Cloud development assistance including logs, debugging, and development tools
34 lines • 1.2 kB
TypeScript
/**
* Shared utilities for job log operations
*/
export declare class JobLogValidators {
/**
* Allowed log levels for job logs (includes 'all' for job-specific operations)
*/
static readonly ALLOWED_LEVELS: readonly ["error", "warn", "info", "debug", "all"];
/**
* Validate job log level parameter
* @param level - The level to validate
* @param toolName - Optional tool name for better error messages
*/
static validateJobLogLevel(level: string, toolName?: string): void;
/**
* Get default limit based on operation type
* @param operationType - Type of operation ('search' | 'entries' | 'files')
*/
static getDefaultLimit(operationType: 'search' | 'entries' | 'files'): number;
}
export declare class JobLogFormatters {
/**
* Format a consistent log message for job operations
* @param operation - The operation being performed
* @param params - Parameters for the operation
*/
static formatJobLogMessage(operation: string, params: {
jobName?: string;
level?: string;
limit?: number;
pattern?: string;
}): string;
}
//# sourceMappingURL=job-log-utils.d.ts.map