@hongkongkiwi/clockify-master-mcp
Version:
Clockify Master MCP - The most comprehensive Model Context Protocol server for Clockify time tracking with full API integration, advanced filtering, and enterprise features
18 lines • 711 B
TypeScript
import { ConfigurationManager } from '../config/index.js';
export declare class RestrictionMiddleware {
private config;
constructor(config: ConfigurationManager);
checkProjectAccess(projectId?: string): void;
checkWorkspaceAccess(workspaceId?: string): void;
checkOperation(operation: string): void;
checkTimeEntryDates(start: string, end?: string): void;
applyDefaults<T extends Record<string, any>>(params: T): T;
filterProjects<T extends {
id: string;
}>(projects: T[]): T[];
filterWorkspaces<T extends {
id: string;
}>(workspaces: T[]): T[];
validateToolAccess(toolName: string, params: any): void;
}
//# sourceMappingURL=restrictions.d.ts.map