@aashari/mcp-server-atlassian-confluence
Version:
Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP in
69 lines (68 loc) • 1.97 kB
TypeScript
/**
* Default values for pagination across the application.
* These values should be used consistently throughout the codebase.
*/
/**
* Default page size for all list operations.
* This value determines how many items are returned in a single page by default.
*/
export declare const DEFAULT_PAGE_SIZE = 25;
/**
* Default values for page operations
*/
export declare const PAGE_DEFAULTS: {
/**
* Default body format for fetching pages
*/
BODY_FORMAT: string;
/**
* Default page size for fetching pages
*/
PAGE_SIZE: number;
/**
* Whether to include page labels by default
*/
INCLUDE_LABELS: boolean;
/**
* Whether to include page properties by default
*/
INCLUDE_PROPERTIES: boolean;
/**
* Whether to include web resources by default
*/
INCLUDE_WEBRESOURCES: boolean;
/**
* Whether to include collaborators by default
*/
INCLUDE_COLLABORATORS: boolean;
/**
* Whether to include version information by default
*/
INCLUDE_VERSION: boolean;
};
/**
* Default values for space operations
*/
export declare const SPACE_DEFAULTS: {
/**
* Whether to include description in space results
*/
INCLUDE_DESCRIPTION: boolean;
/**
* Whether to include permissions in space results
*/
INCLUDE_PERMISSIONS: boolean;
};
/**
* Apply default values to options object.
* This utility ensures that default values are consistently applied.
*
* @param options Options object that may have some values undefined
* @param defaults Default values to apply when options values are undefined
* @returns Options object with default values applied
*
* @example
* const options = applyDefaults({ limit: 10 }, { limit: DEFAULT_PAGE_SIZE, includeLabels: true });
* // Result: { limit: 10, includeLabels: true }
*/
export declare function applyDefaults<T extends object>(options: Partial<T>, defaults: Partial<T>): T;