UNPKG

@baruchiro/paperless-mcp

Version:

Model Context Protocol (MCP) server for interacting with Paperless-NGX document management system. Enables AI assistants to manage documents, tags, correspondents, and document types through the Paperless-NGX API.

8 lines (7 loc) 423 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.objectNotEmpty = exports.arrayNotEmpty = void 0; const arrayNotEmpty = (array) => (array === null || array === void 0 ? void 0 : array.length) ? array : undefined; exports.arrayNotEmpty = arrayNotEmpty; const objectNotEmpty = (object) => object && Object.keys(object).length ? object : undefined; exports.objectNotEmpty = objectNotEmpty;