sfcc-dev-mcp
Version:
MCP server for Salesforce B2C Commerce Cloud development assistance including logs, debugging, and development tools
37 lines • 1.56 kB
TypeScript
/**
* Constants and configuration values for log operations
*/
export declare const LOG_CONSTANTS: {
/** Default number of bytes to read from the end of large files */
readonly DEFAULT_TAIL_BYTES: number;
/** Maximum number of log files to show in listings */
readonly MAX_LOG_FILES_DISPLAY: 50;
/** Default search result limit */
readonly DEFAULT_SEARCH_LIMIT: 20;
/** Order multiplier for file priority calculation */
readonly FILE_ORDER_MULTIPLIER: 1000000;
/** Supported log levels */
readonly LOG_LEVELS: readonly ["error", "warn", "info", "debug"];
};
export declare const LOG_FILE_PATTERNS: {
/** Standard log file pattern (e.g., "error-", "warn-") */
readonly STANDARD: (level: string) => string;
/** Custom log file pattern (e.g., "customerror-", "customwarn-") */
readonly CUSTOM: (level: string) => string;
/** Job log file pattern (e.g., "Job-") */
readonly JOB: () => string;
};
export declare const JOB_LOG_CONSTANTS: {
/** Jobs folder path */
readonly JOBS_FOLDER: "/jobs/";
/** Default number of job logs to return */
readonly DEFAULT_JOB_LOG_LIMIT: 10;
/** Job log file name pattern for matching */
readonly JOB_LOG_PATTERN: RegExp;
};
export declare const LOG_MESSAGES: {
readonly NO_FILES_FOUND: (level: string, date: string, available: string) => string;
readonly NO_SEARCH_MATCHES: (pattern: string, date: string) => string;
readonly SEARCH_RESULTS: (count: number, pattern: string) => string;
};
//# sourceMappingURL=log-constants.d.ts.map