@edicarlos.lds/businessmap-mcp
Version:
Model Context Protocol server for BusinessMap (Kanbanize) integration
20 lines • 484 B
JavaScript
/**
* Base class for client modules with common functionality
*/
export class BaseClientModuleImpl {
http;
config;
initialize(http, config) {
this.http = http;
this.config = config;
}
/**
* Check if the module is in read-only mode
*/
checkReadOnlyMode(operation) {
if (this.config.readOnlyMode) {
throw new Error(`Cannot ${operation} in read-only mode`);
}
}
}
//# sourceMappingURL=base-client.js.map